Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.001831/0.001831, 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/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.454/1.454, allocations: 225.6 MB / 247.7 MB, free: 13.45 MB / 206.1 MB
"
[Timeout remaining time 178]
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.001503/0.001503, allocations: 187.1 kB / 303.1 MB, free: 8.715 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4554/0.4554, allocations: 79.72 MB / 438.1 MB, free: 5.352 MB / 302.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII")
translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.584 GB, free: 8.043 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1562, allocations: 72.14 MB / 0.6544 GB, free: 15.8 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.00812/0.1643, allocations: 6.598 MB / 0.6609 GB, free: 9.168 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004791/0.1691, allocations: 1.99 MB / 0.6628 GB, free: 7.176 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008176/0.1699, allocations: 11.94 kB / 0.6628 GB, free: 7.164 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.1708, allocations: 249.9 kB / 0.663 GB, free: 6.918 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002468/0.1732, allocations: 0.8483 MB / 0.6639 GB, free: 6.07 MB / 462.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions.
Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1749, allocations: 0.6408 MB / 0.6645 GB, free: 5.434 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002479/0.1773, allocations: 1.612 MB / 0.6661 GB, free: 3.816 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.1778, allocations: 230.9 kB / 0.6663 GB, free: 3.574 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.1793, allocations: 0.673 MB / 0.667 GB, free: 2.898 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1805, allocations: 0.8479 MB / 0.6678 GB, free: 2.047 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.1807, allocations: 123.9 kB / 0.6679 GB, free: 1.926 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.1814, allocations: 259.9 kB / 0.6681 GB, free: 1.672 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000393/0.1818, allocations: 326.6 kB / 0.6685 GB, free: 1.352 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007436/0.1825, allocations: 0.6719 MB / 0.6691 GB, free: 0.6758 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002521/0.1851, allocations: 1.669 MB / 0.6707 GB, free: 15 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1851, allocations: 3.938 kB / 0.6707 GB, free: 15 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.1851, allocations: 0 / 0.6707 GB, free: 15 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 2.128e-05/0.1851, allocations: 4 kB / 0.6708 GB, free: 14.99 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 190
 * Number of variables: 190
