Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 195 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1937/0.1937, allocations: 16.78 MB / 306.7 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 371.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3425, allocations: 53.54 MB / 424.7 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02342/0.3659, allocations: 36.11 MB / 460.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.3792, allocations: 8.408 MB / 469.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005516/0.3847, allocations: 79.97 kB / 469.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004375/0.3892, allocations: 0.9849 MB / 470.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00912/0.3984, allocations: 3.201 MB / 473.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.4023, allocations: 1.591 MB / 475 MB, free: 4.027 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.componentPF.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.componentPF.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘bus.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘bus.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.008004/0.4103, allocations: 5.761 MB / 480.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.4134, allocations: 1.027 MB / 481.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.4178, allocations: 1.789 MB / 483.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/0.4224, allocations: 2.03 MB / 485.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.4236, allocations: 145.2 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.4274, allocations: 0.5925 MB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.4285, allocations: 0.5208 MB / 486.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005441/0.434, allocations: 1.836 MB / 488.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009372/0.4434, allocations: 5.018 MB / 493.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4434, allocations: 0 / 493.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4434, allocations: 4.969 kB / 493.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.4436, allocations: 0 / 493.8 MB, free: 11.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.02666/0.4702, allocations: 5.937 MB / 499.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4703, allocations: 9.297 kB / 499.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/0.4758, allocations: 0.8652 MB / 0.4888 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005644/0.4815, allocations: 2.089 MB / 0.4909 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.4817, allocations: 216 kB / 0.4911 GB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005472/0.4823, allocations: 269.1 kB / 0.4913 GB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004982/0.4873, allocations: 2.892 MB / 0.4942 GB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/0.4873, allocations: 11.88 kB / 0.4942 GB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.4876, allocations: 112 kB / 0.4943 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.4877, allocations: 68 kB / 0.4943 GB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.4917, allocations: 2.299 MB / 0.4966 GB, free: 1.289 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.516, allocations: 19.2 MB / 0.5153 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.5204, allocations: 2.954 MB / 0.5182 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.5219, allocations: 0.8595 MB / 0.5191 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.522, allocations: 33.98 kB / 0.5191 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.5221, allocations: 60.56 kB / 0.5192 GB, free: 8.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 4.969e-06/0.5221, allocations: 0 / 0.5192 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.01281/0.5349, allocations: 4.19 MB / 0.5232 GB, free: 4.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.535, allocations: 99.11 kB / 0.5233 GB, free: 4.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.5384, allocations: 2.346 MB / 0.5256 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004426/0.5389, allocations: 81.7 kB / 0.5257 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.54, allocations: 1.311 MB / 0.527 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.5411, allocations: 0.8931 MB / 0.5279 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/0.5429, allocations: 1.265 MB / 0.5291 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.543, allocations: 309.1 kB / 0.5294 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.5463, allocations: 1.838 MB / 0.5312 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.5501, allocations: 2.467 MB / 0.5336 GB, free: 9.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/0.5566, allocations: 3.752 MB / 0.5373 GB, free: 6.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.5566, allocations: 4 kB / 0.5373 GB, free: 6.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01305/0.5697, allocations: 6.161 MB / 0.5433 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.5698, allocations: 8 kB / 0.5433 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/0.5698, allocations: 11.98 kB / 0.5433 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006043/0.5759, allocations: 1.091 MB / 0.5444 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/0.5818, allocations: 1.373 MB / 0.5457 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.5958, allocations: 9.99 MB / 0.5555 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005967/0.6018, allocations: 463.4 kB / 0.5559 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.6029, allocations: 228 kB / 0.5561 GB, free: 2.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.6048, allocations: 0.6853 MB / 0.5568 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008818/0.6057, allocations: 296.4 kB / 0.5571 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/0.6104, allocations: 2.368 MB / 0.5594 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.6104, allocations: 11.95 kB / 0.5594 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6104, allocations: 0 / 0.5594 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/0.6122, allocations: 0.6219 MB / 0.56 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004962/0.6127, allocations: 43.94 kB / 0.56 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.6145, allocations: 83.94 kB / 0.5601 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.6149, allocations: 165.7 kB / 0.5603 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005239/0.6201, allocations: 2.421 MB / 0.5626 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004435/0.6246, allocations: 2.822 MB / 0.5654 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001092/0.6257, allocations: 0.6989 MB / 0.5661 GB, free: 7.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00217/0.6279, allocations: 1.402 MB / 0.5675 GB, free: 6.461 MB / 446.1 MB Notification: Performance of Backend: time 1.082e-06/0.6279, allocations: 4 kB / 0.5675 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01123/0.6391, allocations: 4.958 MB / 0.5723 GB, free: 1.457 MB / 446.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.01008/0.6492, allocations: 6.589 MB / 0.5787 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Templates: time 0.2585/0.9078, allocations: 45.29 MB / 0.623 GB, free: 127.8 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)