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.001284/0.001284, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.419/1.419, allocations: 230.6 MB / 249.8 MB, free: 9.223 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.001559/0.001559, allocations: 219 kB / 306 MB, free: 4.32 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.4385/0.4385, allocations: 79.71 MB / 441.8 MB, free: 164 kB / 302.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.002375/0.002375, allocations: 91.86 kB / 0.5878 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1262, allocations: 73.25 MB / 0.6594 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006615/0.1328, allocations: 5.775 MB / 0.665 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.136, allocations: 1.79 MB / 0.6667 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1363, allocations: 11.94 kB / 0.6668 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1367, allocations: 206.2 kB / 0.6669 GB, free: 420 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.1384, allocations: 0.7481 MB / 0.6677 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1396, allocations: 0.549 MB / 0.6682 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.141, allocations: 1.26 MB / 0.6694 GB, free: 13.85 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.1413, allocations: 183.2 kB / 0.6696 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.142, allocations: 0.5407 MB / 0.6702 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.1427, allocations: 0.6494 MB / 0.6708 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1428, allocations: 92 kB / 0.6709 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.1433, allocations: 239.8 kB / 0.6711 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1435, allocations: 246.9 kB / 0.6713 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.144, allocations: 0.5398 MB / 0.6719 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.1456, allocations: 1.385 MB / 0.6732 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1456, allocations: 0 / 0.6732 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1456, allocations: 0 / 0.6732 GB, free: 9.969 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1456, allocations: 0 / 0.6732 GB, free: 9.969 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.008131/0.1538, allocations: 2.402 MB / 0.6756 GB, free: 7.512 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1538, allocations: 8.031 kB / 0.6756 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.154, allocations: 118.5 kB / 0.6757 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.1592, allocations: 0.7641 MB / 0.6764 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1604, allocations: 0.7174 MB / 0.6771 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.1607, allocations: 248.2 kB / 0.6774 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1609, allocations: 72 kB / 0.6774 GB, free: 5.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.163, allocations: 0.952 MB / 0.6784 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1631, allocations: 7.922 kB / 0.6784 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.1632, allocations: 24 kB / 0.6784 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.1632, allocations: 16 kB / 0.6784 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.1655, allocations: 0.9799 MB / 0.6794 GB, free: 3.516 MB / 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.005582/0.171, allocations: 3.17 MB / 0.6825 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.1733, allocations: 1.229 MB / 0.6837 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.1748, allocations: 0.6358 MB / 0.6843 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1749, allocations: 8.656 kB / 0.6843 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1749, allocations: 39.22 kB / 0.6843 GB, free: 14.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.275e-06/0.1749, allocations: 0 / 0.6843 GB, free: 14.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.02994/0.2048, allocations: 6.728 MB / 0.6909 GB, free: 7.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.2049, allocations: 64 kB / 0.691 GB, free: 7.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.206, allocations: 0.8065 MB / 0.6917 GB, free: 6.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.2061, allocations: 37.7 kB / 0.6918 GB, free: 6.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.2065, allocations: 437.1 kB / 0.6922 GB, free: 6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.2068, allocations: 309.3 kB / 0.6925 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.2072, allocations: 182.9 kB / 0.6927 GB, free: 5.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2074, allocations: 345.9 kB / 0.693 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.209, allocations: 0.6506 MB / 0.6936 GB, free: 4.516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.2108, allocations: 0.7756 MB / 0.6944 GB, free: 3.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2518/0.4626, allocations: 4.603 MB / 0.6989 GB, free: 34.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4626, allocations: 0 / 0.6989 GB, free: 34.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01471/0.4773, allocations: 4.088 MB / 0.7029 GB, free: 34.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4773, allocations: 6.469 kB / 0.7029 GB, free: 34.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.4773, allocations: 1.5 kB / 0.7029 GB, free: 34.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00693/0.4843, allocations: 1.794 MB / 0.7046 GB, free: 34.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.4852, allocations: 166.2 kB / 0.7048 GB, free: 34.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/0.5079, allocations: 9.339 MB / 0.7139 GB, free: 30.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5092, allocations: 164 kB / 0.7141 GB, free: 30.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.5093, allocations: 36.34 kB / 0.7141 GB, free: 30.38 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.0004015/0.5097, allocations: 218.9 kB / 0.7143 GB, free: 30.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.5099, allocations: 105.5 kB / 0.7144 GB, free: 30.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.5235, allocations: 3.799 MB / 0.7181 GB, free: 29.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5235, allocations: 13.89 kB / 0.7181 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5235, allocations: 3.703 kB / 0.7181 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5236, allocations: 5.297 kB / 0.7182 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5381, allocations: 5.316 MB / 0.7233 GB, free: 27.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5381, allocations: 0 / 0.7233 GB, free: 27.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5386, allocations: 88.61 kB / 0.7234 GB, free: 27.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/0.5448, allocations: 1.748 MB / 0.7251 GB, free: 26.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5449, allocations: 15.91 kB / 0.7251 GB, free: 26.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.5625, allocations: 8.077 MB / 0.733 GB, free: 21.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5625, allocations: 3.625 kB / 0.733 GB, free: 21.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.5764, allocations: 4.68 MB / 0.7376 GB, free: 18.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5767, allocations: 195.4 kB / 0.7378 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5768, allocations: 15.94 kB / 0.7378 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.5777, allocations: 91.89 kB / 0.7379 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/0.5783, allocations: 200.7 kB / 0.7381 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.5783, allocations: 16 kB / 0.7381 GB, free: 17.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005189/0.5788, allocations: 0.5421 MB / 0.7386 GB, free: 17.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5788, allocations: 0 / 0.7386 GB, free: 17.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001138/0.58, allocations: 412 kB / 0.739 GB, free: 16.91 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.01401/0.594, allocations: 5.267 MB / 0.7442 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006077/0.6001, allocations: 2.227 MB / 0.7463 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6001, allocations: 4.562 kB / 0.7463 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.6044, allocations: 1.452 MB / 0.7478 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.6051, allocations: 75.34 kB / 0.7478 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/0.6405, allocations: 14.1 MB / 0.7616 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.6412, allocations: 1.033 MB / 0.7626 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003197/0.6415, allocations: 78.17 kB / 0.7627 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.6421, allocations: 371.3 kB / 0.7631 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of SimCode: time 1.684e-06/0.6421, allocations: 4 kB / 0.7631 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/0.7108, allocations: 31.4 MB / 0.7937 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.56, allocations: 0.875 kB / 0.7937 GB, free: 8.797 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: 19.82156762899831] Failed to read output from testmodel.py, exit status != 0: 16.671831571002258 16.692988866 16.543539412 Calling exit ...