Notification: Performance of Generate backend data structure: time 0.01095/0.196, allocations: 2.791 MB / 0.6735 GB, free: 12.15 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.929e-05/0.1961, allocations: 8.031 kB / 0.6735 GB, free: 12.14 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.2016, allocations: 0.7874 MB / 0.6743 GB, free: 11.35 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.2035, allocations: 0.8306 MB / 0.6751 GB, free: 10.48 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.2039, allocations: 256.2 kB / 0.6753 GB, free: 10.19 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.2041, allocations: 88 kB / 0.6754 GB, free: 10.1 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.2065, allocations: 1.09 MB / 0.6765 GB, free: 9 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2065, allocations: 0 / 0.6765 GB, free: 9 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/0.2066, allocations: 32 kB / 0.6765 GB, free: 8.969 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.2066, allocations: 16 kB / 0.6765 GB, free: 8.953 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.2088, allocations: 0.9877 MB / 0.6775 GB, free: 7.965 MB / 478.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.007866/0.2167, allocations: 3.755 MB / 0.6811 GB, free: 4.043 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007824/0.2245, allocations: 2 MB / 0.6831 GB, free: 2.02 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.2262, allocations: 0.6137 MB / 0.6837 GB, free: 1.402 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2263, allocations: 16.97 kB / 0.6837 GB, free: 1.387 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.2281, allocations: 0.8294 MB / 0.6845 GB, free: 0.5352 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.2281, allocations: 0 / 0.6845 GB, free: 0.5352 MB / 478.1 MB
Notification: Performance of matching and sorting (n=96): time 0.0307/0.2588, allocations: 6.901 MB / 0.6913 GB, free: 9.609 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.2589, allocations: 123.7 kB / 0.6914 GB, free: 9.465 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.2611, allocations: 1.075 MB / 0.6924 GB, free: 8.375 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.2615, allocations: 53.69 kB / 0.6925 GB, free: 8.316 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005464/0.262, allocations: 0.4897 MB / 0.6929 GB, free: 7.82 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006913/0.2627, allocations: 376.9 kB / 0.6933 GB, free: 7.449 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008647/0.2636, allocations: 283.5 kB / 0.6936 GB, free: 7.168 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001437/0.2637, allocations: 305.1 kB / 0.6939 GB, free: 6.867 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.2657, allocations: 0.7652 MB / 0.6946 GB, free: 6.102 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.2677, allocations: 0.9343 MB / 0.6955 GB, free: 5.125 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.4101/0.6778, allocations: 5.561 MB / 0.701 GB, free: 42.35 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.6778, allocations: 1.297 kB / 0.701 GB, free: 42.35 MB / 494.1 MB
Notification: Performance of matching and sorting (n=196) (initialization): time 0.01567/0.6935, allocations: 4.326 MB / 0.7052 GB, free: 42.17 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.6936, allocations: 59.28 kB / 0.7052 GB, free: 42.11 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.6936, allocations: 3.719 kB / 0.7052 GB, free: 42.11 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/0.7, allocations: 1.504 MB / 0.7067 GB, free: 42.1 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.7018, allocations: 300.1 kB / 0.707 GB, free: 42.09 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/0.7235, allocations: 8.188 MB / 0.715 GB, free: 38.43 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.7255, allocations: 202 kB / 0.7152 GB, free: 38.4 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.7257, allocations: 60.53 kB / 0.7152 GB, free: 38.39 MB / 494.1 MB
Warning: Assuming fixed start value for the following 4 variables:
         order4.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
         order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
         order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true )  \"q-axis transient voltage\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (166):
 * Single equations (assignments): 163
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(18,13,25.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0006599/0.7264, allocations: 296.9 kB / 0.7155 GB, free: 38.14 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.7266, allocations: 136.8 kB / 0.7157 GB, free: 38.07 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.74, allocations: 3.836 MB / 0.7194 GB, free: 37.16 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.74, allocations: 14.69 kB / 0.7194 GB, free: 37.15 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.74, allocations: 6.938 kB / 0.7194 GB, free: 37.15 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.7401, allocations: 11.22 kB / 0.7194 GB, free: 37.15 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01509/0.7552, allocations: 5.4 MB / 0.7247 GB, free: 34.85 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.7552, allocations: 3.938 kB / 0.7247 GB, free: 34.85 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.7559, allocations: 102.3 kB / 0.7248 GB, free: 34.83 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005875/0.7617, allocations: 1.598 MB / 0.7264 GB, free: 34.13 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.762, allocations: 30.94 kB / 0.7264 GB, free: 34.11 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.7815, allocations: 9.417 MB / 0.7356 GB, free: 27.68 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7815, allocations: 0 / 0.7356 GB, free: 27.68 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.7959, allocations: 4.714 MB / 0.7402 GB, free: 23.52 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.7964, allocations: 156.3 kB / 0.7404 GB, free: 23.39 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/0.7969, allocations: 31.19 kB / 0.7404 GB, free: 23.36 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.7985, allocations: 103.9 kB / 0.7405 GB, free: 23.26 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006543/0.7991, allocations: 211.7 kB / 0.7407 GB, free: 23.05 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.7992, allocations: 24 kB / 0.7407 GB, free: 23.03 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.001185/0.8004, allocations: 0.7313 MB / 0.7414 GB, free: 22.29 MB / 494.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.8004, allocations: 0 / 0.7414 GB, free: 22.29 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.001928/0.8024, allocations: 476.9 kB / 0.7419 GB, free: 21.84 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state)
 * Number of discrete variables: 2 ($whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (64):
 * Single equations (assignments): 61
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(21,11,21.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,6)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/0.8027, allocations: 133.4 kB / 0.742 GB, free: 21.7 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.006184/0.8089, allocations: 2.368 MB / 0.7443 GB, free: 19.3 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8089, allocations: 0 / 0.7443 GB, free: 19.3 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0043/0.8132, allocations: 1.546 MB / 0.7458 GB, free: 17.71 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.8146, allocations: 117.2 kB / 0.7459 GB, free: 17.61 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.8189, allocations: 2.294 MB / 0.7482 GB, free: 15.32 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.8194, allocations: 1.124 MB / 0.7493 GB, free: 14.17 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0005068/0.82, allocations: 122.7 kB / 0.7494 GB, free: 14.05 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.8203, allocations: 79.41 kB / 0.7495 GB, free: 13.97 MB / 494.1 MB
Notification: Performance of SimCode: time 1.352e-06/0.8203, allocations: 0 / 0.7495 GB, free: 13.97 MB / 494.1 MB
Notification: Performance of Templates: time 0.04241/0.8627, allocations: 24.84 MB / 0.7737 GB, free: 5.184 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.803701160475612]
Failed to read output from testmodel.py, exit status != 0:
0.8720617983490229 0.888463201 0.7001733529999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f28f0df57b0>