Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 252.7 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 220.7 kB / 309.2 MB, free: 3.145 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.4459/0.4459, allocations: 79.73 MB / 445.4 MB, free: 14.84 MB / 318.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 87.88 kB / 0.5929 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.14, allocations: 73.3 MB / 0.6645 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006982/0.147, allocations: 5.741 MB / 0.6701 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.1505, allocations: 1.782 MB / 0.6719 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.1509, allocations: 11.94 kB / 0.6719 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.1515, allocations: 206.3 kB / 0.6721 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.1532, allocations: 0.7409 MB / 0.6728 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1544, allocations: 0.5534 MB / 0.6733 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.1559, allocations: 1.229 MB / 0.6745 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.1563, allocations: 191.5 kB / 0.6747 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006945/0.157, allocations: 0.533 MB / 0.6752 GB, free: 9.543 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.1578, allocations: 0.6377 MB / 0.6759 GB, free: 8.902 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.1579, allocations: 95.94 kB / 0.6759 GB, free: 8.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.1584, allocations: 239.8 kB / 0.6762 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.1586, allocations: 235 kB / 0.6764 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.1591, allocations: 0.5397 MB / 0.6769 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.1607, allocations: 1.361 MB / 0.6783 GB, free: 6.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1607, allocations: 0 / 0.6783 GB, free: 6.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1607, allocations: 0 / 0.6783 GB, free: 6.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.1607, allocations: 0 / 0.6783 GB, free: 6.434 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007751/0.1684, allocations: 2.311 MB / 0.6805 GB, free: 4.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1685, allocations: 11.98 kB / 0.6805 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.1686, allocations: 114.5 kB / 0.6806 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.1736, allocations: 0.7603 MB / 0.6814 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1749, allocations: 0.6414 MB / 0.682 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.1752, allocations: 306.8 kB / 0.6823 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1754, allocations: 68 kB / 0.6824 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.1775, allocations: 0.9433 MB / 0.6833 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1775, allocations: 0 / 0.6833 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.1776, allocations: 24 kB / 0.6833 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1776, allocations: 16 kB / 0.6833 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.1798, allocations: 0.9772 MB / 0.6843 GB, free: 140 kB / 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.005793/0.1856, allocations: 3.096 MB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.1876, allocations: 0.7783 MB / 0.6881 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.189, allocations: 0.6279 MB / 0.6887 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.1891, allocations: 8.656 kB / 0.6887 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1892, allocations: 47.2 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=81): time 2.885e-06/0.1892, allocations: 0 / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.02723/0.2164, allocations: 6.596 MB / 0.6952 GB, free: 4.801 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.2165, allocations: 67.98 kB / 0.6952 GB, free: 4.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.2176, allocations: 0.7789 MB / 0.696 GB, free: 3.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.2177, allocations: 45.7 kB / 0.696 GB, free: 3.883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.2181, allocations: 441 kB / 0.6965 GB, free: 3.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.2185, allocations: 301.4 kB / 0.6967 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.2189, allocations: 170.6 kB / 0.6969 GB, free: 2.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.219, allocations: 345.9 kB / 0.6972 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.2206, allocations: 0.6386 MB / 0.6979 GB, free: 1.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.2222, allocations: 0.7627 MB / 0.6986 GB, free: 1.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2512/0.4734, allocations: 4.564 MB / 0.7031 GB, free: 32.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4734, allocations: 1.156 kB / 0.7031 GB, free: 32.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.014/0.4874, allocations: 3.998 MB / 0.707 GB, free: 32.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.4875, allocations: 9.156 kB / 0.707 GB, free: 32.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4875, allocations: 10.84 kB / 0.707 GB, free: 32.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.494, allocations: 1.866 MB / 0.7088 GB, free: 32.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.4949, allocations: 164.7 kB / 0.709 GB, free: 32.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.5162, allocations: 8.991 MB / 0.7177 GB, free: 29.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5176, allocations: 149.9 kB / 0.7179 GB, free: 29.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.5177, allocations: 36.08 kB / 0.7179 GB, free: 29.33 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.0003856/0.518, allocations: 236.4 kB / 0.7182 GB, free: 29.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.5182, allocations: 107.3 kB / 0.7183 GB, free: 29.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.5304, allocations: 3.786 MB / 0.722 GB, free: 28.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5304, allocations: 7.812 kB / 0.722 GB, free: 28.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5304, allocations: 1.125 kB / 0.722 GB, free: 28.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.5304, allocations: 7.844 kB / 0.722 GB, free: 28.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.544, allocations: 5.265 MB / 0.7271 GB, free: 25.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.544, allocations: 3.609 kB / 0.7271 GB, free: 25.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.5445, allocations: 86.64 kB / 0.7272 GB, free: 25.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005454/0.5499, allocations: 1.738 MB / 0.7289 GB, free: 24.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.823e-05/0.55, allocations: 14.88 kB / 0.7289 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/0.5664, allocations: 7.987 MB / 0.7367 GB, free: 19.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5664, allocations: 0 / 0.7367 GB, free: 19.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.579, allocations: 4.67 MB / 0.7413 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.5793, allocations: 110.5 kB / 0.7414 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.5795, allocations: 16 kB / 0.7414 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.5803, allocations: 95.89 kB / 0.7415 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006077/0.5809, allocations: 204.6 kB / 0.7417 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.581, allocations: 24 kB / 0.7417 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005511/0.5816, allocations: 0.5264 MB / 0.7422 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5816, allocations: 0 / 0.7422 GB, free: 14.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001237/0.5828, allocations: 402.3 kB / 0.7426 GB, free: 14.07 MB / 494.1 MB 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.01323/0.596, allocations: 5.234 MB / 0.7477 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0058/0.6018, allocations: 2.206 MB / 0.7499 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6018, allocations: 0 / 0.7499 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004142/0.606, allocations: 1.433 MB / 0.7513 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.6067, allocations: 75.31 kB / 0.7513 GB, free: 5.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03557/0.6423, allocations: 13.93 MB / 0.7649 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.643, allocations: 1.022 MB / 0.7659 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.6433, allocations: 77.47 kB / 0.766 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.6439, allocations: 379.3 kB / 0.7664 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.6439, allocations: 0 / 0.7664 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08271/0.7266, allocations: 31.77 MB / 0.7974 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.49, allocations: 7.344 kB / 0.7974 GB, free: 5.895 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.999074348947033] Failed to read output from testmodel.py, exit status != 0: 17.622727756155655 17.652574607 17.486464594 Calling exit ...