Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001828/0.001828, 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.585/1.585, 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.00151/0.00151, allocations: 202.8 kB / 303.1 MB, free: 8.691 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.5811/0.5811, allocations: 99.65 MB / 458 MB, free: 4.012 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.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation")
translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 87.86 kB / 0.6129 GB, free: 6.594 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1689, allocations: 76.98 MB / 0.6881 GB, free: 9.449 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007882/0.1768, allocations: 6.508 MB / 0.6945 GB, free: 2.906 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004262/0.181, allocations: 1.892 MB / 0.6963 GB, free: 1.012 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.1818, allocations: 12 kB / 0.6963 GB, free: 1 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.1825, allocations: 222 kB / 0.6965 GB, free: 0.7812 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002018/0.1845, allocations: 0.765 MB / 0.6973 GB, free: 12 kB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.3771/0.5616, allocations: 0.6058 MB / 0.6979 GB, free: 10.11 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002605/0.5642, allocations: 1.42 MB / 0.6993 GB, free: 10.11 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.5646, allocations: 234.5 kB / 0.6995 GB, free: 10.07 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.5656, allocations: 0.6053 MB / 0.7001 GB, free: 9.961 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007899/0.5664, allocations: 0.744 MB / 0.7008 GB, free: 9.805 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.5666, allocations: 101.5 kB / 0.7009 GB, free: 9.805 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.5672, allocations: 238.3 kB / 0.7011 GB, free: 9.805 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.5674, allocations: 286 kB / 0.7014 GB, free: 9.75 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.5679, allocations: 0.6238 MB / 0.702 GB, free: 9.543 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001765/0.5697, allocations: 1.529 MB / 0.7035 GB, free: 9.281 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5697, allocations: 0 / 0.7035 GB, free: 9.281 MB / 494.1 MB
Notification: Performance of FrontEnd: time 2.615e-06/0.5697, allocations: 0.7969 kB / 0.7035 GB, free: 9.281 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 1.932e-05/0.5697, allocations: 0 / 0.7035 GB, free: 9.281 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: 195
 * Number of variables: 195
Notification: Performance of Generate backend data structure: time 0.009082/0.5788, allocations: 2.53 MB / 0.706 GB, free: 8.43 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5788, allocations: 17.95 kB / 0.706 GB, free: 8.422 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.5839, allocations: 0.7778 MB / 0.7068 GB, free: 8.332 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.5856, allocations: 0.7231 MB / 0.7075 GB, free: 8.008 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.5859, allocations: 259.2 kB / 0.7077 GB, free: 7.816 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.5861, allocations: 78.91 kB / 0.7078 GB, free: 7.797 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.5888, allocations: 1.077 MB / 0.7088 GB, free: 7.414 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.5888, allocations: 3.906 kB / 0.7088 GB, free: 7.414 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.5889, allocations: 29.75 kB / 0.7089 GB, free: 7.391 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5889, allocations: 20.38 kB / 0.7089 GB, free: 7.391 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.5915, allocations: 1.12 MB / 0.71 GB, free: 7.047 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.006408/0.598, allocations: 3.404 MB / 0.7133 GB, free: 5.172 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.6002, allocations: 0.8814 MB / 0.7142 GB, free: 4.852 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.6021, allocations: 0.7043 MB / 0.7149 GB, free: 4.605 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.6023, allocations: 19.25 kB / 0.7149 GB, free: 4.602 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.6023, allocations: 43 kB / 0.7149 GB, free: 4.555 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=97): time 3.636e-06/0.6023, allocations: 4.531 kB / 0.7149 GB, free: 4.551 MB / 494.1 MB
Notification: Performance of matching and sorting (n=97): time 0.02969/0.632, allocations: 6.502 MB / 0.7213 GB, free: 3.188 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.632, allocations: 65.91 kB / 0.7213 GB, free: 3.125 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.6334, allocations: 0.9031 MB / 0.7222 GB, free: 2.609 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003065/0.6337, allocations: 45.3 kB / 0.7223 GB, free: 2.562 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.634, allocations: 0.4916 MB / 0.7227 GB, free: 2.125 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.6343, allocations: 363.1 kB / 0.7231 GB, free: 1.816 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/0.6348, allocations: 210.7 kB / 0.7233 GB, free: 1.684 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 7.309e-05/0.6348, allocations: 342.5 kB / 0.7236 GB, free: 1.352 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.6365, allocations: 0.7213 MB / 0.7243 GB, free: 0.9961 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.6383, allocations: 0.849 MB / 0.7251 GB, free: 0.5156 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.02217/0.6605, allocations: 4.821 MB / 0.7299 GB, free: 14.16 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/0.6605, allocations: 1.125 kB / 0.7299 GB, free: 14.16 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=147) (initialization): time 0.01746/0.678, allocations: 4.247 MB / 0.734 GB, free: 12.13 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.678, allocations: 11.25 kB / 0.734 GB, free: 12.13 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.678, allocations: 7.234 kB / 0.734 GB, free: 12.12 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007466/0.6855, allocations: 1.803 MB / 0.7358 GB, free: 11.36 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.6869, allocations: 209.2 kB / 0.736 GB, free: 11.32 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02623/0.7131, allocations: 9.236 MB / 0.745 GB, free: 4.281 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.7152, allocations: 179.2 kB / 0.7452 GB, free: 4.105 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.7155, allocations: 43.92 kB / 0.7452 GB, free: 4.062 MB / 0.4981 GB
Warning: Assuming fixed start value for the following 2 variables:
         order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111):
 * Single equations (assignments): 110
 * 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
   {(25,12)}
