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.001305/0.001305, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.409/1.409, allocations: 230.6 MB / 253.5 MB, free: 14.45 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.001405/0.001405, allocations: 222.9 kB / 310 MB, free: 3.027 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.5713/0.5713, allocations: 101.3 MB / 467.7 MB, free: 32.19 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.002279/0.002279, allocations: 84.23 kB / 0.6251 GB, free: 33.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1317, allocations: 78.6 MB / 0.7018 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006294/0.1379, allocations: 5.063 MB / 0.7068 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1411, allocations: 1.697 MB / 0.7084 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.1417, allocations: 8 kB / 0.7084 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.1422, allocations: 206.3 kB / 0.7086 GB, free: 9.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.1439, allocations: 0.72 MB / 0.7093 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1451, allocations: 0.5471 MB / 0.7099 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1463, allocations: 1.225 MB / 0.7111 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.1467, allocations: 191.5 kB / 0.7113 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.1472, allocations: 0.529 MB / 0.7118 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.148, allocations: 0.6494 MB / 0.7124 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.1481, allocations: 88 kB / 0.7125 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.1485, allocations: 231.8 kB / 0.7127 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.1487, allocations: 243 kB / 0.7129 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.1491, allocations: 445.4 kB / 0.7134 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1505, allocations: 1.373 MB / 0.7147 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1505, allocations: 3.938 kB / 0.7147 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1505, allocations: 0 / 0.7147 GB, free: 3.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1505, allocations: 0 / 0.7147 GB, free: 3.582 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.00736/0.1579, allocations: 2.304 MB / 0.717 GB, free: 1.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.1579, allocations: 12.03 kB / 0.717 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.003e-05/0.1579, allocations: 17.3 kB / 0.717 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.1581, allocations: 114.5 kB / 0.7171 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.1629, allocations: 0.768 MB / 0.7179 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.164, allocations: 0.6337 MB / 0.7185 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.1643, allocations: 298.9 kB / 0.7188 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1645, allocations: 68 kB / 0.7188 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.1665, allocations: 0.9433 MB / 0.7197 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1665, allocations: 8 kB / 0.7198 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.1666, allocations: 32 kB / 0.7198 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1666, allocations: 16 kB / 0.7198 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.1687, allocations: 0.9693 MB / 0.7207 GB, free: 13.27 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.00489/0.1736, allocations: 2.343 MB / 0.723 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.1754, allocations: 0.7844 MB / 0.7238 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.1767, allocations: 0.6318 MB / 0.7244 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.1768, allocations: 8.656 kB / 0.7244 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1768, allocations: 39.22 kB / 0.7245 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 2.865e-06/0.1768, allocations: 0 / 0.7245 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02579/0.2026, allocations: 6.589 MB / 0.7309 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.2027, allocations: 68 kB / 0.731 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.2038, allocations: 0.7828 MB / 0.7317 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.204, allocations: 41.69 kB / 0.7318 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.2043, allocations: 441 kB / 0.7322 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.2046, allocations: 301.4 kB / 0.7325 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.205, allocations: 178.6 kB / 0.7326 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2052, allocations: 341.9 kB / 0.733 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2066, allocations: 0.6387 MB / 0.7336 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.2081, allocations: 0.7626 MB / 0.7343 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/0.2261, allocations: 4.559 MB / 0.7388 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.2261, allocations: 0 / 0.7388 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01319/0.2393, allocations: 4.013 MB / 0.7427 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.2393, allocations: 8 kB / 0.7427 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2394, allocations: 0 / 0.7427 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006573/0.2459, allocations: 1.866 MB / 0.7445 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.2469, allocations: 163.7 kB / 0.7447 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.2693, allocations: 8.805 MB / 0.7533 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.2706, allocations: 155.3 kB / 0.7534 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.2708, allocations: 35.98 kB / 0.7535 GB, free: 11.42 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.0005595/0.2714, allocations: 222.8 kB / 0.7537 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.2717, allocations: 111.3 kB / 0.7538 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.2844, allocations: 3.789 MB / 0.7575 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.2844, allocations: 8 kB / 0.7575 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2844, allocations: 4 kB / 0.7575 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.2844, allocations: 3.984 kB / 0.7575 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.2987, allocations: 4.696 MB / 0.7621 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.2987, allocations: 3.938 kB / 0.7621 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.2992, allocations: 91.83 kB / 0.7622 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005835/0.3051, allocations: 1.738 MB / 0.7639 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.3052, allocations: 16 kB / 0.7639 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.3238, allocations: 7.782 MB / 0.7715 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3238, allocations: 0 / 0.7715 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.3383, allocations: 4.658 MB / 0.7761 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.3387, allocations: 127 kB / 0.7762 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.3389, allocations: 19.94 kB / 0.7762 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009955/0.3399, allocations: 87.95 kB / 0.7763 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/0.3406, allocations: 208.6 kB / 0.7765 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/0.3407, allocations: 19.94 kB / 0.7765 GB, free: 3.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007533/0.3414, allocations: 0.5303 MB / 0.777 GB, free: 3.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3414, allocations: 0 / 0.777 GB, free: 3.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001386/0.3428, allocations: 403.7 kB / 0.7774 GB, free: 2.688 MB / 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.01475/0.3576, allocations: 5.234 MB / 0.7825 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006441/0.364, allocations: 2.2 MB / 0.7847 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.364, allocations: 0 / 0.7847 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004567/0.3686, allocations: 1.429 MB / 0.7861 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.3694, allocations: 79.31 kB / 0.7861 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/0.4061, allocations: 13.94 MB / 0.7997 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.4067, allocations: 437.9 kB / 0.8002 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003855/0.4071, allocations: 74.19 kB / 0.8002 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/0.4077, allocations: 383.2 kB / 0.8006 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of SimCode: time 1.193e-06/0.4077, allocations: 0 / 0.8006 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/0.7567, allocations: 32.02 MB / 0.8319 GB, free: 99.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/17.2, allocations: 14.7 kB / 0.8319 GB, free: 99.95 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.75548508099746] Failed to read output from testmodel.py, exit status != 0: 17.383455183007754 17.394008132 17.241391581 Calling exit ...