Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09537/0.09537, allocations: 12.78 MB / 31.61 MB, free: 6.16 MB / 26.18 MB
"
[Timeout remaining time 180]
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.00175/0.00175, allocations: 108 kB / 37.74 MB, free: 0.7578 MB / 26.18 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.619/1.619, allocations: 207.6 MB / 251.4 MB, free: 2.762 MB / 190.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.001874/0.001874, allocations: 196.4 kB / 306.7 MB, free: 11.27 MB / 254.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6924/0.6924, allocations: 79.71 MB / 441.6 MB, free: 11.27 MB / 302.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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)
Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo)
Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2")
translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") [Timeout 660]
"Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.2368/0.2368, allocations: 149.5 kB / 0.5889 GB, free: 51.13 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.3765, allocations: 72.04 MB / 0.6592 GB, free: 11.65 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00502/0.3815, allocations: 5.783 MB / 0.6649 GB, free: 5.828 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003019/0.3845, allocations: 1.721 MB / 0.6666 GB, free: 4.102 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.3853, allocations: 8 kB / 0.6666 GB, free: 4.094 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.3858, allocations: 194.3 kB / 0.6667 GB, free: 3.902 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3877, allocations: 0.7423 MB / 0.6675 GB, free: 3.16 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3888, allocations: 0.5551 MB / 0.668 GB, free: 2.613 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001358/0.3902, allocations: 1.233 MB / 0.6692 GB, free: 1.375 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.3907, allocations: 187.6 kB / 0.6694 GB, free: 1.18 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.3914, allocations: 0.529 MB / 0.6699 GB, free: 0.6484 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.392, allocations: 0.6455 MB / 0.6705 GB, free: 0 / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.3922, allocations: 84.05 kB / 0.6706 GB, free: 15.91 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.3928, allocations: 223.8 kB / 0.6708 GB, free: 15.7 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.393, allocations: 243 kB / 0.6711 GB, free: 15.46 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.3936, allocations: 0.5359 MB / 0.6716 GB, free: 14.92 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001794/0.3954, allocations: 1.347 MB / 0.6729 GB, free: 13.58 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3954, allocations: 3.938 kB / 0.6729 GB, free: 13.57 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.303e-06/0.3954, allocations: 0 / 0.6729 GB, free: 13.57 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.67e-05/0.3954, allocations: 4 kB / 0.6729 GB, free: 13.57 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 166
 * Number of variables: 166