Notification: Performance of prepare postOptimizeDAE: time 0.0008632/0.7163, allocations: 247.5 kB / 0.7454 GB, free: 3.824 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.7168, allocations: 131.1 kB / 0.7456 GB, free: 3.695 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.7314, allocations: 3.977 MB / 0.7495 GB, free: 15.73 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.7315, allocations: 8 kB / 0.7495 GB, free: 15.73 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7315, allocations: 0 / 0.7495 GB, free: 15.73 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.7315, allocations: 7.984 kB / 0.7495 GB, free: 15.72 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/0.75, allocations: 5.555 MB / 0.7549 GB, free: 10.09 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.75, allocations: 0 / 0.7549 GB, free: 10.09 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009108/0.751, allocations: 126.3 kB / 0.755 GB, free: 9.969 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006887/0.7578, allocations: 1.739 MB / 0.7567 GB, free: 8.227 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003306/0.7582, allocations: 19.98 kB / 0.7567 GB, free: 8.207 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/0.7801, allocations: 7.987 MB / 0.7645 GB, free: 124 kB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7801, allocations: 3.938 kB / 0.7645 GB, free: 120 kB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/0.7981, allocations: 4.937 MB / 0.7694 GB, free: 11.19 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.7986, allocations: 141.7 kB / 0.7695 GB, free: 11.05 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.7991, allocations: 16 kB / 0.7695 GB, free: 11.04 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.8005, allocations: 109.7 kB / 0.7696 GB, free: 10.93 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009109/0.8014, allocations: 224.6 kB / 0.7698 GB, free: 10.71 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/0.8016, allocations: 24 kB / 0.7699 GB, free: 10.69 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.001101/0.8027, allocations: 0.6008 MB / 0.7704 GB, free: 10.08 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 9e-08/0.8027, allocations: 0 / 0.7704 GB, free: 10.08 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.001819/0.8045, allocations: 435.7 kB / 0.7709 GB, free: 9.652 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q)
 * 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 (64):
 * Single equations (assignments): 63
 * 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.0003868/0.8049, allocations: 135.4 kB / 0.771 GB, free: 9.508 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.007998/0.8129, allocations: 2.387 MB / 0.7733 GB, free: 7.105 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8129, allocations: 0 / 0.7733 GB, free: 7.105 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.005521/0.8184, allocations: 1.52 MB / 0.7748 GB, free: 5.574 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.8196, allocations: 90.59 kB / 0.7749 GB, free: 5.488 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.8244, allocations: 2.05 MB / 0.7769 GB, free: 3.43 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009811/0.8254, allocations: 1.099 MB / 0.778 GB, free: 2.305 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0004879/0.8259, allocations: 90.84 kB / 0.778 GB, free: 2.215 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.8262, allocations: 71.42 kB / 0.7781 GB, free: 2.145 MB / 0.5294 GB
Notification: Performance of SimCode: time 7.81e-07/0.8262, allocations: 0 / 0.7781 GB, free: 2.145 MB / 0.5294 GB
Notification: Performance of Templates: time 0.04762/0.8738, allocations: 24.95 MB / 0.8025 GB, free: 9.262 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.143227674998343]
Failed to read output from testmodel.py, exit status != 0:
0.8837413620203733 0.898657898 0.32565264600000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f42af3917b0>