Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.00128/0.00128, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.406/1.406, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.001586/0.001586, allocations: 205.2 kB / 309.2 MB, free: 3.148 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.4461/0.4461, allocations: 79.74 MB / 445.4 MB, free: 14.86 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.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.002513/0.002513, allocations: 95.86 kB / 0.5929 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1285, allocations: 73.28 MB / 0.6645 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006945/0.1354, allocations: 5.807 MB / 0.6702 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1391, allocations: 1.79 MB / 0.6719 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.1396, allocations: 8 kB / 0.6719 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.1401, allocations: 210.2 kB / 0.6721 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1418, allocations: 0.7578 MB / 0.6729 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.143, allocations: 0.5458 MB / 0.6734 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1444, allocations: 1.264 MB / 0.6746 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1448, allocations: 183.6 kB / 0.6748 GB, free: 9.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.1454, allocations: 0.5485 MB / 0.6753 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.1462, allocations: 0.6495 MB / 0.676 GB, free: 8.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1463, allocations: 91.94 kB / 0.6761 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.1468, allocations: 235.9 kB / 0.6763 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.147, allocations: 250.8 kB / 0.6765 GB, free: 8.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004949/0.1475, allocations: 0.5437 MB / 0.6771 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.1491, allocations: 1.377 MB / 0.6784 GB, free: 6.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1491, allocations: 0 / 0.6784 GB, free: 6.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1491, allocations: 0 / 0.6784 GB, free: 6.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1491, allocations: 0 / 0.6784 GB, free: 6.258 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007748/0.1568, allocations: 2.327 MB / 0.6807 GB, free: 3.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1569, allocations: 15.98 kB / 0.6807 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.157, allocations: 114.5 kB / 0.6808 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.162, allocations: 0.768 MB / 0.6816 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1632, allocations: 0.6452 MB / 0.6822 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.1636, allocations: 303.6 kB / 0.6825 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1637, allocations: 75.94 kB / 0.6825 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.1658, allocations: 0.9559 MB / 0.6835 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1658, allocations: 0 / 0.6835 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.1659, allocations: 28 kB / 0.6835 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1659, allocations: 16 kB / 0.6835 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.1681, allocations: 0.976 MB / 0.6845 GB, free: 15.91 MB / 494.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.005497/0.1736, allocations: 3.115 MB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.1755, allocations: 0.7707 MB / 0.6883 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.1768, allocations: 0.6319 MB / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.177, allocations: 12.64 kB / 0.6889 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.177, allocations: 43.16 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.384e-06/0.177, allocations: 0 / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.02773/0.2047, allocations: 6.667 MB / 0.6955 GB, free: 4.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2048, allocations: 67.94 kB / 0.6955 GB, free: 4.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.2059, allocations: 0.8026 MB / 0.6963 GB, free: 3.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.206, allocations: 41.7 kB / 0.6963 GB, free: 3.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.2064, allocations: 429.1 kB / 0.6968 GB, free: 3.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.2067, allocations: 313.3 kB / 0.6971 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.2071, allocations: 182.9 kB / 0.6972 GB, free: 2.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2073, allocations: 341.9 kB / 0.6976 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.2088, allocations: 0.6545 MB / 0.6982 GB, free: 1.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.2105, allocations: 0.7717 MB / 0.6989 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2624/0.4729, allocations: 4.603 MB / 0.7034 GB, free: 33.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.4729, allocations: 1.438 kB / 0.7034 GB, free: 33.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01385/0.4868, allocations: 4.085 MB / 0.7074 GB, free: 32.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.4868, allocations: 8.5 kB / 0.7074 GB, free: 32.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4868, allocations: 3.281 kB / 0.7074 GB, free: 32.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006292/0.4931, allocations: 1.787 MB / 0.7092 GB, free: 32.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.4939, allocations: 166.5 kB / 0.7093 GB, free: 32.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/0.5147, allocations: 9.221 MB / 0.7184 GB, free: 29.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.5159, allocations: 158.7 kB / 0.7185 GB, free: 29.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.516, allocations: 36.48 kB / 0.7185 GB, free: 29.16 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003677/0.5164, allocations: 239 kB / 0.7188 GB, free: 28.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5165, allocations: 104.1 kB / 0.7189 GB, free: 28.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.5283, allocations: 3.791 MB / 0.7226 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5283, allocations: 11.84 kB / 0.7226 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5283, allocations: 0.9844 kB / 0.7226 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5283, allocations: 8.5 kB / 0.7226 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.5416, allocations: 5.286 MB / 0.7277 GB, free: 25.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5416, allocations: 5.328 kB / 0.7278 GB, free: 25.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.5421, allocations: 89.14 kB / 0.7278 GB, free: 25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005384/0.5475, allocations: 1.751 MB / 0.7295 GB, free: 24.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.5476, allocations: 10.75 kB / 0.7296 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/0.5632, allocations: 7.97 MB / 0.7373 GB, free: 19.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5632, allocations: 0 / 0.7373 GB, free: 19.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.5761, allocations: 4.686 MB / 0.7419 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.5764, allocations: 118.3 kB / 0.742 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.5765, allocations: 19.94 kB / 0.742 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.5774, allocations: 91.89 kB / 0.7421 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/0.5779, allocations: 212.6 kB / 0.7423 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.578, allocations: 20 kB / 0.7424 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.5785, allocations: 0.5382 MB / 0.7429 GB, free: 13.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5785, allocations: 0 / 0.7429 GB, free: 13.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001021/0.5795, allocations: 409.4 kB / 0.7433 GB, free: 13.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01266/0.5922, allocations: 5.265 MB / 0.7484 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005521/0.5977, allocations: 2.221 MB / 0.7506 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5977, allocations: 0 / 0.7506 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003834/0.6015, allocations: 1.44 MB / 0.752 GB, free: 4.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.6021, allocations: 76.66 kB / 0.7521 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/0.6364, allocations: 14.12 MB / 0.7659 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.6371, allocations: 1.033 MB / 0.7669 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.6374, allocations: 82.17 kB / 0.7669 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.6379, allocations: 367.3 kB / 0.7673 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.6379, allocations: 3.938 kB / 0.7673 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0745/0.7124, allocations: 32.26 MB / 0.7988 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/17.33, allocations: 1.312 kB / 0.7988 GB, free: 4.426 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.636540931001946] Failed to read output from testmodel.py, exit status != 0: 17.463632063998375 17.487583571 17.334011056 Calling exit ...