Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.09868/0.09868, allocations: 12.78 MB / 31.61 MB, free: 6.18 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.001343/0.001343, allocations: 112 kB / 37.74 MB, free: 0.7617 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.615/1.615, allocations: 207.6 MB / 251.4 MB, free: 2.73 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.001855/0.001855, allocations: 196.4 kB / 306.7 MB, free: 11.25 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.532/0.532, allocations: 79.71 MB / 441.6 MB, free: 11.23 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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") [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.3029/0.3029, allocations: 145.7 kB / 0.5889 GB, free: 51.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.4601, allocations: 72.03 MB / 0.6592 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004997/0.4651, allocations: 5.884 MB / 0.665 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.4679, allocations: 1.728 MB / 0.6667 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.4682, allocations: 19.94 kB / 0.6667 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.4686, allocations: 198.3 kB / 0.6669 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.4699, allocations: 0.7459 MB / 0.6676 GB, free: 3 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0009312/0.4708, allocations: 0.5723 MB / 0.6682 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008897/0.4717, allocations: 1.26 MB / 0.6694 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.472, allocations: 183.7 kB / 0.6696 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.4724, allocations: 0.5446 MB / 0.6701 GB, free: 440 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.4731, allocations: 0.6494 MB / 0.6707 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.4732, allocations: 88 kB / 0.6708 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.4737, allocations: 223.9 kB / 0.671 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.4739, allocations: 242.9 kB / 0.6713 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.4744, allocations: 0.5476 MB / 0.6718 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.4759, allocations: 1.362 MB / 0.6731 GB, free: 13.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4759, allocations: 0 / 0.6731 GB, free: 13.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4759, allocations: 0 / 0.6731 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.4759, allocations: 0 / 0.6731 GB, free: 13.32 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007957/0.4839, allocations: 2.311 MB / 0.6754 GB, free: 10.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4839, allocations: 8.031 kB / 0.6754 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.4889, allocations: 0.7603 MB / 0.6761 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.4902, allocations: 0.653 MB / 0.6768 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.4905, allocations: 256.1 kB / 0.677 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.4907, allocations: 68 kB / 0.6771 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.4929, allocations: 0.9637 MB / 0.678 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4929, allocations: 3.938 kB / 0.678 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.493, allocations: 24 kB / 0.678 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.493, allocations: 16 kB / 0.6781 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.4952, allocations: 0.976 MB / 0.679 GB, free: 7.176 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.005658/0.5009, allocations: 3.131 MB / 0.6821 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.5028, allocations: 0.7729 MB / 0.6828 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.5043, allocations: 0.6306 MB / 0.6834 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.5044, allocations: 24.91 kB / 0.6835 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.5044, allocations: 43.56 kB / 0.6835 GB, free: 2.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.815e-06/0.5044, allocations: 0 / 0.6835 GB, free: 2.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.0282/0.5326, allocations: 6.373 MB / 0.6897 GB, free: 12.03 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.5327, allocations: 60.41 kB / 0.6898 GB, free: 11.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.534, allocations: 0.7945 MB / 0.6906 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.5341, allocations: 37.7 kB / 0.6906 GB, free: 11.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.5345, allocations: 445 kB / 0.691 GB, free: 10.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.535, allocations: 309.3 kB / 0.6913 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/0.5354, allocations: 190.9 kB / 0.6915 GB, free: 10.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.5357, allocations: 345.9 kB / 0.6918 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.5374, allocations: 0.6624 MB / 0.6925 GB, free: 9.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.5391, allocations: 0.7757 MB / 0.6932 GB, free: 8.363 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.5583, allocations: 4.524 MB / 0.6977 GB, free: 3.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.5584, allocations: 4 kB / 0.6977 GB, free: 3.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01487/0.5732, allocations: 4.044 MB / 0.7016 GB, free: 15.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.5733, allocations: 4 kB / 0.7016 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5733, allocations: 4 kB / 0.7016 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006829/0.5801, allocations: 1.73 MB / 0.7033 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5811, allocations: 191.7 kB / 0.7035 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.6053, allocations: 8.95 MB / 0.7122 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.607, allocations: 159.2 kB / 0.7124 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.6072, allocations: 39.98 kB / 0.7124 GB, free: 4.535 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 (101): * Single equations (assignments): 100 * 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.0008711/0.6081, allocations: 235.7 kB / 0.7126 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.6085, allocations: 107.3 kB / 0.7127 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.6228, allocations: 3.786 MB / 0.7164 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.6228, allocations: 11.94 kB / 0.7165 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.6228, allocations: 3.984 kB / 0.7165 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6229, allocations: 3.984 kB / 0.7165 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.6396, allocations: 5.305 MB / 0.7216 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.6396, allocations: 0 / 0.7216 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.6403, allocations: 87.89 kB / 0.7217 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006522/0.6468, allocations: 1.745 MB / 0.7234 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/0.647, allocations: 16 kB / 0.7234 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/0.6681, allocations: 7.961 MB / 0.7312 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6681, allocations: 0 / 0.7312 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.6843, allocations: 4.713 MB / 0.7358 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6847, allocations: 123.1 kB / 0.7359 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.6851, allocations: 16 kB / 0.736 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.6864, allocations: 91.83 kB / 0.736 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009565/0.6874, allocations: 212.6 kB / 0.7362 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.6875, allocations: 20 kB / 0.7363 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001257/0.6888, allocations: 0.5264 MB / 0.7368 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6888, allocations: 0 / 0.7368 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002312/0.6911, allocations: 419.7 kB / 0.7372 GB, free: 10.88 MB / 0.5137 GB 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 (50): * Single equations (assignments): 49 * 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.0005541/0.6917, allocations: 128.2 kB / 0.7373 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007582/0.6992, allocations: 2.203 MB / 0.7395 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6992, allocations: 0 / 0.7395 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005232/0.7045, allocations: 1.452 MB / 0.7409 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.7056, allocations: 76.28 kB / 0.7409 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.7098, allocations: 1.811 MB / 0.7427 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/0.7107, allocations: 1.033 MB / 0.7437 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003763/0.711, allocations: 78.31 kB / 0.7438 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.7113, allocations: 63.42 kB / 0.7439 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.7113, allocations: 0 / 0.7439 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of Templates: time 0.04477/0.756, allocations: 23.39 MB / 0.7667 GB, free: 12.54 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.982859415002167] Failed to read output from testmodel.py, exit status != 0: 0.7662245919927955 0.781795644 0.30264787800000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe72c5317b0>