Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001654/0.001654, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.41/1.41, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001484/0.001484, allocations: 208.1 kB / 310 MB, free: 3.137 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5712/0.5712, allocations: 101.3 MB / 467.8 MB, free: 30.55 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",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.002268/0.002268, allocations: 81.86 kB / 0.6252 GB, free: 33.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1403, allocations: 78.62 MB / 0.7019 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007005/0.1473, allocations: 5.771 MB / 0.7076 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.1511, allocations: 1.786 MB / 0.7093 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.1517, allocations: 12 kB / 0.7093 GB, free: 9.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.1522, allocations: 210.2 kB / 0.7095 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.1539, allocations: 0.738 MB / 0.7102 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1552, allocations: 0.5596 MB / 0.7108 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1567, allocations: 1.233 MB / 0.712 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.1571, allocations: 191.5 kB / 0.7122 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.1578, allocations: 0.529 MB / 0.7127 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/0.1586, allocations: 0.6455 MB / 0.7133 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1587, allocations: 88 kB / 0.7134 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.1592, allocations: 235.9 kB / 0.7136 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.1594, allocations: 239 kB / 0.7139 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.1599, allocations: 0.5359 MB / 0.7144 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.1615, allocations: 1.365 MB / 0.7157 GB, free: 2.859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1615, allocations: 0 / 0.7157 GB, free: 2.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1615, allocations: 0 / 0.7157 GB, free: 2.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1615, allocations: 0 / 0.7157 GB, free: 2.859 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007719/0.1692, allocations: 2.305 MB / 0.718 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1692, allocations: 12.03 kB / 0.718 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.955e-05/0.1693, allocations: 13.31 kB / 0.718 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.1694, allocations: 114.5 kB / 0.7181 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/0.1742, allocations: 0.768 MB / 0.7189 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.1755, allocations: 0.6374 MB / 0.7195 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.1759, allocations: 306.8 kB / 0.7198 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.176, allocations: 68 kB / 0.7198 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.1782, allocations: 0.9472 MB / 0.7208 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1782, allocations: 0 / 0.7208 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.1783, allocations: 27.94 kB / 0.7208 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1783, allocations: 16 kB / 0.7208 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.1805, allocations: 0.9733 MB / 0.7218 GB, free: 12.55 MB / 0.4981 GB 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.005917/0.1864, allocations: 3.096 MB / 0.7248 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.1884, allocations: 0.7798 MB / 0.7255 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.1899, allocations: 0.6202 MB / 0.7261 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.962e-05/0.19, allocations: 20.62 kB / 0.7262 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.19, allocations: 47.22 kB / 0.7262 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 3.396e-06/0.19, allocations: 0 / 0.7262 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02754/0.2176, allocations: 6.585 MB / 0.7326 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.2176, allocations: 64 kB / 0.7327 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2188, allocations: 0.7828 MB / 0.7335 GB, free: 360 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.2189, allocations: 37.7 kB / 0.7335 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.2193, allocations: 444.9 kB / 0.7339 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.2196, allocations: 305.4 kB / 0.7342 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.22, allocations: 170.6 kB / 0.7344 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2202, allocations: 345.9 kB / 0.7347 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.2217, allocations: 0.6464 MB / 0.7353 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.2233, allocations: 0.7589 MB / 0.7361 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01854/0.2418, allocations: 4.563 MB / 0.7405 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.2418, allocations: 0 / 0.7405 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01399/0.2558, allocations: 4.016 MB / 0.7445 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.2559, allocations: 4 kB / 0.7445 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2559, allocations: 4 kB / 0.7445 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006696/0.2626, allocations: 1.866 MB / 0.7463 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.2634, allocations: 163.7 kB / 0.7464 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.2869, allocations: 8.997 MB / 0.7552 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.2883, allocations: 155.3 kB / 0.7554 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.2885, allocations: 35.98 kB / 0.7554 GB, free: 9.637 MB / 0.5294 GB 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.0006239/0.2891, allocations: 234.7 kB / 0.7556 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.2895, allocations: 111.3 kB / 0.7557 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.3027, allocations: 3.793 MB / 0.7594 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.3027, allocations: 8 kB / 0.7595 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3027, allocations: 0 / 0.7595 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.3028, allocations: 3.984 kB / 0.7595 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.3185, allocations: 5.254 MB / 0.7646 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.3185, allocations: 7.875 kB / 0.7646 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.319, allocations: 87.94 kB / 0.7647 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006343/0.3254, allocations: 1.741 MB / 0.7664 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.3256, allocations: 19.98 kB / 0.7664 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/0.3462, allocations: 7.981 MB / 0.7742 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3462, allocations: 0 / 0.7742 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.3614, allocations: 4.654 MB / 0.7787 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.3617, allocations: 119 kB / 0.7789 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.362, allocations: 12 kB / 0.7789 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.363, allocations: 95.95 kB / 0.779 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/0.3636, allocations: 204.6 kB / 0.7792 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.245e-05/0.3637, allocations: 20 kB / 0.7792 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00078/0.3645, allocations: 0.5342 MB / 0.7797 GB, free: 472 kB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.3645, allocations: 0 / 0.7797 GB, free: 472 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001378/0.3659, allocations: 403.7 kB / 0.7801 GB, free: 68 kB / 0.545 GB 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.01549/0.3814, allocations: 5.226 MB / 0.7852 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006889/0.3883, allocations: 2.193 MB / 0.7873 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3883, allocations: 12.06 kB / 0.7873 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004837/0.3931, allocations: 1.432 MB / 0.7887 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.3939, allocations: 75.31 kB / 0.7888 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/0.432, allocations: 13.94 MB / 0.8024 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.4328, allocations: 1.025 MB / 0.8034 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003848/0.4332, allocations: 86.17 kB / 0.8035 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.4338, allocations: 375.3 kB / 0.8039 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of SimCode: time 1.472e-06/0.4338, allocations: 0 / 0.8039 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3628/0.7967, allocations: 31.78 MB / 0.8349 GB, free: 96.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.94, allocations: 11.22 kB / 0.8349 GB, free: 96.26 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.597250666003674] Failed to read output from testmodel.py, exit status != 0: 17.117072375956923 17.132067274 16.967639295 Calling exit ...