Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.ENTSOE.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3") translateModel(PowerGrids.Examples.ENTSOE.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 104.1 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09568/0.09568, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 51.92 kB / 394.4 MB, free: 62.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09259, allocations: 50.13 MB / 444.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase3): time 0.01339/0.106, allocations: 16.44 MB / 461 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.1203, allocations: 6.846 MB / 467.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00439/0.1247, allocations: 67.62 kB / 467.9 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.1277, allocations: 0.6915 MB / 468.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.1357, allocations: 2.347 MB / 470.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.1397, allocations: 1.43 MB / 472.3 MB, free: 36 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008154/0.1478, allocations: 5.012 MB / 477.4 MB, free: 11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.1492, allocations: 0.7484 MB / 478.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.1518, allocations: 1.38 MB / 479.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.1542, allocations: 1.535 MB / 481 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.1545, allocations: 120 kB / 481.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.156, allocations: 0.4919 MB / 481.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.1564, allocations: 453.5 kB / 482.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.1578, allocations: 1.433 MB / 483.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.1617, allocations: 3.742 MB / 487.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1617, allocations: 0 / 487.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1617, allocations: 0 / 487.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.877e-05/0.1618, allocations: 0 / 487.3 MB, free: 1.031 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.1863/0.3481, allocations: 4.107 MB / 491.4 MB, free: 48.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3481, allocations: 8 kB / 491.4 MB, free: 48.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.3498, allocations: 428 kB / 491.8 MB, free: 48.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.3529, allocations: 1.793 MB / 493.6 MB, free: 47.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3531, allocations: 168.9 kB / 493.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.3533, allocations: 225.9 kB / 494 MB, free: 47.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.3569, allocations: 2.122 MB / 496.1 MB, free: 46.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.357, allocations: 0 / 496.1 MB, free: 46.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.3572, allocations: 84.03 kB / 496.2 MB, free: 45.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/0.3573, allocations: 49.91 kB / 496.2 MB, free: 45.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.3609, allocations: 1.955 MB / 498.2 MB, free: 45.31 MB / 330.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.01319/0.3741, allocations: 11.54 MB / 0.4978 GB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.378, allocations: 2.766 MB / 0.5005 GB, free: 33.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3794, allocations: 0.8737 MB / 0.5013 GB, free: 33.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3795, allocations: 27.11 kB / 0.5013 GB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.3812, allocations: 1.119 MB / 0.5024 GB, free: 32.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=213): time 4.067e-06/0.3812, allocations: 0 / 0.5024 GB, free: 32.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=214): time 0.01382/0.395, allocations: 6.142 MB / 0.5084 GB, free: 28.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.3951, allocations: 372.1 kB / 0.5088 GB, free: 27.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.3968, allocations: 1.695 MB / 0.5104 GB, free: 25.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.3969, allocations: 73.7 kB / 0.5105 GB, free: 25.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.3975, allocations: 1.058 MB / 0.5116 GB, free: 24.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.3979, allocations: 0.7461 MB / 0.5123 GB, free: 24.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.3984, allocations: 469.5 kB / 0.5127 GB, free: 23.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.553e-05/0.3984, allocations: 305.1 kB / 0.513 GB, free: 23.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.3997, allocations: 0.8329 MB / 0.5138 GB, free: 22.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.4013, allocations: 1.38 MB / 0.5152 GB, free: 20.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.404, allocations: 2.241 MB / 0.5174 GB, free: 18.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.404, allocations: 4 kB / 0.5174 GB, free: 18.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.007034/0.4111, allocations: 3.601 MB / 0.5209 GB, free: 14.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.4111, allocations: 67.39 kB / 0.521 GB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4112, allocations: 12 kB / 0.521 GB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00836/0.4195, allocations: 1.762 MB / 0.5227 GB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.4216, allocations: 0.5227 MB / 0.5232 GB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.4427, allocations: 20.38 MB / 0.5431 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.4452, allocations: 147.5 kB / 0.5432 GB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.4454, allocations: 99.98 kB / 0.5433 GB, free: 6.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002055/0.4475, allocations: 1.095 MB / 0.5444 GB, free: 5.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001595/0.4491, allocations: 1.294 MB / 0.5457 GB, free: 3.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00272/0.4518, allocations: 2.114 MB / 0.5477 GB, free: 1.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.4518, allocations: 0 / 0.5477 GB, free: 1.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.0062/0.458, allocations: 3.112 MB / 0.5508 GB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.4581, allocations: 67.39 kB / 0.5508 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4581, allocations: 12 kB / 0.5508 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007814/0.4659, allocations: 1.464 MB / 0.5523 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.4682, allocations: 0.5383 MB / 0.5528 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.4853, allocations: 17.58 MB / 0.57 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.4876, allocations: 119.7 kB / 0.5701 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.4879, allocations: 95.98 kB / 0.5702 GB, free: 8.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 15 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re,PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0006381/0.4885, allocations: 403.8 kB / 0.5706 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/0.489, allocations: 253 kB / 0.5708 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/0.4941, allocations: 2.362 MB / 0.5731 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.4942, allocations: 7.969 kB / 0.5731 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4942, allocations: 0 / 0.5731 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.4955, allocations: 473.9 kB / 0.5736 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/0.496, allocations: 44 kB / 0.5736 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.4973, allocations: 95.64 kB / 0.5737 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.4976, allocations: 169.7 kB / 0.5739 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005712/0.5033, allocations: 2.448 MB / 0.5763 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02505/0.5284, allocations: 13.4 MB / 0.5893 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001398/0.5298, allocations: 0.7652 MB / 0.5901 GB, free: 3.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001512/0.5313, allocations: 1.103 MB / 0.5912 GB, free: 2.836 MB / 394.7 MB Notification: Performance of Backend: time 4.01e-07/0.5313, allocations: 0 / 0.5912 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.014/0.5453, allocations: 7.402 MB / 0.5984 GB, free: 11.1 MB / 410.7 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.01209/0.5575, allocations: 8.753 MB / 0.6069 GB, free: 2.215 MB / 410.7 MB Notification: Performance of Templates: time 0.2309/0.7884, allocations: 52.51 MB / 0.6582 GB, free: 136.1 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.makefile (rm -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe ; mkfifo PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe >> ../files/PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.sim & ./PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe 2>&1)