Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.001467/0.001467, 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.426/1.426, allocations: 225.6 MB / 247.7 MB, free: 13.44 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.00147/0.00147, allocations: 195.7 kB / 303.1 MB, free: 8.703 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.4406/0.4406, allocations: 79.73 MB / 438.1 MB, free: 5.328 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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation")
translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 79.88 kB / 0.584 GB, free: 8.035 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1313, allocations: 72.14 MB / 0.6544 GB, free: 15.79 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007733/0.139, allocations: 6.527 MB / 0.6608 GB, free: 9.223 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003742/0.1428, allocations: 1.884 MB / 0.6626 GB, free: 7.332 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.1433, allocations: 15.94 kB / 0.6626 GB, free: 7.316 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.1438, allocations: 222 kB / 0.6629 GB, free: 7.098 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001703/0.1455, allocations: 0.7727 MB / 0.6636 GB, free: 6.32 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 Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions.
Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1468, allocations: 0.6155 MB / 0.6642 GB, free: 5.711 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001599/0.1484, allocations: 1.429 MB / 0.6656 GB, free: 4.277 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.1488, allocations: 240.8 kB / 0.6658 GB, free: 4.027 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.1496, allocations: 0.6068 MB / 0.6664 GB, free: 3.418 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008579/0.1504, allocations: 0.7388 MB / 0.6672 GB, free: 2.676 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.1506, allocations: 100 kB / 0.6673 GB, free: 2.578 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.151, allocations: 247.8 kB / 0.6675 GB, free: 2.336 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.1513, allocations: 270.8 kB / 0.6677 GB, free: 2.07 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.1518, allocations: 0.6252 MB / 0.6684 GB, free: 1.441 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1535, allocations: 1.528 MB / 0.6698 GB, free: 15.91 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1535, allocations: 0 / 0.6698 GB, free: 15.91 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.1535, allocations: 0 / 0.6698 GB, free: 15.91 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.461e-05/0.1535, allocations: 0 / 0.6698 GB, free: 15.91 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: 196
 * Number of variables: 196
