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.001249/0.001249, allocations: 97.31 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.403/1.403, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.001544/0.001544, allocations: 209.5 kB / 310 MB, free: 3.031 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.5704/0.5704, allocations: 101.3 MB / 467.7 MB, free: 31.98 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.002299/0.002299, allocations: 87.06 kB / 0.6251 GB, free: 32.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1334, allocations: 78.6 MB / 0.7018 GB, free: 0.832 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006403/0.1398, allocations: 5.1 MB / 0.7068 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.1433, allocations: 1.712 MB / 0.7085 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.1437, allocations: 15.94 kB / 0.7085 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.1442, allocations: 198.3 kB / 0.7087 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1458, allocations: 0.7224 MB / 0.7094 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.147, allocations: 0.5577 MB / 0.71 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1484, allocations: 1.257 MB / 0.7112 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.1487, allocations: 187.6 kB / 0.7114 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.1494, allocations: 0.5446 MB / 0.7119 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007612/0.1502, allocations: 0.6533 MB / 0.7125 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.1503, allocations: 91.98 kB / 0.7126 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.1507, allocations: 231.9 kB / 0.7128 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.151, allocations: 239 kB / 0.7131 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.1514, allocations: 457.4 kB / 0.7135 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1529, allocations: 1.393 MB / 0.7149 GB, free: 3.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1529, allocations: 0 / 0.7149 GB, free: 3.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1529, allocations: 0 / 0.7149 GB, free: 3.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1529, allocations: 0 / 0.7149 GB, free: 3.434 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.007603/0.1605, allocations: 2.323 MB / 0.7171 GB, free: 1.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1606, allocations: 12.03 kB / 0.7171 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.185e-05/0.1606, allocations: 13.31 kB / 0.7172 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.1607, allocations: 118.5 kB / 0.7173 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.1656, allocations: 0.7641 MB / 0.718 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.1668, allocations: 0.6452 MB / 0.7186 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.1671, allocations: 303.6 kB / 0.7189 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1673, allocations: 68 kB / 0.719 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.1694, allocations: 0.9598 MB / 0.7199 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1694, allocations: 4 kB / 0.7199 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.1695, allocations: 27.94 kB / 0.72 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1695, allocations: 19.94 kB / 0.72 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.1716, allocations: 0.976 MB / 0.7209 GB, free: 13.07 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.005/0.1766, allocations: 2.363 MB / 0.7232 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.1785, allocations: 0.7707 MB / 0.724 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.1798, allocations: 0.6257 MB / 0.7246 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.1799, allocations: 12.66 kB / 0.7246 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1799, allocations: 47.2 kB / 0.7247 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.1799, allocations: 3.938 kB / 0.7247 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.02685/0.2068, allocations: 6.647 MB / 0.7312 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.2069, allocations: 64 kB / 0.7312 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.208, allocations: 0.8026 MB / 0.732 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.2082, allocations: 41.7 kB / 0.732 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.2086, allocations: 437.1 kB / 0.7325 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.2089, allocations: 305.3 kB / 0.7328 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.2093, allocations: 186.9 kB / 0.7329 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2095, allocations: 341.9 kB / 0.7333 GB, free: 316 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.2109, allocations: 0.6507 MB / 0.7339 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.2125, allocations: 0.7756 MB / 0.7346 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.231, allocations: 4.606 MB / 0.7391 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.231, allocations: 8 kB / 0.7392 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0132/0.2442, allocations: 4.09 MB / 0.7431 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2442, allocations: 4 kB / 0.7432 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2442, allocations: 4 kB / 0.7432 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006192/0.2504, allocations: 1.787 MB / 0.7449 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.2513, allocations: 171.7 kB / 0.7451 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.2731, allocations: 9.02 MB / 0.7539 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.2744, allocations: 155.3 kB / 0.754 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.2745, allocations: 35.98 kB / 0.7541 GB, free: 10.8 MB / 0.5294 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.0004315/0.2749, allocations: 229.5 kB / 0.7543 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.2751, allocations: 107.3 kB / 0.7544 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.2879, allocations: 3.809 MB / 0.7581 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.2879, allocations: 8 kB / 0.7581 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2879, allocations: 0 / 0.7581 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.288, allocations: 3.984 kB / 0.7581 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.3022, allocations: 4.723 MB / 0.7627 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3022, allocations: 0 / 0.7627 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.3027, allocations: 87.89 kB / 0.7628 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005907/0.3086, allocations: 1.745 MB / 0.7645 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.3088, allocations: 20.06 kB / 0.7645 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.3272, allocations: 7.77 MB / 0.7721 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3272, allocations: 0 / 0.7721 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/0.3414, allocations: 4.689 MB / 0.7767 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.3418, allocations: 111.1 kB / 0.7768 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.3419, allocations: 19.98 kB / 0.7768 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/0.3428, allocations: 91.91 kB / 0.7769 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006386/0.3434, allocations: 208.6 kB / 0.7771 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.3435, allocations: 20 kB / 0.7771 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007444/0.3443, allocations: 0.5343 MB / 0.7776 GB, free: 2.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3443, allocations: 0 / 0.7776 GB, free: 2.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001213/0.3455, allocations: 411.7 kB / 0.778 GB, free: 1.988 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.01463/0.3601, allocations: 5.261 MB / 0.7832 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006361/0.3665, allocations: 2.218 MB / 0.7853 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3665, allocations: 0 / 0.7853 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/0.3709, allocations: 1.441 MB / 0.7868 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.3716, allocations: 91.2 kB / 0.7868 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/0.4076, allocations: 14.12 MB / 0.8006 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.4081, allocations: 450.1 kB / 0.8011 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003635/0.4085, allocations: 82.3 kB / 0.8011 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.409, allocations: 367.3 kB / 0.8015 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of SimCode: time 1.342e-06/0.409, allocations: 0 / 0.8015 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3363/0.7453, allocations: 32.46 MB / 0.8332 GB, free: 97.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.24, allocations: 17.22 kB / 0.8332 GB, free: 97.88 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.96591163496487] Failed to read output from testmodel.py, exit status != 0: 17.444140451960266 17.463928066 17.307301875 Calling exit ...