Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001347/0.001347, 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.438/1.438, allocations: 225.6 MB / 247.7 MB, free: 13.42 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.001691/0.001691, allocations: 186.9 kB / 303.1 MB, free: 8.652 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5536/0.5536, allocations: 99.66 MB / 458 MB, free: 4.004 MB / 318.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete")
translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003588/0.003588, allocations: 79.88 kB / 0.6129 GB, free: 6.566 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.172, allocations: 76.98 MB / 0.6881 GB, free: 9.418 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007847/0.1798, allocations: 6.252 MB / 0.6942 GB, free: 3.129 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004139/0.184, allocations: 1.892 MB / 0.6961 GB, free: 1.23 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.1845, allocations: 8 kB / 0.6961 GB, free: 1.223 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.185, allocations: 206.1 kB / 0.6963 GB, free: 1.02 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001994/0.187, allocations: 0.8121 MB / 0.6971 GB, free: 212 kB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.2662/0.4532, allocations: 0.579 MB / 0.6976 GB, free: 10.16 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001816/0.455, allocations: 1.386 MB / 0.699 GB, free: 10.16 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.4553, allocations: 200.3 kB / 0.6992 GB, free: 10.12 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.4559, allocations: 0.602 MB / 0.6998 GB, free: 10.02 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.4566, allocations: 0.7618 MB / 0.7005 GB, free: 9.875 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.4568, allocations: 103.9 kB / 0.7006 GB, free: 9.875 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.4573, allocations: 250.3 kB / 0.7009 GB, free: 9.875 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.4575, allocations: 288.7 kB / 0.7011 GB, free: 9.824 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.4579, allocations: 0.6091 MB / 0.7017 GB, free: 9.629 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00135/0.4592, allocations: 1.5 MB / 0.7032 GB, free: 9.371 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4592, allocations: 2.188 kB / 0.7032 GB, free: 9.371 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.4592, allocations: 1 kB / 0.7032 GB, free: 9.371 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 2.459e-05/0.4592, allocations: 1.266 kB / 0.7032 GB, free: 9.371 MB / 494.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 178
 * Number of variables: 178
