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.001322/0.001322, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.451/1.451, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001564/0.001564, allocations: 210.2 kB / 306 MB, free: 4.285 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.4619/0.4619, allocations: 79.72 MB / 441.8 MB, free: 124 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.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.002339/0.002339, allocations: 87.88 kB / 0.5878 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1368, allocations: 73.26 MB / 0.6594 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007173/0.144, allocations: 5.717 MB / 0.6649 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.1478, allocations: 1.778 MB / 0.6667 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.1482, allocations: 8 kB / 0.6667 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.1487, allocations: 202.3 kB / 0.6669 GB, free: 460 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.1504, allocations: 0.7458 MB / 0.6676 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1517, allocations: 0.5515 MB / 0.6681 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1532, allocations: 1.233 MB / 0.6694 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.1536, allocations: 187.1 kB / 0.6695 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000761/0.1544, allocations: 0.5368 MB / 0.6701 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.1552, allocations: 0.6416 MB / 0.6707 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.1553, allocations: 88 kB / 0.6708 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.1558, allocations: 235.8 kB / 0.671 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.1561, allocations: 235 kB / 0.6712 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.1566, allocations: 0.5398 MB / 0.6717 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.1583, allocations: 1.365 MB / 0.6731 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1583, allocations: 0 / 0.6731 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1583, allocations: 0 / 0.6731 GB, free: 10.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.1583, allocations: 0 / 0.6731 GB, free: 10.07 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.008142/0.1664, allocations: 2.383 MB / 0.6754 GB, free: 7.637 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1665, allocations: 8.031 kB / 0.6754 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.1666, allocations: 114.5 kB / 0.6755 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.1719, allocations: 0.7602 MB / 0.6763 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.1731, allocations: 0.7135 MB / 0.677 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.1734, allocations: 251.5 kB / 0.6772 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.1735, allocations: 67.94 kB / 0.6773 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.1757, allocations: 0.9433 MB / 0.6782 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1758, allocations: 0 / 0.6782 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.1759, allocations: 28 kB / 0.6782 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1759, allocations: 16 kB / 0.6782 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.1782, allocations: 0.9733 MB / 0.6792 GB, free: 3.672 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.005693/0.1839, allocations: 3.14 MB / 0.6822 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.1863, allocations: 1.238 MB / 0.6834 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.1878, allocations: 0.6318 MB / 0.6841 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.1879, allocations: 12.64 kB / 0.6841 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.188, allocations: 39.22 kB / 0.6841 GB, free: 14.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=81): time 2.514e-06/0.188, allocations: 0 / 0.6841 GB, free: 14.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.0295/0.2175, allocations: 6.67 MB / 0.6906 GB, free: 7.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.2175, allocations: 68 kB / 0.6907 GB, free: 7.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.2187, allocations: 0.7867 MB / 0.6915 GB, free: 6.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.2188, allocations: 37.7 kB / 0.6915 GB, free: 6.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.2192, allocations: 437 kB / 0.6919 GB, free: 6.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.2196, allocations: 301.4 kB / 0.6922 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.22, allocations: 182.6 kB / 0.6924 GB, free: 5.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2202, allocations: 341.9 kB / 0.6927 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.2217, allocations: 0.6425 MB / 0.6933 GB, free: 4.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.2234, allocations: 0.7627 MB / 0.6941 GB, free: 4.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2609/0.4843, allocations: 4.553 MB / 0.6985 GB, free: 35.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4843, allocations: 0.7188 kB / 0.6985 GB, free: 35.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0143/0.4986, allocations: 4.004 MB / 0.7024 GB, free: 35.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4986, allocations: 6.453 kB / 0.7024 GB, free: 35.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4986, allocations: 10.66 kB / 0.7024 GB, free: 35.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007094/0.5057, allocations: 1.867 MB / 0.7043 GB, free: 35.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.5066, allocations: 161.3 kB / 0.7044 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/0.5295, allocations: 9.098 MB / 0.7133 GB, free: 31.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5307, allocations: 152.6 kB / 0.7135 GB, free: 31.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/0.5308, allocations: 36.3 kB / 0.7135 GB, free: 31.8 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.0003761/0.5312, allocations: 231.4 kB / 0.7137 GB, free: 31.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.5314, allocations: 107.7 kB / 0.7138 GB, free: 31.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.5445, allocations: 3.787 MB / 0.7175 GB, free: 30.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5445, allocations: 9.391 kB / 0.7175 GB, free: 30.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.5445, allocations: 0 / 0.7175 GB, free: 30.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5445, allocations: 8.5 kB / 0.7175 GB, free: 30.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.5589, allocations: 5.287 MB / 0.7227 GB, free: 28.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5589, allocations: 4.875 kB / 0.7227 GB, free: 28.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.5594, allocations: 89.52 kB / 0.7228 GB, free: 28.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005958/0.5654, allocations: 1.737 MB / 0.7245 GB, free: 27.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5655, allocations: 16.27 kB / 0.7245 GB, free: 27.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.5831, allocations: 8.09 MB / 0.7324 GB, free: 22.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5831, allocations: 3.969 kB / 0.7324 GB, free: 22.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.5969, allocations: 4.662 MB / 0.737 GB, free: 19.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5971, allocations: 188.8 kB / 0.7371 GB, free: 18.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5973, allocations: 18.25 kB / 0.7371 GB, free: 18.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/0.5982, allocations: 95.83 kB / 0.7372 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/0.5987, allocations: 200.8 kB / 0.7374 GB, free: 18.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.5988, allocations: 20 kB / 0.7374 GB, free: 18.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005313/0.5993, allocations: 0.5281 MB / 0.738 GB, free: 18.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5993, allocations: 0 / 0.738 GB, free: 18.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001075/0.6004, allocations: 413.8 kB / 0.7384 GB, free: 17.68 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.01382/0.6142, allocations: 5.231 MB / 0.7435 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006143/0.6203, allocations: 2.202 MB / 0.7456 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6203, allocations: 0 / 0.7456 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00429/0.6246, allocations: 1.435 MB / 0.747 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.6253, allocations: 75.95 kB / 0.7471 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.6608, allocations: 13.93 MB / 0.7607 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.6616, allocations: 1.025 MB / 0.7617 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.6619, allocations: 82.17 kB / 0.7618 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/0.6624, allocations: 379.3 kB / 0.7621 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.6624, allocations: 3.938 kB / 0.7621 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/0.7348, allocations: 30.92 MB / 0.7923 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.57, allocations: 11.02 kB / 0.7923 GB, free: 10.32 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.068217188003473] Failed to read output from testmodel.py, exit status != 0: 16.67187024198938 16.693394075 16.531234671 Calling exit ...