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.001571/0.001571, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.468/1.468, allocations: 230.6 MB / 252.7 MB, free: 14.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.001563/0.001563, allocations: 212.6 kB / 309.2 MB, free: 3.094 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.6411/0.6411, allocations: 107.3 MB / 473 MB, free: 29.58 MB / 350.1 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.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.002552/0.002552, allocations: 84.08 kB / 0.6332 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1708, allocations: 80.17 MB / 0.7115 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007522/0.1784, allocations: 5.048 MB / 0.7165 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004684/0.1831, allocations: 1.704 MB / 0.7181 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.1842, allocations: 11.94 kB / 0.7181 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.1849, allocations: 198.3 kB / 0.7183 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.1874, allocations: 0.7224 MB / 0.719 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.189, allocations: 0.5466 MB / 0.7196 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1909, allocations: 1.241 MB / 0.7208 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.1913, allocations: 175.6 kB / 0.7209 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009579/0.1923, allocations: 0.5406 MB / 0.7215 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/0.1933, allocations: 0.5753 MB / 0.722 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.1935, allocations: 88 kB / 0.7221 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.1941, allocations: 227.8 kB / 0.7223 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.1944, allocations: 242.9 kB / 0.7226 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.195, allocations: 445.5 kB / 0.723 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1968, allocations: 1.373 MB / 0.7243 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1968, allocations: 0 / 0.7243 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1968, allocations: 0 / 0.7243 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.1968, allocations: 4 kB / 0.7243 GB, free: 10.37 MB / 0.4981 GB 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.007907/0.2047, allocations: 2.308 MB / 0.7266 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2047, allocations: 8.031 kB / 0.7266 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.2049, allocations: 118.4 kB / 0.7267 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.21, allocations: 0.7603 MB / 0.7274 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.2113, allocations: 0.6374 MB / 0.7281 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.2117, allocations: 306.9 kB / 0.7284 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.2118, allocations: 68 kB / 0.7284 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.2139, allocations: 0.9433 MB / 0.7293 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.214, allocations: 0 / 0.7293 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.214, allocations: 31.94 kB / 0.7294 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.2141, allocations: 19.98 kB / 0.7294 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.2163, allocations: 0.9616 MB / 0.7303 GB, free: 4.082 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.005471/0.2218, allocations: 2.344 MB / 0.7326 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.2239, allocations: 0.7775 MB / 0.7334 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.2255, allocations: 0.6279 MB / 0.734 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/0.2256, allocations: 8.656 kB / 0.734 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.2256, allocations: 39.22 kB / 0.734 GB, free: 228 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 8.936e-06/0.2256, allocations: 7.984 kB / 0.734 GB, free: 220 kB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02813/0.2538, allocations: 6.596 MB / 0.7405 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.2538, allocations: 64 kB / 0.7405 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.2551, allocations: 0.7905 MB / 0.7413 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.2552, allocations: 41.7 kB / 0.7414 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.2556, allocations: 429.1 kB / 0.7418 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.256, allocations: 301.4 kB / 0.7421 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.2564, allocations: 178.6 kB / 0.7422 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2565, allocations: 345.9 kB / 0.7426 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.2582, allocations: 0.6464 MB / 0.7432 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.2599, allocations: 0.7588 MB / 0.7439 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.2791, allocations: 4.563 MB / 0.7484 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2791, allocations: 0 / 0.7484 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01435/0.2935, allocations: 4.013 MB / 0.7523 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2935, allocations: 4 kB / 0.7523 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2935, allocations: 4 kB / 0.7523 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/0.3002, allocations: 1.859 MB / 0.7541 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.3011, allocations: 171.7 kB / 0.7543 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/0.3243, allocations: 8.79 MB / 0.7629 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.3257, allocations: 155.2 kB / 0.763 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.3259, allocations: 35.98 kB / 0.7631 GB, free: 2.23 MB / 0.5294 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.0004807/0.3263, allocations: 230.8 kB / 0.7633 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.3265, allocations: 103.3 kB / 0.7634 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.3399, allocations: 3.793 MB / 0.7671 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.34, allocations: 8 kB / 0.7671 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.34, allocations: 0 / 0.7671 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.34, allocations: 3.984 kB / 0.7671 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.3553, allocations: 4.696 MB / 0.7717 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3553, allocations: 0 / 0.7717 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.3558, allocations: 95.77 kB / 0.7718 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/0.3622, allocations: 1.741 MB / 0.7735 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.3624, allocations: 16 kB / 0.7735 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/0.3827, allocations: 7.775 MB / 0.7811 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3827, allocations: 4 kB / 0.7811 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.3986, allocations: 4.666 MB / 0.7856 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.399, allocations: 119.1 kB / 0.7858 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.3991, allocations: 12 kB / 0.7858 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/0.4001, allocations: 91.95 kB / 0.7859 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/0.4007, allocations: 208.6 kB / 0.786 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.4008, allocations: 16 kB / 0.7861 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007351/0.4015, allocations: 0.5303 MB / 0.7866 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.4015, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001201/0.4027, allocations: 403.7 kB / 0.787 GB, free: 9.508 MB / 0.5606 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.01618/0.4189, allocations: 5.238 MB / 0.7921 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006913/0.4258, allocations: 2.202 MB / 0.7942 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4258, allocations: 0.5625 kB / 0.7942 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.4307, allocations: 1.444 MB / 0.7956 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.4315, allocations: 81.44 kB / 0.7957 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0385/0.47, allocations: 13.93 MB / 0.8093 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.4705, allocations: 437.9 kB / 0.8097 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.4709, allocations: 82.17 kB / 0.8098 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.4714, allocations: 383.3 kB / 0.8102 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of SimCode: time 1.853e-06/0.4714, allocations: 0 / 0.8102 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3681/0.8395, allocations: 32.7 MB / 0.8421 GB, free: 83.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.57, allocations: 2.75 kB / 0.8421 GB, free: 83.05 MB / 0.5762 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 18.288194993976504] Failed to read output from testmodel.py, exit status != 0: 14.705808706581593 14.717035621 14.517848397 Calling exit ...