Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.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.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 183.2 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.292/1.292, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.0009938/0.0009937, allocations: 99.52 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.06108/0.06108, allocations: 14.18 MB / 330.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 47.92 kB / 394.4 MB, free: 62.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.08057, allocations: 50.14 MB / 444.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen): time 0.0132/0.09381, allocations: 16.63 MB / 461.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1066, allocations: 7.198 MB / 468.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.1103, allocations: 75.56 kB / 468.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.1133, allocations: 0.7032 MB / 469.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007749/0.1211, allocations: 2.393 MB / 471.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.1249, allocations: 1.618 MB / 473.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007135/0.1321, allocations: 5.313 MB / 478.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.1337, allocations: 0.8348 MB / 479.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.1363, allocations: 1.403 MB / 480.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.1391, allocations: 1.555 MB / 482.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007579/0.1399, allocations: 132 kB / 482.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.1419, allocations: 0.4918 MB / 482.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007274/0.1427, allocations: 465.5 kB / 483.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.1451, allocations: 1.488 MB / 484.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1929/0.3381, allocations: 4.471 MB / 489.3 MB, free: 23.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3381, allocations: 2.141 kB / 489.3 MB, free: 23.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3381, allocations: 0 / 489.3 MB, free: 23.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.3383, allocations: 0 / 489.3 MB, free: 23.63 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01275/0.351, allocations: 4.2 MB / 493.5 MB, free: 22.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.3511, allocations: 12.12 kB / 493.5 MB, free: 22.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.3529, allocations: 427.8 kB / 493.9 MB, free: 22.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.3566, allocations: 2.021 MB / 496 MB, free: 21.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.3567, allocations: 166 kB / 496.1 MB, free: 21.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.3571, allocations: 228.8 kB / 496.3 MB, free: 21.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.361, allocations: 2.194 MB / 498.5 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.3611, allocations: 1.344 kB / 498.5 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.3613, allocations: 82.03 kB / 498.6 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.3613, allocations: 50.03 kB / 498.7 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.3651, allocations: 2.052 MB / 0.489 GB, free: 21.12 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.0148/0.38, allocations: 12.38 MB / 0.5011 GB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/0.3839, allocations: 2.807 MB / 0.5038 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.3854, allocations: 0.9132 MB / 0.5047 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.3856, allocations: 27.12 kB / 0.5047 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.3875, allocations: 1.138 MB / 0.5058 GB, free: 9.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=209): time 5.871e-06/0.3875, allocations: 0 / 0.5058 GB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=210): time 0.01468/0.4022, allocations: 6.347 MB / 0.512 GB, free: 6.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.4023, allocations: 371.4 kB / 0.5124 GB, free: 5.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.4043, allocations: 1.799 MB / 0.5142 GB, free: 4.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.4045, allocations: 69.7 kB / 0.5142 GB, free: 4.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/0.4051, allocations: 1.063 MB / 0.5153 GB, free: 3.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.4056, allocations: 0.7311 MB / 0.516 GB, free: 2.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/0.4062, allocations: 489.5 kB / 0.5164 GB, free: 1.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.4063, allocations: 301.1 kB / 0.5167 GB, free: 1.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4078, allocations: 0.9228 MB / 0.5176 GB, free: 0.6484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.4097, allocations: 1.474 MB / 0.5191 GB, free: 14.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/0.4133, allocations: 2.355 MB / 0.5214 GB, free: 12.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4134, allocations: 4 kB / 0.5214 GB, free: 12.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=345) (initialization): time 0.009506/0.4229, allocations: 3.992 MB / 0.5253 GB, free: 8.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.423, allocations: 63.41 kB / 0.5253 GB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.423, allocations: 12 kB / 0.5253 GB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009585/0.4326, allocations: 1.847 MB / 0.5271 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.435, allocations: 0.5285 MB / 0.5277 GB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/0.4612, allocations: 20.54 MB / 0.5477 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/0.4639, allocations: 159.7 kB / 0.5479 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/0.4644, allocations: 99.92 kB / 0.548 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002867/0.4673, allocations: 1.216 MB / 0.5492 GB, free: 14.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00206/0.4693, allocations: 1.344 MB / 0.5505 GB, free: 13.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003469/0.4728, allocations: 2.2 MB / 0.5526 GB, free: 10.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.297e-05/0.4728, allocations: 4 kB / 0.5526 GB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=345) (initialization_lambda0): time 0.006869/0.4797, allocations: 3.148 MB / 0.5557 GB, free: 7.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.4798, allocations: 72.17 kB / 0.5558 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.4798, allocations: 12 kB / 0.5558 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/0.4869, allocations: 1.304 MB / 0.557 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.4895, allocations: 0.6026 MB / 0.5576 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.5049, allocations: 15.73 MB / 0.573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.5073, allocations: 121.1 kB / 0.5731 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.5077, allocations: 95.98 kB / 0.5732 GB, free: 4.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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,ctrlGEN.PSS.firstWashoutVsi2.integrator.local_reset,ctrlGEN.PSS.secondWashoutVsi1.integrator.local_reset,ctrlGEN.PSS.firstWashoutVsi1.integrator.local_reset,ctrlGEN.AVR.firstOrderLim.I.local_reset,ctrlGEN.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 (286): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0007606/0.5085, allocations: 408 kB / 0.5736 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/0.5091, allocations: 249 kB / 0.5738 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/0.5144, allocations: 2.437 MB / 0.5762 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.5144, allocations: 7.969 kB / 0.5762 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5144, allocations: 2.734 kB / 0.5762 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.5156, allocations: 0.5018 MB / 0.5767 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005071/0.5161, allocations: 48 kB / 0.5768 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.518, allocations: 95.62 kB / 0.5768 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/0.5185, allocations: 161.7 kB / 0.577 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008597/0.5271, allocations: 2.54 MB / 0.5795 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0296/0.5567, allocations: 14.55 MB / 0.5937 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00171/0.5584, allocations: 0.8199 MB / 0.5945 GB, free: 14.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001958/0.5604, allocations: 1.174 MB / 0.5956 GB, free: 13.22 MB / 426.7 MB Notification: Performance of Backend: time 5.91e-07/0.5604, allocations: 0 / 0.5956 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01538/0.5758, allocations: 7.274 MB / 0.6027 GB, free: 5.777 MB / 426.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.01462/0.5905, allocations: 8.894 MB / 0.6114 GB, free: 12.79 MB / 442.7 MB Notification: Performance of Templates: time 0.3303/0.9208, allocations: 55.78 MB / 0.6659 GB, free: 148.4 MB / 458.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.pipe 2>&1)