Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.0007604/0.0007604, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.823/0.823, allocations: 177.2 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.001083/0.001083, allocations: 160.2 kB / 256 MB, free: 13.34 MB / 250.7 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.2577/0.2577, allocations: 80.36 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.903e-05, allocations: 6.219 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.003951/0.00397, allocations: 4.729 MB / 0.5596 GB, free: 7.828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.006624, allocations: 1.653 MB / 0.5612 GB, free: 6.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.007138, allocations: 11.94 kB / 0.5612 GB, free: 6.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.007564, allocations: 186.3 kB / 0.5614 GB, free: 5.977 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.008831, allocations: 0.6794 MB / 0.562 GB, free: 5.293 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.00961, allocations: 0.5126 MB / 0.5626 GB, free: 4.785 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.01062, allocations: 1.128 MB / 0.5637 GB, free: 3.652 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.01091, allocations: 170.9 kB / 0.5638 GB, free: 3.469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.01166, allocations: 0.6506 MB / 0.5645 GB, free: 2.816 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.01213, allocations: 482.5 kB / 0.5649 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.01226, allocations: 80 kB / 0.565 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.01264, allocations: 235.7 kB / 0.5652 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.01279, allocations: 231 kB / 0.5654 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.01303, allocations: 330.9 kB / 0.5657 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.01416, allocations: 1.281 MB / 0.567 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01416, allocations: 4 kB / 0.567 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01416, allocations: 4 kB / 0.567 GB, free: 196 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.01419, allocations: 0 / 0.567 GB, free: 196 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003912/0.0181, allocations: 2.097 MB / 0.5691 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.01814, allocations: 8.031 kB / 0.5691 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.01839, allocations: 106.7 kB / 0.5692 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.02051, allocations: 0.6864 MB / 0.5698 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.02132, allocations: 0.6128 MB / 0.5704 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.02145, allocations: 172.1 kB / 0.5706 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.02154, allocations: 60 kB / 0.5707 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.02271, allocations: 0.8575 MB / 0.5715 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.02273, allocations: 0 / 0.5715 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.02278, allocations: 24 kB / 0.5715 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.02279, allocations: 16 kB / 0.5715 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.02397, allocations: 0.8873 MB / 0.5724 GB, free: 10.56 MB / 0.4948 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.002991/0.02696, allocations: 1.869 MB / 0.5742 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/0.02791, allocations: 0.6689 MB / 0.5749 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.02862, allocations: 0.5624 MB / 0.5754 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.02869, allocations: 12.66 kB / 0.5754 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.02871, allocations: 39.22 kB / 0.5755 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 3.247e-06/0.02871, allocations: 0 / 0.5755 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01112/0.03983, allocations: 5.448 MB / 0.5808 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.03987, allocations: 60.06 kB / 0.5809 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.04062, allocations: 0.7632 MB / 0.5816 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.04071, allocations: 37.7 kB / 0.5816 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.04092, allocations: 409 kB / 0.582 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.04114, allocations: 281.6 kB / 0.5823 GB, free: 308 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.04136, allocations: 178.6 kB / 0.5825 GB, free: 124 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.04146, allocations: 345.9 kB / 0.5828 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007949/0.04226, allocations: 0.5993 MB / 0.5834 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.04309, allocations: 0.7123 MB / 0.5841 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.04476, allocations: 1.311 MB / 0.5854 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04477, allocations: 0 / 0.5854 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006128/0.0509, allocations: 3.466 MB / 0.5887 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.05092, allocations: 4 kB / 0.5887 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.05093, allocations: 7.984 kB / 0.5887 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.05362, allocations: 1.45 MB / 0.5902 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.05412, allocations: 171.7 kB / 0.5903 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.06474, allocations: 7.551 MB / 0.5977 GB, free: 344 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/0.06547, allocations: 147.5 kB / 0.5978 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.06553, allocations: 35.98 kB / 0.5979 GB, free: 160 kB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * 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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.1892/0.2548, allocations: 221.2 kB / 0.5981 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.255, allocations: 104 kB / 0.5982 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005135/0.2601, allocations: 3.188 MB / 0.6013 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.2601, allocations: 5.969 kB / 0.6013 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2601, allocations: 2.594 kB / 0.6013 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2601, allocations: 14.03 kB / 0.6013 GB, free: 92.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.2663, allocations: 4.058 MB / 0.6053 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2663, allocations: 3.969 kB / 0.6053 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2666, allocations: 96.44 kB / 0.6054 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/0.269, allocations: 1.399 MB / 0.6067 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.2691, allocations: 17.16 kB / 0.6068 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008868/0.278, allocations: 6.475 MB / 0.6131 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.278, allocations: 4.656 kB / 0.6131 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/0.285, allocations: 4.022 MB / 0.617 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.2852, allocations: 115.8 kB / 0.6171 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.2853, allocations: 10.69 kB / 0.6171 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.2857, allocations: 82.78 kB / 0.6172 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004623/0.2862, allocations: 166.2 kB / 0.6174 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.2862, allocations: 27.56 kB / 0.6174 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004614/0.2867, allocations: 0.5197 MB / 0.6179 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2867, allocations: 4 kB / 0.6179 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007996/0.2875, allocations: 365 kB / 0.6183 GB, free: 87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007494/0.295, allocations: 4.594 MB / 0.6228 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.2983, allocations: 1.948 MB / 0.6247 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2983, allocations: 0 / 0.6247 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.3005, allocations: 1.223 MB / 0.6258 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.3011, allocations: 80.12 kB / 0.6259 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.3182, allocations: 12.6 MB / 0.6382 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3185, allocations: 422.2 kB / 0.6386 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.3187, allocations: 100.4 kB / 0.6387 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.319, allocations: 345.1 kB / 0.6391 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/0.319, allocations: 0 / 0.6391 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.3535, allocations: 29.54 MB / 0.6679 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.236, allocations: 3.266 kB / 0.6679 GB, free: 49.44 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.425243431702256] Failed to read output from testmodel.py, exit status != 0: 8.331161696463823 8.337898965 8.322180143 Calling exit ...