Notification: Performance of Generate backend data structure: time 0.007819/0.1613, allocations: 2.526 MB / 0.6723 GB, free: 13.34 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1614, allocations: 16.03 kB / 0.6723 GB, free: 13.32 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.1664, allocations: 0.7796 MB / 0.6731 GB, free: 12.54 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.1678, allocations: 0.7129 MB / 0.6738 GB, free: 11.79 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.1681, allocations: 264.2 kB / 0.674 GB, free: 11.49 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.1683, allocations: 79.95 kB / 0.6741 GB, free: 11.41 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.1707, allocations: 1.081 MB / 0.6752 GB, free: 10.33 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1708, allocations: 3.938 kB / 0.6752 GB, free: 10.32 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.1709, allocations: 32 kB / 0.6752 GB, free: 10.29 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1709, allocations: 24 kB / 0.6752 GB, free: 10.27 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.1735, allocations: 1.124 MB / 0.6763 GB, free: 9.141 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.006544/0.18, allocations: 3.406 MB / 0.6797 GB, free: 5.594 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.1821, allocations: 0.8938 MB / 0.6805 GB, free: 4.695 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.1837, allocations: 0.6953 MB / 0.6812 GB, free: 3.996 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.1839, allocations: 28.91 kB / 0.6812 GB, free: 3.969 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.1839, allocations: 39.56 kB / 0.6813 GB, free: 3.922 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=98): time 2.935e-06/0.1839, allocations: 4 kB / 0.6813 GB, free: 3.918 MB / 478.1 MB
Notification: Performance of matching and sorting (n=98): time 0.02593/0.2098, allocations: 6.502 MB / 0.6876 GB, free: 13.4 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.2099, allocations: 60.41 kB / 0.6877 GB, free: 13.33 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.2112, allocations: 0.9001 MB / 0.6886 GB, free: 12.41 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.2114, allocations: 45.7 kB / 0.6886 GB, free: 12.36 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.2119, allocations: 0.4897 MB / 0.6891 GB, free: 11.86 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.2123, allocations: 368.8 kB / 0.6894 GB, free: 11.5 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/0.2127, allocations: 202.9 kB / 0.6896 GB, free: 11.29 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001723/0.2128, allocations: 353.9 kB / 0.69 GB, free: 10.94 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.2146, allocations: 0.7287 MB / 0.6907 GB, free: 10.21 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.2164, allocations: 0.8657 MB / 0.6915 GB, free: 9.316 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/0.2356, allocations: 4.85 MB / 0.6963 GB, free: 4.434 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.2356, allocations: 4 kB / 0.6963 GB, free: 4.43 MB / 494.1 MB
Notification: Performance of matching and sorting (n=151) (initialization): time 0.01392/0.2495, allocations: 4.25 MB / 0.7004 GB, free: 168 kB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.2495, allocations: 4 kB / 0.7004 GB, free: 164 kB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.2496, allocations: 8 kB / 0.7004 GB, free: 156 kB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.3278/0.5773, allocations: 1.716 MB / 0.7021 GB, free: 42.03 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5786, allocations: 229 kB / 0.7023 GB, free: 42.03 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/0.601, allocations: 8.962 MB / 0.7111 GB, free: 39.09 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.6027, allocations: 181 kB / 0.7112 GB, free: 39.07 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.6028, allocations: 43.53 kB / 0.7113 GB, free: 39.06 MB / 494.1 MB
Warning: Assuming fixed start value for the following 1 variables:
         Generator.e1q:VARIABLE(start = Generator.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: 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 (117):
 * Single equations (assignments): 116
 * 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
   {(24,11)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005078/0.6033, allocations: 239.1 kB / 0.7115 GB, free: 38.88 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.6035, allocations: 130.5 kB / 0.7116 GB, free: 38.83 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.617, allocations: 3.979 MB / 0.7155 GB, free: 37.98 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.617, allocations: 10.56 kB / 0.7155 GB, free: 37.98 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.617, allocations: 5.031 kB / 0.7155 GB, free: 37.97 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/0.617, allocations: 5.391 kB / 0.7155 GB, free: 37.97 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.6315, allocations: 5.54 MB / 0.721 GB, free: 36.1 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.6316, allocations: 1.125 kB / 0.721 GB, free: 36.1 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.6324, allocations: 136.7 kB / 0.7211 GB, free: 36.08 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005712/0.6381, allocations: 1.734 MB / 0.7228 GB, free: 35.78 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.6383, allocations: 21.09 kB / 0.7228 GB, free: 35.77 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.6552, allocations: 7.966 MB / 0.7306 GB, free: 31.42 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6552, allocations: 0 / 0.7306 GB, free: 31.42 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.6684, allocations: 4.929 MB / 0.7354 GB, free: 28.92 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.6688, allocations: 135.7 kB / 0.7355 GB, free: 28.83 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.669, allocations: 15.88 kB / 0.7355 GB, free: 28.82 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/0.6699, allocations: 111.4 kB / 0.7356 GB, free: 28.77 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006958/0.6706, allocations: 226.7 kB / 0.7359 GB, free: 28.59 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.6707, allocations: 25.95 kB / 0.7359 GB, free: 28.57 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0006399/0.6713, allocations: 0.6008 MB / 0.7365 GB, free: 27.96 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.6713, allocations: 0 / 0.7365 GB, free: 27.96 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.00127/0.6726, allocations: 441.3 kB / 0.7369 GB, free: 27.54 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d)
 * 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 (65):
 * Single equations (assignments): 64
 * 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.0002408/0.6729, allocations: 133.8 kB / 0.737 GB, free: 27.41 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.006007/0.6789, allocations: 2.367 MB / 0.7393 GB, free: 25.04 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6789, allocations: 0.5625 kB / 0.7393 GB, free: 25.04 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0042/0.6831, allocations: 1.526 MB / 0.7408 GB, free: 23.5 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.6839, allocations: 88.36 kB / 0.7409 GB, free: 23.41 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.6872, allocations: 2.099 MB / 0.743 GB, free: 21.32 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.6875, allocations: 1.095 MB / 0.744 GB, free: 20.19 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.000308/0.6879, allocations: 90.75 kB / 0.7441 GB, free: 20.1 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.6881, allocations: 63.42 kB / 0.7442 GB, free: 20.04 MB / 494.1 MB
Notification: Performance of SimCode: time 7.42e-07/0.6881, allocations: 0 / 0.7442 GB, free: 20.04 MB / 494.1 MB
Notification: Performance of Templates: time 0.03263/0.7207, allocations: 24.68 MB / 0.7683 GB, free: 11.39 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.513616964221001]
Failed to read output from testmodel.py, exit status != 0:
0.7289277380332351 0.744577741 0.587809914
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1f1638d7b0>