Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9236/0.9236, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04665/0.04665, allocations: 12.97 MB / 272.9 MB, free: 484 kB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 347.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.628e-05, allocations: 2.312 kB / 347.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.006824/0.006841, allocations: 10.53 MB / 357.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.01109, allocations: 3.671 MB / 361.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.01167, allocations: 27.75 kB / 361.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.01245, allocations: 298.1 kB / 361.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.014, allocations: 1.193 MB / 362.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.01442, allocations: 259.5 kB / 363 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.01551, allocations: 1.287 MB / 364.3 MB, free: 228 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.01592, allocations: 281.3 kB / 364.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.01657, allocations: 0.6196 MB / 365.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.01692, allocations: 335 kB / 365.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.01698, allocations: 44 kB / 365.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.01739, allocations: 251.6 kB / 365.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.01746, allocations: 119.4 kB / 366 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.01764, allocations: 259.2 kB / 366.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.01835, allocations: 0.6578 MB / 366.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01836, allocations: 0 / 366.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01836, allocations: 3.938 kB / 366.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.01836, allocations: 0 / 366.9 MB, free: 13.67 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0016/0.01996, allocations: 1.188 MB / 368.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.02, allocations: 8.031 kB / 368.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.02028, allocations: 136.4 kB / 368.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.02078, allocations: 482.9 kB / 368.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.0208, allocations: 37.38 kB / 368.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.02086, allocations: 48.38 kB / 368.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.02134, allocations: 0.5813 MB / 369.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.02135, allocations: 8 kB / 369.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.02138, allocations: 23.94 kB / 369.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.02139, allocations: 12 kB / 369.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.02168, allocations: 237.5 kB / 369.6 MB, free: 10.75 MB / 298.7 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.002088/0.02377, allocations: 3.674 MB / 373.3 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.02412, allocations: 254.5 kB / 373.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.02422, allocations: 95.58 kB / 373.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.02424, allocations: 11.98 kB / 373.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.02427, allocations: 41.39 kB / 373.7 MB, free: 6.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.02427, allocations: 0 / 373.7 MB, free: 6.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.001183/0.02545, allocations: 0.6213 MB / 374.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.02547, allocations: 59.19 kB / 374.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.02588, allocations: 0.5376 MB / 374.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.02591, allocations: 33.7 kB / 374.9 MB, free: 5.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.02613, allocations: 360.6 kB / 375.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.02621, allocations: 158.6 kB / 375.4 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.02633, allocations: 143.9 kB / 375.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.02646, allocations: 0.5352 MB / 376.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.02658, allocations: 97.23 kB / 376.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.02682, allocations: 444.6 kB / 376.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.02736, allocations: 0.5253 MB / 377.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.02737, allocations: 0 / 377.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008735/0.02824, allocations: 0.6716 MB / 377.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.02826, allocations: 8 kB / 377.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.02827, allocations: 4 kB / 377.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.02948, allocations: 450.8 kB / 378.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.02972, allocations: 119.8 kB / 378.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.0331, allocations: 5.959 MB / 384.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.03344, allocations: 80.97 kB / 384.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.03347, allocations: 35.92 kB / 384.5 MB, free: 10.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (GEN.isSlackBus,GEN.isReferenceBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.03363, allocations: 204.3 kB / 384.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.0337, allocations: 71.62 kB / 384.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.03421, allocations: 403 kB / 385.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.03421, allocations: 0 / 385.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03421, allocations: 0 / 385.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.03435, allocations: 115.4 kB / 385.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.03439, allocations: 8 kB / 385.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.03456, allocations: 15.98 kB / 385.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.03462, allocations: 43.81 kB / 385.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000528/0.03514, allocations: 468.4 kB / 385.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004357/0.03558, allocations: 0.6335 MB / 386.4 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001012/0.03568, allocations: 91.56 kB / 386.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.0359, allocations: 350.8 kB / 386.9 MB, free: 8.527 MB / 314.7 MB Notification: Performance of Backend: time 3.3e-07/0.0359, allocations: 0 / 386.9 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.03742, allocations: 1.131 MB / 388 MB, free: 7.336 MB / 314.7 MB Notification: Performance of SimCode: time 0.001586/0.039, allocations: 1.827 MB / 389.8 MB, free: 5.461 MB / 314.7 MB Notification: Performance of Templates: time 0.0131/0.05211, allocations: 11.61 MB / 401.4 MB, free: 9.965 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.830055203754455]