Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.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.00138/0.00138, allocations: 111.2 kB / 19.7 MB, free: 2.191 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.001439/0.001439, allocations: 191.8 kB / 22.99 MB, free: 5.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 207.6 MB / 233.8 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06833/0.06833, allocations: 14.38 MB / 300.4 MB, free: 7.473 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 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.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat")
translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 67.89 kB / 424.2 MB, free: 36.41 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.0948, allocations: 52.9 MB / 477.1 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01906/0.1139, allocations: 16.03 MB / 493.2 MB, free: 15.32 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0139/0.1278, allocations: 6.885 MB / 0.4883 GB, free: 8.418 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/0.1315, allocations: 95.19 kB / 0.4884 GB, free: 8.324 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003147/0.1347, allocations: 0.8378 MB / 0.4892 GB, free: 7.48 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.008871/0.1435, allocations: 2.651 MB / 0.4918 GB, free: 4.836 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004343/0.1479, allocations: 1.558 MB / 0.4934 GB, free: 3.281 MB / 366.1 MB
[/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2668:11-2668:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section)
Notification: Performance of NFFlatten.flatten: time 0.008296/0.1562, allocations: 5.095 MB / 0.4983 GB, free: 14.17 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.1577, allocations: 0.4918 MB / 0.4988 GB, free: 13.65 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.1613, allocations: 1.81 MB / 0.5006 GB, free: 11.84 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.1649, allocations: 1.844 MB / 0.5024 GB, free: 9.984 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001094/0.166, allocations: 288 kB / 0.5026 GB, free: 9.703 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.1687, allocations: 0.7106 MB / 0.5033 GB, free: 8.992 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001065/0.1698, allocations: 0.6264 MB / 0.504 GB, free: 8.363 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003046/0.1728, allocations: 1.652 MB / 0.5056 GB, free: 6.703 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007837/0.1807, allocations: 4.238 MB / 0.5097 GB, free: 2.449 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1807, allocations: 3.938 kB / 0.5097 GB, free: 2.445 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.104e-06/0.1807, allocations: 0 / 0.5097 GB, free: 2.445 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.904e-05/0.1808, allocations: 0 / 0.5097 GB, free: 2.445 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: 507
 * Number of variables: 507