Notification: Performance of Generate backend data structure: time 0.008497/0.4039, allocations: 2.288 MB / 0.6751 GB, free: 11.25 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4039, allocations: 8.031 kB / 0.6752 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/0.4093, allocations: 0.7641 MB / 0.6759 GB, free: 10.47 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.4108, allocations: 0.653 MB / 0.6765 GB, free: 9.785 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.4112, allocations: 251.5 kB / 0.6768 GB, free: 9.504 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.4114, allocations: 68 kB / 0.6768 GB, free: 9.438 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.4139, allocations: 0.9356 MB / 0.6778 GB, free: 8.492 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4139, allocations: 3.938 kB / 0.6778 GB, free: 8.488 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/0.414, allocations: 28 kB / 0.6778 GB, free: 8.461 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.414, allocations: 16 kB / 0.6778 GB, free: 8.445 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.4164, allocations: 0.9733 MB / 0.6788 GB, free: 7.473 MB / 462.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.006405/0.4229, allocations: 3.084 MB / 0.6818 GB, free: 4.246 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.425, allocations: 0.7875 MB / 0.6825 GB, free: 3.449 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4265, allocations: 0.624 MB / 0.6831 GB, free: 2.824 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4267, allocations: 8.656 kB / 0.6832 GB, free: 2.816 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.4267, allocations: 43.22 kB / 0.6832 GB, free: 2.766 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=81): time 2.655e-06/0.4267, allocations: 0 / 0.6832 GB, free: 2.766 MB / 462.1 MB
Notification: Performance of matching and sorting (n=81): time 0.03026/0.457, allocations: 6.585 MB / 0.6896 GB, free: 12.16 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.457, allocations: 64.06 kB / 0.6897 GB, free: 12.09 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.4583, allocations: 0.7944 MB / 0.6905 GB, free: 11.29 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.4585, allocations: 37.7 kB / 0.6905 GB, free: 11.24 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.4589, allocations: 437 kB / 0.6909 GB, free: 10.81 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.4594, allocations: 301.4 kB / 0.6912 GB, free: 10.51 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/0.4599, allocations: 178.6 kB / 0.6914 GB, free: 10.33 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001686/0.46, allocations: 341.9 kB / 0.6917 GB, free: 9.992 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.4617, allocations: 0.6425 MB / 0.6923 GB, free: 9.352 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.4635, allocations: 0.7627 MB / 0.6931 GB, free: 8.551 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/0.4835, allocations: 4.457 MB / 0.6974 GB, free: 4.059 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4835, allocations: 0 / 0.6974 GB, free: 4.059 MB / 478.1 MB
Notification: Performance of matching and sorting (n=127) (initialization): time 0.01502/0.4985, allocations: 4.005 MB / 0.7013 GB, free: 40 kB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4985, allocations: 8 kB / 0.7013 GB, free: 32 kB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4985, allocations: 0 / 0.7013 GB, free: 32 kB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007432/0.506, allocations: 1.866 MB / 0.7032 GB, free: 14.16 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.5071, allocations: 163.8 kB / 0.7033 GB, free: 14 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/0.5322, allocations: 8.996 MB / 0.7121 GB, free: 4.883 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.5336, allocations: 155.2 kB / 0.7123 GB, free: 4.73 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.5337, allocations: 39.97 kB / 0.7123 GB, free: 4.691 MB / 494.1 MB
Warning: Assuming fixed start value for the following 2 variables:
         order21.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order21.delta:VARIABLE(flow=false start = order21.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (92):
 * Single equations (assignments): 91
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(26,10)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005294/0.5343, allocations: 231.4 kB / 0.7125 GB, free: 4.457 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.5345, allocations: 107.3 kB / 0.7126 GB, free: 4.352 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.5491, allocations: 3.782 MB / 0.7163 GB, free: 0.5547 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5491, allocations: 8 kB / 0.7163 GB, free: 0.5469 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.5491, allocations: 4 kB / 0.7163 GB, free: 0.543 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.5491, allocations: 7.969 kB / 0.7163 GB, free: 0.5352 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.5658, allocations: 5.266 MB / 0.7215 GB, free: 11.13 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.5658, allocations: 0 / 0.7215 GB, free: 11.13 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.5663, allocations: 87.89 kB / 0.7216 GB, free: 11.05 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006782/0.5731, allocations: 1.745 MB / 0.7233 GB, free: 9.297 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.5733, allocations: 15.94 kB / 0.7233 GB, free: 9.281 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.5957, allocations: 7.981 MB / 0.7311 GB, free: 1.18 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5957, allocations: 3.938 kB / 0.7311 GB, free: 1.176 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/0.6124, allocations: 4.654 MB / 0.7356 GB, free: 12.49 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.6128, allocations: 115.1 kB / 0.7357 GB, free: 12.38 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.613, allocations: 19.94 kB / 0.7357 GB, free: 12.36 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.6141, allocations: 91.95 kB / 0.7358 GB, free: 12.27 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006929/0.6148, allocations: 212.6 kB / 0.736 GB, free: 12.06 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.6149, allocations: 16 kB / 0.7361 GB, free: 12.05 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.0008087/0.6157, allocations: 0.5341 MB / 0.7366 GB, free: 11.52 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.6157, allocations: 0 / 0.7366 GB, free: 11.52 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.001383/0.6171, allocations: 407.6 kB / 0.737 GB, free: 11.12 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (order21.delta,order21.w)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (48):
 * Single equations (assignments): 47
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(26,10)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002713/0.6174, allocations: 116.2 kB / 0.7371 GB, free: 11 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.007213/0.6246, allocations: 2.208 MB / 0.7392 GB, free: 8.773 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6246, allocations: 0 / 0.7392 GB, free: 8.773 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.005233/0.6298, allocations: 1.437 MB / 0.7406 GB, free: 7.328 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.6306, allocations: 75.31 kB / 0.7407 GB, free: 7.258 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.6343, allocations: 1.69 MB / 0.7424 GB, free: 5.543 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.635, allocations: 1.025 MB / 0.7434 GB, free: 4.492 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.0002968/0.6353, allocations: 78.19 kB / 0.7434 GB, free: 4.414 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.6355, allocations: 67.3 kB / 0.7435 GB, free: 4.348 MB / 0.5137 GB
Notification: Performance of SimCode: time 1.303e-06/0.6356, allocations: 0 / 0.7435 GB, free: 4.348 MB / 0.5137 GB
Notification: Performance of Templates: time 0.04285/0.6784, allocations: 23.24 MB / 0.7662 GB, free: 13.08 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile [Timeout 660]
(rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.874044229276478]
Failed to read output from testmodel.py, exit status != 0:
0.6880206149071455 0.7038119860000001 0.305047968
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3c8f0317b0>