Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001893/0.001893, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002031/0.002031, allocations: 189.4 kB / 22.22 MB, free: 5.105 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.579/1.579, allocations: 207.6 MB / 233 MB, free: 10.04 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.07083/0.07083, allocations: 14.38 MB / 299.6 MB, free: 7.484 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_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat")
translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_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.002181/0.002181, allocations: 75.89 kB / 423.5 MB, free: 36.43 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09473, allocations: 52.9 MB / 476.4 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01779/0.1125, allocations: 16.03 MB / 492.4 MB, free: 15.33 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01322/0.1257, allocations: 6.881 MB / 499.3 MB, free: 8.43 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.1286, allocations: 95.19 kB / 499.4 MB, free: 8.336 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002484/0.1311, allocations: 0.83 MB / 0.4885 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01017/0.1413, allocations: 2.661 MB / 0.4911 GB, free: 4.852 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.1453, allocations: 1.562 MB / 0.4926 GB, free: 3.289 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.008668/0.154, allocations: 5.09 MB / 0.4976 GB, free: 14.18 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.1556, allocations: 0.4957 MB / 0.4981 GB, free: 13.66 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.1591, allocations: 1.81 MB / 0.4998 GB, free: 11.84 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.1628, allocations: 1.844 MB / 0.5016 GB, free: 9.992 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001062/0.1638, allocations: 288 kB / 0.5019 GB, free: 9.711 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.1662, allocations: 0.7028 MB / 0.5026 GB, free: 9.008 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007091/0.1669, allocations: 0.6381 MB / 0.5032 GB, free: 8.367 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002244/0.1692, allocations: 1.644 MB / 0.5048 GB, free: 6.715 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006476/0.1756, allocations: 4.242 MB / 0.509 GB, free: 2.457 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1756, allocations: 0 / 0.509 GB, free: 2.457 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.423e-06/0.1756, allocations: 0 / 0.509 GB, free: 2.457 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.832e-05/0.1757, allocations: 0 / 0.509 GB, free: 2.457 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.01615/0.1919, allocations: 4.192 MB / 0.5131 GB, free: 14.21 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1919, allocations: 12.03 kB / 0.5131 GB, free: 14.2 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.1935, allocations: 422.8 kB / 0.5135 GB, free: 13.79 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/0.1978, allocations: 1.852 MB / 0.5153 GB, free: 11.87 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.198, allocations: 168.4 kB / 0.5154 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/0.1984, allocations: 227.9 kB / 0.5157 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.2028, allocations: 2.076 MB / 0.5177 GB, free: 9.336 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2028, allocations: 4 kB / 0.5177 GB, free: 9.332 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.203, allocations: 76 kB / 0.5178 GB, free: 9.258 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/0.2031, allocations: 48 kB / 0.5178 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/0.2071, allocations: 1.92 MB / 0.5197 GB, free: 7.289 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.2152/0.4223, allocations: 12.13 MB / 0.5315 GB, free: 54.59 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00386/0.4261, allocations: 1.77 MB / 0.5333 GB, free: 53.98 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.4275, allocations: 0.7416 MB / 0.534 GB, free: 53.69 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.4276, allocations: 27.52 kB / 0.534 GB, free: 53.69 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4277, allocations: 57.16 kB / 0.5341 GB, free: 53.63 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=194): time 3.997e-06/0.4277, allocations: 1.906 kB / 0.5341 GB, free: 53.63 MB / 398.1 MB
Notification: Performance of matching and sorting (n=194): time 0.01014/0.4378, allocations: 3.327 MB / 0.5373 GB, free: 52.77 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.4379, allocations: 181 kB / 0.5375 GB, free: 52.57 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.4409, allocations: 1.878 MB / 0.5393 GB, free: 51.85 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.4411, allocations: 67.92 kB / 0.5394 GB, free: 51.79 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006661/0.4418, allocations: 1.122 MB / 0.5405 GB, free: 51.05 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.4424, allocations: 0.7196 MB / 0.5412 GB, free: 50.58 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006123/0.443, allocations: 484.8 kB / 0.5416 GB, free: 50.35 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 3.409e-05/0.443, allocations: 302.5 kB / 0.5419 GB, free: 50.05 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4445, allocations: 0.8421 MB / 0.5428 GB, free: 49.73 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.4464, allocations: 1.466 MB / 0.5442 GB, free: 48.66 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.4492, allocations: 2.209 MB / 0.5463 GB, free: 47.18 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.4492, allocations: 7.938 kB / 0.5464 GB, free: 47.18 MB / 398.1 MB
Notification: Performance of matching and sorting (n=343) (initialization): time 0.008255/0.4574, allocations: 3.765 MB / 0.55 GB, free: 45.5 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4575, allocations: 11.62 kB / 0.55 GB, free: 45.5 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.4575, allocations: 19.67 kB / 0.5501 GB, free: 45.5 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.008706/0.4662, allocations: 1.822 MB / 0.5518 GB, free: 44.71 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.4682, allocations: 0.5284 MB / 0.5524 GB, free: 44.59 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.4891, allocations: 20.27 MB / 0.5721 GB, free: 23.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/0.4924, allocations: 284 kB / 0.5724 GB, free: 23.75 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.4926, allocations: 99.94 kB / 0.5725 GB, free: 23.66 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001912/0.4946, allocations: 1.077 MB / 0.5736 GB, free: 22.57 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001321/0.4959, allocations: 1.357 MB / 0.5749 GB, free: 20.96 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002263/0.4981, allocations: 2.049 MB / 0.5769 GB, free: 18.67 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.586e-06/0.4981, allocations: 11.94 kB / 0.5769 GB, free: 18.66 MB / 398.1 MB
Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005597/0.5037, allocations: 2.96 MB / 0.5798 GB, free: 15.62 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5038, allocations: 12 kB / 0.5798 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.5038, allocations: 20.09 kB / 0.5798 GB, free: 15.59 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00652/0.5103, allocations: 1.299 MB / 0.5811 GB, free: 14.27 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.5125, allocations: 0.6085 MB / 0.5817 GB, free: 13.66 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.5252, allocations: 15.56 MB / 0.5969 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/0.5281, allocations: 194.2 kB / 0.5971 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.5283, allocations: 96 kB / 0.5972 GB, free: 12.7 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.0006457/0.529, allocations: 342.7 kB / 0.5975 GB, free: 12.37 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/0.5297, allocations: 258.4 kB / 0.5977 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/0.5343, allocations: 2.099 MB / 0.5998 GB, free: 10 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.5343, allocations: 7.969 kB / 0.5998 GB, free: 9.996 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5343, allocations: 0 / 0.5998 GB, free: 9.996 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.5355, allocations: 444.4 kB / 0.6002 GB, free: 9.578 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.5358, allocations: 39.94 kB / 0.6002 GB, free: 9.539 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5371, allocations: 78.58 kB / 0.6003 GB, free: 9.465 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.5374, allocations: 157.7 kB / 0.6005 GB, free: 9.312 MB / 414.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005367/0.5428, allocations: 2.074 MB / 0.6025 GB, free: 7.266 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00466/0.5474, allocations: 2.662 MB / 0.6051 GB, free: 4.59 MB / 414.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001214/0.5486, allocations: 0.6598 MB / 0.6057 GB, free: 3.93 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.002128/0.5508, allocations: 1.214 MB / 0.6069 GB, free: 2.699 MB / 414.1 MB
Notification: Performance of Backend: time 3.81e-07/0.5508, allocations: 0 / 0.6069 GB, free: 2.699 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.01475/0.5655, allocations: 6.761 MB / 0.6135 GB, free: 11.72 MB / 430.1 MB
Notification: Performance of SimCode: time 0.01166/0.5772, allocations: 5.403 MB / 0.6188 GB, free: 6.312 MB / 430.1 MB
Notification: Performance of Templates: time 0.1196/0.6968, allocations: 52.7 MB / 0.6703 GB, free: 1.672 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660]
(rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat  -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 7.220562336966395]
Failed to read output from testmodel.py, exit status != 0:
0.7046990534290671 0.719973683 0.5409935229999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f22dfa757b0>