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.001665/0.001665, allocations: 110.4 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.477/1.477, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001743/0.001743, allocations: 214.5 kB / 309.2 MB, free: 3.137 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.5593/0.5593, allocations: 101.3 MB / 467 MB, free: 10.33 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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_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.002485/0.002485, allocations: 83.88 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4024, allocations: 78.61 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00516/0.4076, allocations: 5.775 MB / 0.7068 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.4105, allocations: 1.791 MB / 0.7086 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.411, allocations: 12.97 kB / 0.7086 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.4114, allocations: 206.2 kB / 0.7088 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.4128, allocations: 0.7422 MB / 0.7095 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.4138, allocations: 0.5511 MB / 0.7101 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.415, allocations: 1.241 MB / 0.7113 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.4153, allocations: 188 kB / 0.7114 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.4158, allocations: 0.5418 MB / 0.712 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.4165, allocations: 0.6373 MB / 0.7126 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4166, allocations: 89.78 kB / 0.7127 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.417, allocations: 237.8 kB / 0.7129 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.4171, allocations: 238.7 kB / 0.7131 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.4175, allocations: 0.5385 MB / 0.7137 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.4188, allocations: 1.36 MB / 0.715 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4188, allocations: 0 / 0.715 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4188, allocations: 0 / 0.715 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.4189, allocations: 0 / 0.715 GB, free: 384 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007533/0.4264, allocations: 2.313 MB / 0.7173 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4264, allocations: 11.12 kB / 0.7173 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.4266, allocations: 113.2 kB / 0.7174 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/0.4314, allocations: 0.7605 MB / 0.7181 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.4327, allocations: 0.6452 MB / 0.7187 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.433, allocations: 302.4 kB / 0.719 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.4332, allocations: 67.61 kB / 0.7191 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.4352, allocations: 0.9481 MB / 0.72 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4352, allocations: 0 / 0.72 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/0.4353, allocations: 27.66 kB / 0.72 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4353, allocations: 15.75 kB / 0.7201 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.4374, allocations: 0.9685 MB / 0.721 GB, free: 13.68 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.005842/0.4432, allocations: 3.094 MB / 0.724 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.4452, allocations: 0.7803 MB / 0.7248 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4466, allocations: 0.6198 MB / 0.7254 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.4467, allocations: 10.59 kB / 0.7254 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.4468, allocations: 47.73 kB / 0.7255 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 2.725e-06/0.4468, allocations: 0 / 0.7255 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02728/0.4741, allocations: 6.594 MB / 0.7319 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4741, allocations: 71.39 kB / 0.732 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.4752, allocations: 0.7798 MB / 0.7327 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.4755, allocations: 40.17 kB / 0.7328 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.4758, allocations: 435.4 kB / 0.7332 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.4762, allocations: 309.6 kB / 0.7335 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.4765, allocations: 177.8 kB / 0.7336 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4767, allocations: 343.3 kB / 0.734 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.4782, allocations: 0.6379 MB / 0.7346 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.4798, allocations: 0.765 MB / 0.7353 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/0.4987, allocations: 4.571 MB / 0.7398 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.4987, allocations: 0 / 0.7398 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01363/0.5123, allocations: 4.005 MB / 0.7437 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5124, allocations: 6.875 kB / 0.7437 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5124, allocations: 2.062 kB / 0.7437 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008149/0.5205, allocations: 1.862 MB / 0.7455 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.5219, allocations: 161.2 kB / 0.7457 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03585/0.5577, allocations: 9.008 MB / 0.7545 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.5599, allocations: 155.3 kB / 0.7546 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.5601, allocations: 35.98 kB / 0.7547 GB, free: 9.344 MB / 0.5137 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.0007478/0.5608, allocations: 217.7 kB / 0.7549 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/0.5612, allocations: 107.3 kB / 0.755 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/0.5815, allocations: 3.793 MB / 0.7587 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.5815, allocations: 11.94 kB / 0.7587 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5815, allocations: 0 / 0.7587 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/0.5816, allocations: 3.984 kB / 0.7587 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/0.6045, allocations: 5.266 MB / 0.7638 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.6045, allocations: 3.938 kB / 0.7639 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.6053, allocations: 87.89 kB / 0.7639 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009461/0.6148, allocations: 1.741 MB / 0.7656 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/0.6151, allocations: 16 kB / 0.7657 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03074/0.6458, allocations: 7.973 MB / 0.7734 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6458, allocations: 0 / 0.7734 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/0.6701, allocations: 4.666 MB / 0.778 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.6706, allocations: 115.1 kB / 0.7781 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/0.671, allocations: 19.98 kB / 0.7781 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.6723, allocations: 91.97 kB / 0.7782 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000918/0.6733, allocations: 216.5 kB / 0.7784 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6734, allocations: 16 kB / 0.7784 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00109/0.6745, allocations: 0.5303 MB / 0.779 GB, free: 180 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6745, allocations: 4 kB / 0.779 GB, free: 176 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001952/0.6764, allocations: 403.7 kB / 0.7793 GB, free: 15.77 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.02437/0.7008, allocations: 5.23 MB / 0.7844 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.7114, allocations: 2.197 MB / 0.7866 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7114, allocations: 0.5625 kB / 0.7866 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007689/0.7191, allocations: 1.44 MB / 0.788 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.7203, allocations: 71.31 kB / 0.7881 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05735/0.7776, allocations: 13.94 MB / 0.8017 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.7783, allocations: 1.021 MB / 0.8027 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000429/0.7788, allocations: 78.19 kB / 0.8028 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/0.7793, allocations: 383.3 kB / 0.8031 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/0.7793, allocations: 0 / 0.8031 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07558/0.8549, allocations: 31.77 MB / 0.8341 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/17.9, allocations: 6.172 kB / 0.8341 GB, free: 7.52 MB / 0.5919 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_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: 21.50549214899729] Failed to read output from testmodel.py, exit status != 0: 18.035003067998332 18.0602939 17.636792573 Calling exit ...