Notification: Performance of Generate backend data structure: time 0.01515/0.1959, allocations: 4.2 MB / 0.5138 GB, free: 14.19 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.196, allocations: 8.031 kB / 0.5138 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.1976, allocations: 422.8 kB / 0.5142 GB, free: 13.77 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/0.2018, allocations: 1.86 MB / 0.516 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.2019, allocations: 164.4 kB / 0.5162 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.2023, allocations: 219.9 kB / 0.5164 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/0.2064, allocations: 2.076 MB / 0.5184 GB, free: 9.324 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.2064, allocations: 0 / 0.5184 GB, free: 9.324 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.2066, allocations: 80 kB / 0.5185 GB, free: 9.246 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.2067, allocations: 48 kB / 0.5186 GB, free: 9.199 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/0.2106, allocations: 1.916 MB / 0.5204 GB, free: 7.281 MB / 398.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.2257/0.4363, allocations: 12.13 MB / 0.5323 GB, free: 54.66 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.4401, allocations: 1.761 MB / 0.534 GB, free: 54.05 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.4414, allocations: 0.7422 MB / 0.5347 GB, free: 53.76 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.4415, allocations: 30.47 kB / 0.5347 GB, free: 53.75 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4415, allocations: 58.77 kB / 0.5348 GB, free: 53.7 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=194): time 4.959e-06/0.4415, allocations: 0 / 0.5348 GB, free: 53.7 MB / 398.1 MB
Notification: Performance of matching and sorting (n=194): time 0.01085/0.4524, allocations: 3.328 MB / 0.5381 GB, free: 52.83 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.4525, allocations: 179.6 kB / 0.5382 GB, free: 52.63 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.4559, allocations: 1.881 MB / 0.5401 GB, free: 51.91 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.4561, allocations: 66.98 kB / 0.5401 GB, free: 51.84 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007011/0.4568, allocations: 1.119 MB / 0.5412 GB, free: 51.11 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.4574, allocations: 0.7181 MB / 0.5419 GB, free: 50.64 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006527/0.4581, allocations: 486 kB / 0.5424 GB, free: 50.41 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 4.547e-05/0.4581, allocations: 308.3 kB / 0.5427 GB, free: 50.11 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.4597, allocations: 0.8366 MB / 0.5435 GB, free: 49.79 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.4616, allocations: 1.466 MB / 0.5449 GB, free: 48.72 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.4645, allocations: 2.216 MB / 0.5471 GB, free: 47.23 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.4645, allocations: 3.969 kB / 0.5471 GB, free: 47.23 MB / 398.1 MB
Notification: Performance of matching and sorting (n=343) (initialization): time 0.008377/0.4729, allocations: 3.761 MB / 0.5508 GB, free: 45.58 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.473, allocations: 13.56 kB / 0.5508 GB, free: 45.58 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.473, allocations: 16.03 kB / 0.5508 GB, free: 45.58 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.008951/0.4819, allocations: 1.828 MB / 0.5526 GB, free: 44.78 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.4841, allocations: 0.5289 MB / 0.5531 GB, free: 44.66 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.5071, allocations: 20.27 MB / 0.5729 GB, free: 24 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.5103, allocations: 278.7 kB / 0.5732 GB, free: 23.77 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004793/0.5108, allocations: 104 kB / 0.5733 GB, free: 23.67 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002535/0.5133, allocations: 1.074 MB / 0.5743 GB, free: 22.59 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001659/0.515, allocations: 1.356 MB / 0.5756 GB, free: 20.98 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002782/0.5178, allocations: 2.056 MB / 0.5776 GB, free: 18.68 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.211e-05/0.5178, allocations: 7.938 kB / 0.5776 GB, free: 18.68 MB / 398.1 MB
Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006135/0.5239, allocations: 2.956 MB / 0.5805 GB, free: 15.64 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5239, allocations: 22.36 kB / 0.5806 GB, free: 15.62 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.5239, allocations: 16 kB / 0.5806 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/0.5306, allocations: 1.297 MB / 0.5818 GB, free: 14.29 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.5329, allocations: 0.6046 MB / 0.5824 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.5463, allocations: 15.55 MB / 0.5976 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.549, allocations: 195.9 kB / 0.5978 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/0.5494, allocations: 100 kB / 0.5979 GB, free: 12.72 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 71
 * Number of states: 0 ()
 * Number of discrete variables: 5 (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 (286):
 * Single equations (assignments): 275
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0008881/0.5503, allocations: 347.9 kB / 0.5982 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009262/0.5512, allocations: 262.4 kB / 0.5985 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/0.5566, allocations: 2.085 MB / 0.6005 GB, free: 10.03 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.5566, allocations: 7.969 kB / 0.6005 GB, free: 10.02 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5566, allocations: 0 / 0.6005 GB, free: 10.02 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.5582, allocations: 445.9 kB / 0.601 GB, free: 9.602 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005671/0.5587, allocations: 39.94 kB / 0.601 GB, free: 9.562 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.5606, allocations: 79.91 kB / 0.6011 GB, free: 9.484 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.5609, allocations: 157.7 kB / 0.6012 GB, free: 9.332 MB / 414.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006215/0.5671, allocations: 2.077 MB / 0.6032 GB, free: 7.281 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02966/0.5968, allocations: 12.77 MB / 0.6157 GB, free: 10.39 MB / 430.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001479/0.5982, allocations: 0.6553 MB / 0.6164 GB, free: 9.742 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.002287/0.6005, allocations: 1.21 MB / 0.6175 GB, free: 8.516 MB / 430.1 MB
Notification: Performance of Backend: time 7.71e-07/0.6005, allocations: 0 / 0.6175 GB, free: 8.516 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.01673/0.6173, allocations: 6.779 MB / 0.6242 GB, free: 1.512 MB / 430.1 MB
Notification: Performance of SimCode: time 0.01219/0.6294, allocations: 7.668 MB / 0.6316 GB, free: 9.785 MB / 446.1 MB
Notification: Performance of Templates: time 0.1092/0.7386, allocations: 57.16 MB / 0.6875 GB, free: 0.7148 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660]
(rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat  -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 7.5486288936808705]
Failed to read output from testmodel.py, exit status != 0:
0.7474841363728046 0.763360142 0.579247457
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6ed933d7b0>