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: 97.88 kB / 19.73 MB, free: 2.117 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 14.26 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.002369/0.002369, allocations: 216 kB / 310 MB, free: 3.109 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.4973/0.4973, allocations: 79.73 MB / 446.2 MB, free: 40.64 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",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.002443/0.002443, allocations: 90.95 kB / 0.5936 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1466, allocations: 73.29 MB / 0.6652 GB, free: 368 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006643/0.1533, allocations: 5.023 MB / 0.6701 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.1571, allocations: 1.689 MB / 0.6718 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.1578, allocations: 15.94 kB / 0.6718 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.1585, allocations: 202.3 kB / 0.672 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.1606, allocations: 0.7261 MB / 0.6727 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1619, allocations: 0.541 MB / 0.6732 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.1635, allocations: 1.237 MB / 0.6744 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.1639, allocations: 187.6 kB / 0.6746 GB, free: 8.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.1646, allocations: 0.5329 MB / 0.6751 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007773/0.1654, allocations: 0.6455 MB / 0.6757 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.1655, allocations: 84 kB / 0.6758 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.166, allocations: 239.9 kB / 0.676 GB, free: 6.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.1663, allocations: 242.9 kB / 0.6763 GB, free: 6.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.1667, allocations: 441.5 kB / 0.6767 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.1684, allocations: 1.377 MB / 0.678 GB, free: 4.539 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1684, allocations: 0 / 0.678 GB, free: 4.539 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1684, allocations: 0 / 0.678 GB, free: 4.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.1684, allocations: 0 / 0.678 GB, free: 4.539 MB / 462.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.007671/0.176, allocations: 2.307 MB / 0.6803 GB, free: 2.195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1761, allocations: 8.031 kB / 0.6803 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.498e-05/0.1761, allocations: 21.31 kB / 0.6803 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.1763, allocations: 110.5 kB / 0.6804 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.1813, allocations: 0.7641 MB / 0.6812 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.1826, allocations: 0.6414 MB / 0.6818 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.183, allocations: 306.8 kB / 0.6821 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.1831, allocations: 64 kB / 0.6822 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.1853, allocations: 0.9473 MB / 0.6831 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1853, allocations: 0 / 0.6831 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1854, allocations: 24 kB / 0.6831 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.1854, allocations: 16 kB / 0.6831 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.1876, allocations: 0.9655 MB / 0.6841 GB, free: 14.24 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.005452/0.1931, allocations: 2.351 MB / 0.6864 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.195, allocations: 0.7707 MB / 0.6871 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.1964, allocations: 0.6202 MB / 0.6877 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.1965, allocations: 12.64 kB / 0.6877 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.1965, allocations: 47.16 kB / 0.6878 GB, free: 10.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 3.156e-06/0.1965, allocations: 0 / 0.6878 GB, free: 10.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02706/0.2236, allocations: 6.604 MB / 0.6942 GB, free: 3.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.2236, allocations: 64 kB / 0.6943 GB, free: 3.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.225, allocations: 0.7789 MB / 0.695 GB, free: 2.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.2252, allocations: 41.7 kB / 0.6951 GB, free: 2.844 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.2256, allocations: 444.9 kB / 0.6955 GB, free: 2.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.226, allocations: 301.4 kB / 0.6958 GB, free: 2.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.2264, allocations: 178.6 kB / 0.696 GB, free: 1.922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.2266, allocations: 345.9 kB / 0.6963 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.2283, allocations: 0.6425 MB / 0.6969 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.2299, allocations: 0.7589 MB / 0.6977 GB, free: 148 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/0.2484, allocations: 4.559 MB / 0.7021 GB, free: 11.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.2485, allocations: 0 / 0.7021 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0134/0.2619, allocations: 4.005 MB / 0.706 GB, free: 7.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2619, allocations: 7.984 kB / 0.706 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.2619, allocations: 7.938 kB / 0.706 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/0.2683, allocations: 1.866 MB / 0.7079 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.2692, allocations: 159.8 kB / 0.708 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.2915, allocations: 8.8 MB / 0.7166 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.2929, allocations: 155.3 kB / 0.7168 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.293, allocations: 39.92 kB / 0.7168 GB, free: 12.38 MB / 0.4981 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.0004874/0.2935, allocations: 223.8 kB / 0.717 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.2937, allocations: 111.3 kB / 0.7171 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.3069, allocations: 3.786 MB / 0.7208 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.307, allocations: 8 kB / 0.7208 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.307, allocations: 0 / 0.7208 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.307, allocations: 3.984 kB / 0.7208 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.3215, allocations: 4.704 MB / 0.7254 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.3215, allocations: 3.938 kB / 0.7254 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.322, allocations: 83.89 kB / 0.7255 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006015/0.328, allocations: 1.745 MB / 0.7272 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.3282, allocations: 8 kB / 0.7272 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.3469, allocations: 7.794 MB / 0.7348 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3469, allocations: 0 / 0.7348 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/0.3615, allocations: 4.662 MB / 0.7394 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.3619, allocations: 111.1 kB / 0.7395 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.3621, allocations: 16 kB / 0.7395 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.363, allocations: 99.89 kB / 0.7396 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006691/0.3636, allocations: 204.6 kB / 0.7398 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.97e-05/0.3637, allocations: 23.98 kB / 0.7398 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007434/0.3645, allocations: 0.5303 MB / 0.7403 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3645, allocations: 0 / 0.7403 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001338/0.3658, allocations: 407.7 kB / 0.7407 GB, free: 3.652 MB / 0.5137 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.01487/0.3807, allocations: 5.223 MB / 0.7458 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006619/0.3873, allocations: 2.204 MB / 0.748 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3873, allocations: 0 / 0.748 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.3919, allocations: 1.433 MB / 0.7494 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.3927, allocations: 77.34 kB / 0.7494 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/0.4289, allocations: 13.93 MB / 0.7631 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.4294, allocations: 437.9 kB / 0.7635 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003675/0.4297, allocations: 78.19 kB / 0.7635 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.4303, allocations: 379.3 kB / 0.7639 GB, free: 11.64 MB / 0.545 GB Notification: Performance of SimCode: time 1.723e-06/0.4303, allocations: 0 / 0.7639 GB, free: 11.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/0.4986, allocations: 32.04 MB / 0.7952 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/17.41, allocations: 10.09 kB / 0.7952 GB, free: 11.79 MB / 0.5762 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 21.37131938803941] Failed to read output from testmodel.py, exit status != 0: 17.60096081206575 17.884609909 17.713008891 Calling exit ...