Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001344/0.001344, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.51/1.51, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001538/0.001538, allocations: 210.8 kB / 309.2 MB, free: 3.129 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.6544/0.6544, allocations: 107.3 MB / 473 MB, free: 29.89 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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.002542/0.002542, allocations: 87.27 kB / 0.6332 GB, free: 29.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1533, allocations: 80.17 MB / 0.7115 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007544/0.1608, allocations: 5.677 MB / 0.7171 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.1654, allocations: 1.872 MB / 0.7189 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1666, allocations: 15.94 kB / 0.7189 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.1674, allocations: 218.1 kB / 0.7191 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.1703, allocations: 0.7529 MB / 0.7199 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.1722, allocations: 0.6237 MB / 0.7205 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.1749, allocations: 1.409 MB / 0.7218 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.1755, allocations: 224.7 kB / 0.7221 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1767, allocations: 0.6068 MB / 0.7227 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.1778, allocations: 0.6685 MB / 0.7233 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.1782, allocations: 100 kB / 0.7234 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007795/0.179, allocations: 239.9 kB / 0.7236 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.1794, allocations: 274.8 kB / 0.7239 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008117/0.1802, allocations: 0.5049 MB / 0.7244 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.1823, allocations: 1.544 MB / 0.7259 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1824, allocations: 3.984 kB / 0.7259 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1824, allocations: 4 kB / 0.7259 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.806e-05/0.1824, allocations: 4 kB / 0.7259 GB, free: 8.758 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.009452/0.1919, allocations: 2.526 MB / 0.7284 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.1919, allocations: 8.031 kB / 0.7284 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003549/0.1923, allocations: 130.8 kB / 0.7285 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.1981, allocations: 0.8225 MB / 0.7293 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.2001, allocations: 0.7168 MB / 0.73 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/0.2005, allocations: 307.6 kB / 0.7303 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.2008, allocations: 79.98 kB / 0.7304 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.2036, allocations: 1.073 MB / 0.7314 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.2036, allocations: 3.938 kB / 0.7314 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2037, allocations: 31.94 kB / 0.7315 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2037, allocations: 20 kB / 0.7315 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.2066, allocations: 1.113 MB / 0.7326 GB, free: 1.785 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.006496/0.2131, allocations: 2.603 MB / 0.7351 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.2153, allocations: 0.8617 MB / 0.7359 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.217, allocations: 0.7031 MB / 0.7366 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.2171, allocations: 13 kB / 0.7366 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.2172, allocations: 43.56 kB / 0.7367 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.845e-06/0.2172, allocations: 0 / 0.7367 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02831/0.2455, allocations: 6.638 MB / 0.7432 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.2455, allocations: 64.41 kB / 0.7432 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.2472, allocations: 0.9001 MB / 0.7441 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.2474, allocations: 41.7 kB / 0.7442 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.2479, allocations: 0.5053 MB / 0.7446 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.2485, allocations: 352.9 kB / 0.745 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005668/0.2491, allocations: 198.9 kB / 0.7452 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2493, allocations: 349.9 kB / 0.7455 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.2511, allocations: 0.7131 MB / 0.7462 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.2531, allocations: 0.8384 MB / 0.747 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/0.2737, allocations: 4.896 MB / 0.7518 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.2737, allocations: 0 / 0.7518 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01528/0.289, allocations: 4.227 MB / 0.7559 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.289, allocations: 8 kB / 0.7559 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.289, allocations: 7.984 kB / 0.7559 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006828/0.2959, allocations: 1.859 MB / 0.7578 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.297, allocations: 215.6 kB / 0.758 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/0.3202, allocations: 8.8 MB / 0.7666 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.3217, allocations: 167.2 kB / 0.7667 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.322, allocations: 47.97 kB / 0.7668 GB, free: 14.41 MB / 0.545 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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.0007008/0.3227, allocations: 243.3 kB / 0.767 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.323, allocations: 131.1 kB / 0.7671 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.3373, allocations: 3.975 MB / 0.771 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.3373, allocations: 8 kB / 0.771 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3373, allocations: 3.938 kB / 0.771 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.3373, allocations: 3.984 kB / 0.771 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.3535, allocations: 4.973 MB / 0.7759 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.3535, allocations: 0 / 0.7759 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.3543, allocations: 127.8 kB / 0.776 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/0.3608, allocations: 1.741 MB / 0.7777 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.361, allocations: 19.94 kB / 0.7777 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/0.3818, allocations: 7.779 MB / 0.7853 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3818, allocations: 0 / 0.7853 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.3983, allocations: 4.949 MB / 0.7901 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.3986, allocations: 134.9 kB / 0.7903 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.3988, allocations: 16 kB / 0.7903 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.3999, allocations: 111.9 kB / 0.7904 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007248/0.4007, allocations: 228.5 kB / 0.7906 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.4007, allocations: 24 kB / 0.7906 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009017/0.4016, allocations: 0.6008 MB / 0.7912 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4016, allocations: 0 / 0.7912 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001346/0.403, allocations: 431.6 kB / 0.7916 GB, free: 4.711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01693/0.4199, allocations: 5.526 MB / 0.797 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007771/0.4277, allocations: 2.363 MB / 0.7993 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4277, allocations: 0 / 0.7993 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005236/0.4329, allocations: 1.514 MB / 0.8008 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.4338, allocations: 93.8 kB / 0.8009 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3446/0.7784, allocations: 15.13 MB / 0.8157 GB, free: 94.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.779, allocations: 0.4962 MB / 0.8162 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004688/0.7795, allocations: 88 kB / 0.8162 GB, free: 93.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.78, allocations: 448.8 kB / 0.8167 GB, free: 93.96 MB / 0.5762 GB Notification: Performance of SimCode: time 1.223e-06/0.78, allocations: 0.9062 kB / 0.8167 GB, free: 93.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/0.8559, allocations: 35.52 MB / 0.8514 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.87, allocations: 14.86 kB / 0.8514 GB, free: 73.47 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.70214952295646] Failed to read output from testmodel.py, exit status != 0: 15.003900973591954 15.014932468 14.8301459 Calling exit ...