Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001643/0.001643, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.587/1.587, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001646/0.001646, allocations: 210.8 kB / 309.2 MB, free: 3.156 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.5621/0.5621, allocations: 101.4 MB / 467 MB, free: 10.34 MB / 334.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_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.002528/0.002528, allocations: 83.88 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4445, allocations: 78.61 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005207/0.4497, allocations: 5.839 MB / 0.7069 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.4528, allocations: 1.8 MB / 0.7087 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.4535, allocations: 12.75 kB / 0.7087 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.454, allocations: 201.6 kB / 0.7089 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.4555, allocations: 0.7476 MB / 0.7096 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.4566, allocations: 0.571 MB / 0.7101 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.4578, allocations: 1.251 MB / 0.7114 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.458, allocations: 195.4 kB / 0.7116 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.4586, allocations: 0.5398 MB / 0.7121 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.4592, allocations: 0.6536 MB / 0.7127 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.4593, allocations: 93.78 kB / 0.7128 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.4597, allocations: 236.8 kB / 0.713 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.4599, allocations: 241.5 kB / 0.7133 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.4602, allocations: 0.5417 MB / 0.7138 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4616, allocations: 1.375 MB / 0.7151 GB, free: 300 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4616, allocations: 2.875 kB / 0.7151 GB, free: 300 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4616, allocations: 0 / 0.7151 GB, free: 300 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.4616, allocations: 0 / 0.7151 GB, free: 300 kB / 494.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.007473/0.469, allocations: 2.334 MB / 0.7174 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4691, allocations: 8.719 kB / 0.7174 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.4693, allocations: 117.3 kB / 0.7175 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.474, allocations: 0.7603 MB / 0.7183 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4754, allocations: 0.6504 MB / 0.7189 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.4757, allocations: 306.4 kB / 0.7192 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4759, allocations: 71.48 kB / 0.7193 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.4779, allocations: 0.9542 MB / 0.7202 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4779, allocations: 0 / 0.7202 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.478, allocations: 29.41 kB / 0.7202 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.478, allocations: 16.55 kB / 0.7203 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.4801, allocations: 0.9741 MB / 0.7212 GB, free: 13.57 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.005998/0.4861, allocations: 3.123 MB / 0.7243 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.4881, allocations: 0.7724 MB / 0.725 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.4896, allocations: 0.628 MB / 0.7256 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.4897, allocations: 14.78 kB / 0.7256 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4897, allocations: 39.39 kB / 0.7257 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/0.4897, allocations: 0 / 0.7257 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.02757/0.5173, allocations: 6.656 MB / 0.7322 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.5174, allocations: 64.12 kB / 0.7322 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5187, allocations: 0.7978 MB / 0.733 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.5189, allocations: 40.3 kB / 0.7331 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.5193, allocations: 438.6 kB / 0.7335 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000406/0.5197, allocations: 311 kB / 0.7338 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.52, allocations: 180.2 kB / 0.7339 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5202, allocations: 342.2 kB / 0.7343 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.5217, allocations: 0.6558 MB / 0.7349 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.5233, allocations: 0.7838 MB / 0.7357 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.5417, allocations: 4.61 MB / 0.7402 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.5417, allocations: 0 / 0.7402 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01382/0.5555, allocations: 4.092 MB / 0.7442 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5555, allocations: 9.531 kB / 0.7442 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5555, allocations: 2.25 kB / 0.7442 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006352/0.5619, allocations: 1.787 MB / 0.7459 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.5628, allocations: 167.6 kB / 0.7461 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.5855, allocations: 9.224 MB / 0.7551 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.587, allocations: 155.3 kB / 0.7552 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5871, allocations: 35.98 kB / 0.7553 GB, free: 8.719 MB / 0.5137 GB 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.0004867/0.5876, allocations: 224.4 kB / 0.7555 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.5877, allocations: 111.3 kB / 0.7556 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.6005, allocations: 3.801 MB / 0.7593 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.6005, allocations: 8 kB / 0.7593 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6005, allocations: 0 / 0.7593 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.6006, allocations: 3.984 kB / 0.7593 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.616, allocations: 5.29 MB / 0.7645 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.616, allocations: 7.938 kB / 0.7645 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.6166, allocations: 95.83 kB / 0.7646 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/0.6226, allocations: 1.741 MB / 0.7663 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6227, allocations: 16 kB / 0.7663 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.6423, allocations: 7.969 MB / 0.7741 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6423, allocations: 0 / 0.7741 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.657, allocations: 4.682 MB / 0.7787 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.6574, allocations: 119.2 kB / 0.7788 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6575, allocations: 8 kB / 0.7788 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.6584, allocations: 91.89 kB / 0.7789 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000608/0.659, allocations: 204.6 kB / 0.7791 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.6591, allocations: 31.98 kB / 0.7791 GB, free: 20 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007458/0.6599, allocations: 0.5383 MB / 0.7796 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6599, allocations: 0 / 0.7796 GB, free: 15.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00115/0.661, allocations: 411.6 kB / 0.78 GB, free: 15.06 MB / 0.545 GB 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.01488/0.6759, allocations: 5.253 MB / 0.7851 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006581/0.6825, allocations: 2.231 MB / 0.7873 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.6825, allocations: 0 / 0.7873 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004842/0.6873, allocations: 1.428 MB / 0.7887 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.6881, allocations: 86.08 kB / 0.7888 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03858/0.7267, allocations: 14.14 MB / 0.8026 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.7274, allocations: 1.029 MB / 0.8036 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003463/0.7277, allocations: 78.19 kB / 0.8037 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.7282, allocations: 363.3 kB / 0.804 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7282, allocations: 0 / 0.804 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/0.8076, allocations: 32.25 MB / 0.8355 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/17.72, allocations: 18.23 kB / 0.8355 GB, free: 6.051 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.514195116000337] Failed to read output from testmodel.py, exit status != 0: 17.86132468299911 17.889660802 17.422790618 Calling exit ...