Notification: Performance of Generate backend data structure: time 0.008071/0.4673, allocations: 2.452 MB / 0.7056 GB, free: 8.562 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4673, allocations: 12.95 kB / 0.7056 GB, free: 8.559 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.4724, allocations: 0.7691 MB / 0.7064 GB, free: 8.469 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.4736, allocations: 0.7477 MB / 0.7071 GB, free: 8.152 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.4739, allocations: 264.5 kB / 0.7073 GB, free: 7.953 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.474, allocations: 73.97 kB / 0.7074 GB, free: 7.953 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.4763, allocations: 1.17 MB / 0.7085 GB, free: 7.648 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4763, allocations: 3.812 kB / 0.7086 GB, free: 7.648 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.812e-05/0.4764, allocations: 27.81 kB / 0.7086 GB, free: 7.629 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.4764, allocations: 17 kB / 0.7086 GB, free: 7.629 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.4783, allocations: 0.95 MB / 0.7095 GB, free: 7.324 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 preOpt removeSimpleEquations (simulation): time 0.005847/0.4842, allocations: 3.516 MB / 0.713 GB, free: 5.254 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007897/0.4921, allocations: 1.92 MB / 0.7148 GB, free: 4.902 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4937, allocations: 0.5949 MB / 0.7154 GB, free: 4.68 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.4938, allocations: 16.12 kB / 0.7154 GB, free: 4.68 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4938, allocations: 47.73 kB / 0.7155 GB, free: 4.629 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=92): time 3.787e-06/0.4938, allocations: 1.219 kB / 0.7155 GB, free: 4.629 MB / 494.1 MB
Notification: Performance of matching and sorting (n=92): time 0.02929/0.5231, allocations: 6.693 MB / 0.722 GB, free: 2.852 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.5232, allocations: 110.2 kB / 0.7221 GB, free: 2.738 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.5245, allocations: 0.9626 MB / 0.7231 GB, free: 2.188 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.5247, allocations: 43.48 kB / 0.7231 GB, free: 2.145 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.525, allocations: 467.8 kB / 0.7235 GB, free: 1.738 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.5253, allocations: 332.2 kB / 0.7239 GB, free: 1.461 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.5257, allocations: 259.9 kB / 0.7241 GB, free: 1.301 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 3.743e-05/0.5257, allocations: 306.4 kB / 0.7244 GB, free: 1 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.5272, allocations: 0.6921 MB / 0.7251 GB, free: 0.6523 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.5287, allocations: 0.9223 MB / 0.726 GB, free: 56 kB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.02367/0.5524, allocations: 5.047 MB / 0.7309 GB, free: 13.53 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.5524, allocations: 6.188 kB / 0.7309 GB, free: 13.52 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=181) (initialization): time 0.01432/0.5667, allocations: 4.118 MB / 0.7349 GB, free: 11.57 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.5668, allocations: 6.719 kB / 0.7349 GB, free: 11.57 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5668, allocations: 9.312 kB / 0.7349 GB, free: 11.56 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005962/0.5727, allocations: 1.503 MB / 0.7364 GB, free: 10.89 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.574, allocations: 262.8 kB / 0.7367 GB, free: 10.85 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/0.5955, allocations: 8.189 MB / 0.7447 GB, free: 4.555 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.5974, allocations: 176.5 kB / 0.7448 GB, free: 4.383 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.5975, allocations: 55.98 kB / 0.7449 GB, free: 4.328 MB / 0.4981 GB
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: 23
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (151):
 * Single equations (assignments): 150
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0006437/0.5981, allocations: 256.5 kB / 0.7451 GB, free: 4.082 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/0.5993, allocations: 352.1 kB / 0.7455 GB, free: 3.734 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.6127, allocations: 3.549 MB / 0.7489 GB, free: 192 kB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.6127, allocations: 12.75 kB / 0.7489 GB, free: 180 kB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6128, allocations: 14.62 kB / 0.749 GB, free: 168 kB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.6128, allocations: 3.984 kB / 0.749 GB, free: 164 kB / 0.4981 GB
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.01625/0.629, allocations: 5.076 MB / 0.7539 GB, free: 11.04 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.629, allocations: 0 / 0.7539 GB, free: 11.04 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/0.6297, allocations: 116.2 kB / 0.754 GB, free: 10.93 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006174/0.6359, allocations: 1.574 MB / 0.7556 GB, free: 9.352 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.636, allocations: 19.98 kB / 0.7556 GB, free: 9.332 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/0.6589, allocations: 10.57 MB / 0.7659 GB, free: 14.48 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6589, allocations: 0 / 0.7659 GB, free: 14.48 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/0.6752, allocations: 4.579 MB / 0.7704 GB, free: 9.875 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.6757, allocations: 143 kB / 0.7705 GB, free: 9.734 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.6759, allocations: 16 kB / 0.7705 GB, free: 9.719 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.677, allocations: 95.83 kB / 0.7706 GB, free: 9.625 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/0.6776, allocations: 176.7 kB / 0.7708 GB, free: 9.449 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/0.6777, allocations: 24 kB / 0.7708 GB, free: 9.426 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.0009633/0.6786, allocations: 0.6395 MB / 0.7714 GB, free: 8.777 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.6786, allocations: 8 kB / 0.7714 GB, free: 8.77 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.001486/0.6801, allocations: 435.7 kB / 0.7719 GB, free: 8.344 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (61):
 * Single equations (assignments): 59
 * Array equations: 0
 * Algorithm blocks: 0
 * 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
   {(20,12,23.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003033/0.6804, allocations: 135 kB / 0.772 GB, free: 8.203 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.006747/0.6872, allocations: 2.155 MB / 0.7741 GB, free: 6.035 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6872, allocations: 320 / 0.7741 GB, free: 6.035 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.004502/0.6917, allocations: 1.26 MB / 0.7753 GB, free: 4.758 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.6934, allocations: 351.6 kB / 0.7757 GB, free: 4.406 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.6976, allocations: 2.086 MB / 0.7777 GB, free: 2.316 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.6984, allocations: 1.085 MB / 0.7788 GB, free: 1.203 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0004342/0.6988, allocations: 100.7 kB / 0.7789 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.6991, allocations: 79.41 kB / 0.7789 GB, free: 1.027 MB / 0.5294 GB
Notification: Performance of SimCode: time 1.693e-06/0.6991, allocations: 0 / 0.7789 GB, free: 1.027 MB / 0.5294 GB
Notification: Performance of Templates: time 0.04103/0.7401, allocations: 22.65 MB / 0.801 GB, free: 10.43 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.960921769030392]
Failed to read output from testmodel.py, exit status != 0:
0.7510549165308475 0.763837027 0.30130582
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbda120d7b0>