Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001393/0.001393, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.461/1.461, allocations: 225.6 MB / 247.7 MB, free: 13.25 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.001518/0.001518, allocations: 195.5 kB / 303.1 MB, free: 8.664 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.4458/0.4458, allocations: 79.72 MB / 438.1 MB, free: 5.285 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.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation")
translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 75.88 kB / 0.584 GB, free: 8.039 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1538, allocations: 72.13 MB / 0.6544 GB, free: 15.8 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008173/0.1619, allocations: 6.428 MB / 0.6607 GB, free: 9.336 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004492/0.1664, allocations: 1.865 MB / 0.6625 GB, free: 7.465 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00076/0.1672, allocations: 12 kB / 0.6625 GB, free: 7.453 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.1678, allocations: 229.9 kB / 0.6627 GB, free: 7.227 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1698, allocations: 0.7688 MB / 0.6635 GB, free: 6.453 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1713, allocations: 0.5962 MB / 0.6641 GB, free: 5.863 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002072/0.1734, allocations: 1.402 MB / 0.6654 GB, free: 4.457 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004777/0.1738, allocations: 236.8 kB / 0.6657 GB, free: 4.211 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009677/0.1748, allocations: 0.599 MB / 0.6663 GB, free: 3.609 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009024/0.1757, allocations: 0.7349 MB / 0.667 GB, free: 2.871 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.1759, allocations: 100 kB / 0.6671 GB, free: 2.773 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005294/0.1764, allocations: 235.8 kB / 0.6673 GB, free: 2.543 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1767, allocations: 270.8 kB / 0.6675 GB, free: 2.277 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.1773, allocations: 0.6213 MB / 0.6682 GB, free: 1.652 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002026/0.1793, allocations: 1.513 MB / 0.6696 GB, free: 136 kB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1793, allocations: 0 / 0.6696 GB, free: 136 kB / 462.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.1793, allocations: 0 / 0.6696 GB, free: 136 kB / 462.1 MB
Notification: Performance of Transformations before backend: time 2.231e-05/0.1793, allocations: 0 / 0.6696 GB, free: 136 kB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 194
 * Number of variables: 194
