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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
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.07919/0.07919, allocations: 16.93 MB / 323.2 MB, free: 8.082 MB / 254.1 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.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.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 0.001935/0.001935, allocations: 71.88 kB / 452 MB, free: 8.695 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 56.56 MB / 0.4966 GB, free: 24 kB / 366.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GEN.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value.
Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.01158/0.1169, allocations: 10.81 MB / 0.5072 GB, free: 5.156 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005713/0.1226, allocations: 3.779 MB / 0.5109 GB, free: 1.363 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.123, allocations: 31.75 kB / 0.5109 GB, free: 1.332 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000856/0.1238, allocations: 318.2 kB / 0.5112 GB, free: 1.02 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.1861/0.3099, allocations: 1.201 MB / 0.5124 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3106, allocations: 275.9 kB / 0.5127 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001056/0.3117, allocations: 1.171 MB / 0.5138 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.312, allocations: 169.5 kB / 0.514 GB, free: 11.52 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.3123, allocations: 423.2 kB / 0.5144 GB, free: 11.52 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.3127, allocations: 430.1 kB / 0.5148 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.817e-05/0.3128, allocations: 48.28 kB / 0.5148 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.3133, allocations: 250.9 kB / 0.5151 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.3133, allocations: 123.6 kB / 0.5152 GB, free: 11.42 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.3136, allocations: 380.9 kB / 0.5156 GB, free: 11.32 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.3145, allocations: 0.955 MB / 0.5165 GB, free: 11.18 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3145, allocations: 0.5625 kB / 0.5165 GB, free: 11.18 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.193e-06/0.3145, allocations: 0 / 0.5165 GB, free: 11.18 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.734e-06/0.3145, allocations: 1.375 kB / 0.5165 GB, free: 11.18 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 105
 * Number of variables: 105
Notification: Performance of Generate backend data structure: time 0.002487/0.317, allocations: 1.093 MB / 0.5176 GB, free: 10.64 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.317, allocations: 14.62 kB / 0.5176 GB, free: 10.64 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.3173, allocations: 105.3 kB / 0.5177 GB, free: 10.59 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.3181, allocations: 496.6 kB / 0.5181 GB, free: 10.39 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.3181, allocations: 38.75 kB / 0.5182 GB, free: 10.39 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.3182, allocations: 49.83 kB / 0.5182 GB, free: 10.39 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.3188, allocations: 0.5235 MB / 0.5187 GB, free: 10.17 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3188, allocations: 4.109 kB / 0.5187 GB, free: 10.17 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.3189, allocations: 22.5 kB / 0.5188 GB, free: 10.17 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3189, allocations: 11.84 kB / 0.5188 GB, free: 10.17 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.3194, allocations: 377 kB / 0.5191 GB, free: 10.16 MB / 382.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.002935/0.3224, allocations: 3.835 MB / 0.5229 GB, free: 7.207 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.3229, allocations: 319.5 kB / 0.5232 GB, free: 7.176 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3231, allocations: 129.2 kB / 0.5233 GB, free: 7.168 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3231, allocations: 8.828 kB / 0.5233 GB, free: 7.168 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3232, allocations: 40.97 kB / 0.5234 GB, free: 7.125 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.3232, allocations: 0 / 0.5234 GB, free: 7.125 MB / 382.1 MB
Notification: Performance of matching and sorting (n=41): time 0.002191/0.3254, allocations: 0.7418 MB / 0.5241 GB, free: 7.023 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 1.539e-05/0.3254, allocations: 56.33 kB / 0.5241 GB, free: 6.961 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.3259, allocations: 0.5369 MB / 0.5247 GB, free: 6.828 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3259, allocations: 39.33 kB / 0.5247 GB, free: 6.797 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3261, allocations: 305 kB / 0.525 GB, free: 6.637 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.3262, allocations: 162.8 kB / 0.5251 GB, free: 6.531 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3264, allocations: 140.3 kB / 0.5253 GB, free: 6.512 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 8.06e-05/0.3264, allocations: 368 kB / 0.5256 GB, free: 6.199 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3267, allocations: 160.3 kB / 0.5258 GB, free: 6.199 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.3271, allocations: 391.2 kB / 0.5262 GB, free: 5.934 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.3277, allocations: 0.5667 MB / 0.5267 GB, free: 5.668 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3277, allocations: 1.469 kB / 0.5267 GB, free: 5.668 MB / 382.1 MB
Notification: Performance of matching and sorting (n=87) (initialization): time 0.001512/0.3292, allocations: 0.7953 MB / 0.5275 GB, free: 5.547 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3292, allocations: 7.438 kB / 0.5275 GB, free: 5.547 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3292, allocations: 11.09 kB / 0.5275 GB, free: 5.543 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.3314, allocations: 384 kB / 0.5279 GB, free: 5.516 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.3319, allocations: 138 kB / 0.528 GB, free: 5.516 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.3362, allocations: 4.899 MB / 0.5328 GB, free: 1.328 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.3369, allocations: 76.42 kB / 0.5329 GB, free: 1.281 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.3369, allocations: 30.69 kB / 0.5329 GB, free: 1.277 MB / 382.1 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 (bus.isSlackBusPF,GEN.isSlackBus)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (77):
 * Single equations (assignments): 74
 * 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.0002308/0.3371, allocations: 204.7 kB / 0.5331 GB, free: 1.109 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3372, allocations: 61.55 kB / 0.5331 GB, free: 1.078 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.3382, allocations: 0.4978 MB / 0.5336 GB, free: 0.8516 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3383, allocations: 3.422 kB / 0.5336 GB, free: 0.8516 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3383, allocations: 0 / 0.5336 GB, free: 0.8516 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.3385, allocations: 112.2 kB / 0.5337 GB, free: 0.7773 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.3385, allocations: 7.734 kB / 0.5337 GB, free: 0.7734 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.3389, allocations: 14.77 kB / 0.5338 GB, free: 0.7695 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.339, allocations: 39.62 kB / 0.5338 GB, free: 0.7656 MB / 382.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001052/0.3401, allocations: 0.5316 MB / 0.5343 GB, free: 0.5117 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007453/0.3408, allocations: 0.6775 MB / 0.535 GB, free: 108 kB / 382.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001992/0.341, allocations: 126.3 kB / 0.5351 GB, free: 56 kB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.000474/0.3415, allocations: 370.2 kB / 0.5355 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of Backend: time 4.11e-07/0.3415, allocations: 0 / 0.5355 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.002231/0.3437, allocations: 0.989 MB / 0.5364 GB, free: 15.32 MB / 398.1 MB
Notification: Performance of SimCode: time 0.002152/0.3459, allocations: 1.661 MB / 0.538 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of Templates: time 0.01987/0.3657, allocations: 10.39 MB / 0.5482 GB, free: 10.53 MB / 398.1 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.717491099610925]
Failed to read output from testmodel.py, exit status != 0:
0.3735865540802479 0.386703662 0.06932965
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3ccf4dd7b0>