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.001673/0.001673, 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.47/1.47, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001602/0.001602, allocations: 214.8 kB / 309.2 MB, free: 3.176 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.4399/0.4399, allocations: 79.74 MB / 445.4 MB, free: 14.87 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.003829/0.003829, allocations: 83.86 kB / 0.5929 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1742, allocations: 73.28 MB / 0.6645 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006861/0.181, allocations: 5.743 MB / 0.6701 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.1848, allocations: 1.782 MB / 0.6719 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.1854, allocations: 11.94 kB / 0.6719 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.186, allocations: 206.3 kB / 0.6721 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.1879, allocations: 0.7511 MB / 0.6728 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1892, allocations: 0.5501 MB / 0.6733 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.1909, allocations: 1.237 MB / 0.6745 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1913, allocations: 187.5 kB / 0.6747 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008077/0.1921, allocations: 0.533 MB / 0.6752 GB, free: 9.562 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008246/0.193, allocations: 0.6455 MB / 0.6759 GB, free: 8.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1931, allocations: 84 kB / 0.6759 GB, free: 8.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005035/0.1936, allocations: 239.9 kB / 0.6762 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.1939, allocations: 238.9 kB / 0.6764 GB, free: 8.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.1944, allocations: 0.5359 MB / 0.6769 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.1961, allocations: 1.361 MB / 0.6783 GB, free: 6.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.1961, allocations: 7.984 kB / 0.6783 GB, free: 6.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1961, allocations: 0 / 0.6783 GB, free: 6.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.1961, allocations: 0 / 0.6783 GB, free: 6.449 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.008062/0.2042, allocations: 2.304 MB / 0.6805 GB, free: 4.109 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.2043, allocations: 15.98 kB / 0.6805 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.2044, allocations: 110.5 kB / 0.6806 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.2095, allocations: 0.7603 MB / 0.6814 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.2109, allocations: 0.6414 MB / 0.682 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.2113, allocations: 306.8 kB / 0.6823 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.2114, allocations: 67.94 kB / 0.6824 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.2135, allocations: 0.9472 MB / 0.6833 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2135, allocations: 4 kB / 0.6833 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.2136, allocations: 24 kB / 0.6833 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.2136, allocations: 16 kB / 0.6833 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.2158, allocations: 0.9655 MB / 0.6843 GB, free: 168 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.005908/0.2217, allocations: 3.1 MB / 0.6873 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2237, allocations: 0.7783 MB / 0.6881 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.2251, allocations: 0.628 MB / 0.6887 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2252, allocations: 8.656 kB / 0.6887 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.2252, allocations: 43.16 kB / 0.6887 GB, free: 11.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=81): time 3.076e-06/0.2252, allocations: 0 / 0.6887 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.02739/0.2526, allocations: 6.6 MB / 0.6952 GB, free: 4.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.2527, allocations: 67.94 kB / 0.6952 GB, free: 4.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2539, allocations: 0.7828 MB / 0.696 GB, free: 3.953 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.254, allocations: 37.7 kB / 0.696 GB, free: 3.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.2544, allocations: 445 kB / 0.6965 GB, free: 3.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.2548, allocations: 301.4 kB / 0.6967 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/0.2552, allocations: 174.6 kB / 0.6969 GB, free: 2.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2554, allocations: 345.9 kB / 0.6972 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.2569, allocations: 0.6425 MB / 0.6979 GB, free: 2.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.2585, allocations: 0.7627 MB / 0.6986 GB, free: 1.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2575/0.516, allocations: 4.555 MB / 0.7031 GB, free: 33.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.516, allocations: 3.906 kB / 0.7031 GB, free: 33.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01348/0.5295, allocations: 4.001 MB / 0.707 GB, free: 33.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.5295, allocations: 6.719 kB / 0.707 GB, free: 33.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.5295, allocations: 6.062 kB / 0.707 GB, free: 33.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006541/0.536, allocations: 1.864 MB / 0.7088 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.5369, allocations: 170.8 kB / 0.709 GB, free: 33.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.5584, allocations: 8.98 MB / 0.7177 GB, free: 29.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5596, allocations: 158.4 kB / 0.7179 GB, free: 29.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5597, allocations: 34.67 kB / 0.7179 GB, free: 29.74 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.000394/0.5601, allocations: 233.5 kB / 0.7181 GB, free: 29.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5603, allocations: 110.6 kB / 0.7182 GB, free: 29.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.5723, allocations: 3.783 MB / 0.7219 GB, free: 28.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5723, allocations: 11.59 kB / 0.722 GB, free: 28.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5723, allocations: 0 / 0.722 GB, free: 28.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.5723, allocations: 5.984 kB / 0.722 GB, free: 28.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.5858, allocations: 5.271 MB / 0.7271 GB, free: 25.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.5859, allocations: 1.094 kB / 0.7271 GB, free: 25.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.5864, allocations: 87.98 kB / 0.7272 GB, free: 25.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005471/0.5919, allocations: 1.738 MB / 0.7289 GB, free: 24.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.592, allocations: 11.62 kB / 0.7289 GB, free: 24.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.6084, allocations: 7.985 MB / 0.7367 GB, free: 19.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6084, allocations: 2.719 kB / 0.7367 GB, free: 19.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.6212, allocations: 4.663 MB / 0.7413 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.6215, allocations: 115.8 kB / 0.7414 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6216, allocations: 22.56 kB / 0.7414 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.6225, allocations: 91.83 kB / 0.7415 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005165/0.623, allocations: 212.7 kB / 0.7417 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.6231, allocations: 16 kB / 0.7417 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005091/0.6236, allocations: 0.5303 MB / 0.7422 GB, free: 14.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6236, allocations: 0 / 0.7422 GB, free: 14.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001057/0.6246, allocations: 403.7 kB / 0.7426 GB, free: 14.5 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.01283/0.6375, allocations: 5.233 MB / 0.7477 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005645/0.6431, allocations: 2.206 MB / 0.7499 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6431, allocations: 0 / 0.7499 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004077/0.6472, allocations: 1.433 MB / 0.7513 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.6479, allocations: 80.16 kB / 0.7513 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03511/0.683, allocations: 13.92 MB / 0.7649 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.6837, allocations: 1.025 MB / 0.7659 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000333/0.684, allocations: 78.83 kB / 0.766 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.6845, allocations: 381.7 kB / 0.7664 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.6845, allocations: 3.938 kB / 0.7664 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/0.7604, allocations: 31.76 MB / 0.7974 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/17.27, allocations: 7.812 kB / 0.7974 GB, free: 6.324 MB / 0.5294 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.766063986000518] Failed to read output from testmodel.py, exit status != 0: 17.4078843770003 17.431674288 17.230942136 Calling exit ...