Notification: Performance of Generate backend data structure: time 0.008084/0.1874, allocations: 2.507 MB / 0.6721 GB, free: 13.58 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.1875, allocations: 23.91 kB / 0.6721 GB, free: 13.56 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.1923, allocations: 0.7835 MB / 0.6729 GB, free: 12.77 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.194, allocations: 0.705 MB / 0.6736 GB, free: 12.02 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/0.1943, allocations: 260.1 kB / 0.6738 GB, free: 11.73 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.1945, allocations: 75.98 kB / 0.6739 GB, free: 11.66 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.1969, allocations: 1.077 MB / 0.6749 GB, free: 10.58 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.197, allocations: 3.938 kB / 0.6749 GB, free: 10.57 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.1971, allocations: 28 kB / 0.675 GB, free: 10.55 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1971, allocations: 20 kB / 0.675 GB, free: 10.53 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.1996, allocations: 1.117 MB / 0.6761 GB, free: 9.406 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.006228/0.2058, allocations: 3.382 MB / 0.6794 GB, free: 5.883 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.2078, allocations: 0.8743 MB / 0.6802 GB, free: 5.004 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.2093, allocations: 0.6914 MB / 0.6809 GB, free: 4.309 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.2094, allocations: 16.98 kB / 0.6809 GB, free: 4.293 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2095, allocations: 43.56 kB / 0.681 GB, free: 4.242 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.567e-06/0.2095, allocations: 4 kB / 0.681 GB, free: 4.238 MB / 478.1 MB
Notification: Performance of matching and sorting (n=96): time 0.02598/0.2354, allocations: 6.642 MB / 0.6874 GB, free: 13.58 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2355, allocations: 60.41 kB / 0.6875 GB, free: 13.51 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.2369, allocations: 0.8877 MB / 0.6884 GB, free: 12.6 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.2371, allocations: 41.7 kB / 0.6884 GB, free: 12.55 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.2375, allocations: 0.4935 MB / 0.6889 GB, free: 12.05 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004315/0.238, allocations: 353 kB / 0.6892 GB, free: 11.71 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.2384, allocations: 194.9 kB / 0.6894 GB, free: 11.51 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001697/0.2385, allocations: 353.9 kB / 0.6898 GB, free: 11.16 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.2402, allocations: 0.7092 MB / 0.6904 GB, free: 10.45 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.242, allocations: 0.8423 MB / 0.6913 GB, free: 9.574 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/0.2606, allocations: 4.779 MB / 0.6959 GB, free: 4.762 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2606, allocations: 0 / 0.6959 GB, free: 4.762 MB / 494.1 MB
Notification: Performance of matching and sorting (n=143) (initialization): time 0.01433/0.275, allocations: 4.234 MB / 0.7001 GB, free: 0.5117 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.275, allocations: 10.81 kB / 0.7001 GB, free: 0.5039 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.275, allocations: 3.984 kB / 0.7001 GB, free: 0.5 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.3056/0.5806, allocations: 1.857 MB / 0.7019 GB, free: 41.94 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.5817, allocations: 205.5 kB / 0.7021 GB, free: 41.94 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.6036, allocations: 8.99 MB / 0.7109 GB, free: 39.1 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.6053, allocations: 180.4 kB / 0.711 GB, free: 39.08 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.6054, allocations: 40.69 kB / 0.7111 GB, free: 39.07 MB / 494.1 MB
Warning: Assuming fixed start value for the following 2 variables:
         order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108):
 * Single equations (assignments): 107
 * 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.0005558/0.6059, allocations: 244.6 kB / 0.7113 GB, free: 38.89 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.6063, allocations: 123.9 kB / 0.7114 GB, free: 38.82 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.6195, allocations: 3.975 MB / 0.7153 GB, free: 37.98 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.6195, allocations: 9.781 kB / 0.7153 GB, free: 37.98 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6195, allocations: 0 / 0.7153 GB, free: 37.98 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.6195, allocations: 4.875 kB / 0.7153 GB, free: 37.98 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.6337, allocations: 5.566 MB / 0.7208 GB, free: 36.09 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.6337, allocations: 1.156 kB / 0.7208 GB, free: 36.09 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.6344, allocations: 134 kB / 0.7209 GB, free: 36.07 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005475/0.6399, allocations: 1.737 MB / 0.7226 GB, free: 35.77 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.64, allocations: 16.69 kB / 0.7226 GB, free: 35.76 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/0.6561, allocations: 7.971 MB / 0.7304 GB, free: 31.5 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6561, allocations: 7.938 kB / 0.7304 GB, free: 31.49 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.6692, allocations: 4.942 MB / 0.7352 GB, free: 28.98 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.6696, allocations: 131.6 kB / 0.7354 GB, free: 28.89 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6698, allocations: 15.88 kB / 0.7354 GB, free: 28.88 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/0.6707, allocations: 111.1 kB / 0.7355 GB, free: 28.83 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/0.6714, allocations: 227.5 kB / 0.7357 GB, free: 28.68 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.6714, allocations: 23.77 kB / 0.7357 GB, free: 28.67 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0005979/0.672, allocations: 0.5937 MB / 0.7363 GB, free: 28.12 MB / 494.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.672, allocations: 0 / 0.7363 GB, free: 28.12 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.001216/0.6732, allocations: 435 kB / 0.7367 GB, free: 27.71 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63):
 * Single equations (assignments): 62
 * 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.0002411/0.6735, allocations: 129.4 kB / 0.7368 GB, free: 27.57 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.005989/0.6795, allocations: 2.353 MB / 0.7391 GB, free: 25.23 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6795, allocations: 0 / 0.7391 GB, free: 25.23 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.004154/0.6836, allocations: 1.522 MB / 0.7406 GB, free: 23.7 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008344/0.6845, allocations: 84.41 kB / 0.7407 GB, free: 23.61 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.688, allocations: 1.99 MB / 0.7426 GB, free: 21.62 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.6884, allocations: 1.08 MB / 0.7437 GB, free: 20.52 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0003286/0.6887, allocations: 95.33 kB / 0.7438 GB, free: 20.43 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.6889, allocations: 63.42 kB / 0.7438 GB, free: 20.36 MB / 494.1 MB
Notification: Performance of SimCode: time 1.523e-06/0.6889, allocations: 0 / 0.7438 GB, free: 20.36 MB / 494.1 MB
Notification: Performance of Templates: time 0.03326/0.7222, allocations: 24.61 MB / 0.7679 GB, free: 11.81 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.578374016098678]
Failed to read output from testmodel.py, exit status != 0:
0.7307325648143888 0.746321581 0.563747311
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f234fe217b0>