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.001374/0.001374, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.439/1.439, allocations: 230.6 MB / 249.8 MB, free: 9.25 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.001655/0.001655, allocations: 216 kB / 306 MB, free: 4.316 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.5606/0.5606, allocations: 101.3 MB / 463.4 MB, free: 11.91 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.002552/0.002552, allocations: 87.88 kB / 0.6193 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1555, allocations: 78.58 MB / 0.6961 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2896/0.445, allocations: 5.794 MB / 0.7017 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.4486, allocations: 1.8 MB / 0.7035 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.4492, allocations: 11.78 kB / 0.7035 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.4496, allocations: 209.5 kB / 0.7037 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.4511, allocations: 0.7376 MB / 0.7044 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4522, allocations: 0.5632 MB / 0.7049 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.4533, allocations: 1.257 MB / 0.7062 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.4536, allocations: 192 kB / 0.7064 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.4542, allocations: 0.5384 MB / 0.7069 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.4549, allocations: 0.6563 MB / 0.7075 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.455, allocations: 92.28 kB / 0.7076 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.4555, allocations: 235.4 kB / 0.7078 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.4556, allocations: 242.2 kB / 0.7081 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.456, allocations: 0.5439 MB / 0.7086 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.4574, allocations: 1.378 MB / 0.7099 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4574, allocations: 0 / 0.7099 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4574, allocations: 0 / 0.7099 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.4574, allocations: 0 / 0.7099 GB, free: 1.016 MB / 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.00826/0.4657, allocations: 2.399 MB / 0.7123 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4657, allocations: 11.19 kB / 0.7123 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.4659, allocations: 125.4 kB / 0.7124 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.4711, allocations: 0.7603 MB / 0.7132 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.4726, allocations: 0.7126 MB / 0.7139 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.473, allocations: 255.6 kB / 0.7141 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4732, allocations: 65.03 kB / 0.7142 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.4754, allocations: 0.9625 MB / 0.7151 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4755, allocations: 1.188 kB / 0.7151 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4756, allocations: 26.81 kB / 0.7151 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4756, allocations: 22.77 kB / 0.7152 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.4779, allocations: 0.9776 MB / 0.7161 GB, free: 14.2 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.0068/0.4847, allocations: 3.164 MB / 0.7192 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.4872, allocations: 1.222 MB / 0.7204 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4889, allocations: 0.6271 MB / 0.721 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.489, allocations: 18.88 kB / 0.721 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.489, allocations: 38.38 kB / 0.7211 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/0.489, allocations: 1.188 kB / 0.7211 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.03175/0.5208, allocations: 6.723 MB / 0.7276 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.5208, allocations: 72.23 kB / 0.7277 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.5222, allocations: 0.798 MB / 0.7285 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.5224, allocations: 40.64 kB / 0.7285 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.5228, allocations: 435 kB / 0.7289 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/0.5232, allocations: 310.3 kB / 0.7292 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/0.5236, allocations: 189.5 kB / 0.7294 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5237, allocations: 342.2 kB / 0.7297 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.5254, allocations: 0.6514 MB / 0.7304 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.5272, allocations: 0.7793 MB / 0.7311 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/0.5478, allocations: 4.602 MB / 0.7356 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5478, allocations: 1.344 kB / 0.7356 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01517/0.563, allocations: 4.086 MB / 0.7396 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.563, allocations: 9.875 kB / 0.7396 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.563, allocations: 2.906 kB / 0.7396 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/0.5701, allocations: 1.794 MB / 0.7414 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.571, allocations: 164.5 kB / 0.7415 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/0.5955, allocations: 9.335 MB / 0.7506 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.5971, allocations: 155.3 kB / 0.7508 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5972, allocations: 36 kB / 0.7508 GB, free: 9.512 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.0005454/0.5978, allocations: 239 kB / 0.7511 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.598, allocations: 107.3 kB / 0.7512 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.6124, allocations: 3.794 MB / 0.7549 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.6124, allocations: 15.94 kB / 0.7549 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6124, allocations: 0 / 0.7549 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/0.6125, allocations: 3.984 kB / 0.7549 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.6296, allocations: 5.318 MB / 0.7601 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6296, allocations: 4 kB / 0.7601 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.6302, allocations: 87.83 kB / 0.7602 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0067/0.6369, allocations: 1.746 MB / 0.7619 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.6371, allocations: 16 kB / 0.7619 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/0.6582, allocations: 8.08 MB / 0.7698 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6582, allocations: 3.938 kB / 0.7698 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/0.6749, allocations: 4.678 MB / 0.7743 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.6753, allocations: 192.2 kB / 0.7745 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.6755, allocations: 16 kB / 0.7745 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.6766, allocations: 95.83 kB / 0.7746 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007019/0.6773, allocations: 196.7 kB / 0.7748 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.6773, allocations: 24 kB / 0.7748 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007694/0.6781, allocations: 0.5382 MB / 0.7754 GB, free: 4 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6781, allocations: 0 / 0.7754 GB, free: 4 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001324/0.6794, allocations: 411.7 kB / 0.7758 GB, free: 15.6 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.01673/0.6962, allocations: 5.257 MB / 0.7809 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007379/0.7035, allocations: 2.22 MB / 0.7831 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7035, allocations: 3.938 kB / 0.7831 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005147/0.7087, allocations: 1.442 MB / 0.7845 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.7096, allocations: 85.72 kB / 0.7846 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/0.7507, allocations: 14.12 MB / 0.7984 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.7515, allocations: 1.029 MB / 0.7994 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004751/0.752, allocations: 86.17 kB / 0.7994 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.7526, allocations: 371.3 kB / 0.7998 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.7526, allocations: 0 / 0.7998 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07608/0.8287, allocations: 31.39 MB / 0.8305 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/17.06, allocations: 11.98 kB / 0.8305 GB, free: 7.426 MB / 0.5919 GB " [Timeout remaining time 643] (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: 20.63188545196317] Failed to read output from testmodel.py, exit status != 0: 17.168655128916726 17.184595946 16.723992615 Calling exit ...