Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001271/0.001271, 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.411/1.411, allocations: 230.6 MB / 253.5 MB, free: 14.48 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.001514/0.001514, allocations: 216.9 kB / 310 MB, free: 3.016 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.5895/0.5895, allocations: 101.3 MB / 467.7 MB, free: 32.12 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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.00231/0.00231, allocations: 86.53 kB / 0.6251 GB, free: 33.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1469, allocations: 78.6 MB / 0.7019 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007157/0.1541, allocations: 5.717 MB / 0.7074 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003913/0.158, allocations: 1.88 MB / 0.7093 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.1585, allocations: 15.94 kB / 0.7093 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.1591, allocations: 225.9 kB / 0.7095 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1608, allocations: 0.7598 MB / 0.7102 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1622, allocations: 0.6274 MB / 0.7109 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.1638, allocations: 1.429 MB / 0.7123 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.1642, allocations: 228.8 kB / 0.7125 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.1649, allocations: 0.6263 MB / 0.7131 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008425/0.1657, allocations: 0.7349 MB / 0.7138 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.1659, allocations: 104 kB / 0.7139 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.1664, allocations: 255.8 kB / 0.7141 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.1667, allocations: 286.7 kB / 0.7144 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.1672, allocations: 0.5088 MB / 0.7149 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.1688, allocations: 1.56 MB / 0.7164 GB, free: 1.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1688, allocations: 0 / 0.7164 GB, free: 1.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1688, allocations: 0 / 0.7164 GB, free: 1.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.1689, allocations: 0 / 0.7164 GB, free: 1.836 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008104/0.177, allocations: 2.549 MB / 0.7189 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.177, allocations: 12.03 kB / 0.7189 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.55e-05/0.177, allocations: 26 kB / 0.719 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.1772, allocations: 126.8 kB / 0.7191 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.1824, allocations: 0.8186 MB / 0.7199 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.1838, allocations: 0.7287 MB / 0.7206 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.1842, allocations: 311.6 kB / 0.7209 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.1843, allocations: 76 kB / 0.721 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.1868, allocations: 1.085 MB / 0.722 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1868, allocations: 0 / 0.722 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1869, allocations: 32 kB / 0.7221 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.1869, allocations: 19.94 kB / 0.7221 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.1895, allocations: 1.128 MB / 0.7232 GB, free: 10.79 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.005638/0.1951, allocations: 2.604 MB / 0.7257 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.1971, allocations: 0.8804 MB / 0.7266 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.1987, allocations: 0.707 MB / 0.7273 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.1988, allocations: 9 kB / 0.7273 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.1989, allocations: 47.5 kB / 0.7273 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 3.616e-06/0.1989, allocations: 4 kB / 0.7273 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.02565/0.2245, allocations: 6.502 MB / 0.7337 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.2246, allocations: 64.41 kB / 0.7337 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.2261, allocations: 0.9048 MB / 0.7346 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.2262, allocations: 41.7 kB / 0.7347 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.2267, allocations: 0.4975 MB / 0.7351 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.2272, allocations: 372.8 kB / 0.7355 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/0.2277, allocations: 198.9 kB / 0.7357 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2278, allocations: 353.9 kB / 0.736 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.2295, allocations: 0.7209 MB / 0.7367 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.2314, allocations: 0.8501 MB / 0.7376 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/0.2511, allocations: 4.947 MB / 0.7424 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.2511, allocations: 0 / 0.7424 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01403/0.2651, allocations: 4.246 MB / 0.7465 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.2652, allocations: 14.44 kB / 0.7466 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2652, allocations: 0 / 0.7466 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006354/0.2715, allocations: 1.815 MB / 0.7483 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.2726, allocations: 211.7 kB / 0.7485 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.2943, allocations: 9.016 MB / 0.7573 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.2958, allocations: 183.2 kB / 0.7575 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2959, allocations: 43.92 kB / 0.7576 GB, free: 7.238 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0004879/0.2964, allocations: 241.6 kB / 0.7578 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.2966, allocations: 131.2 kB / 0.7579 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.3095, allocations: 3.975 MB / 0.7618 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.3095, allocations: 12 kB / 0.7618 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3095, allocations: 0 / 0.7618 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.3095, allocations: 7.922 kB / 0.7618 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.3243, allocations: 4.973 MB / 0.7667 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.3243, allocations: 0 / 0.7667 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.325, allocations: 131.8 kB / 0.7668 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.331, allocations: 1.749 MB / 0.7685 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.3312, allocations: 23.94 kB / 0.7685 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/0.3497, allocations: 7.778 MB / 0.7761 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3497, allocations: 0 / 0.7761 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.3648, allocations: 4.937 MB / 0.7809 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.3652, allocations: 131 kB / 0.7811 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3654, allocations: 23.94 kB / 0.7811 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.3664, allocations: 107.9 kB / 0.7812 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007449/0.3671, allocations: 220.6 kB / 0.7814 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.3672, allocations: 24 kB / 0.7814 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008296/0.3681, allocations: 0.6128 MB / 0.782 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3681, allocations: 3.938 kB / 0.782 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001316/0.3694, allocations: 447.6 kB / 0.7825 GB, free: 13.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.01568/0.385, allocations: 5.523 MB / 0.7878 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006897/0.3919, allocations: 2.382 MB / 0.7902 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3919, allocations: 0 / 0.7902 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004645/0.3966, allocations: 1.526 MB / 0.7917 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.3974, allocations: 88.42 kB / 0.7917 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03769/0.4351, allocations: 15.34 MB / 0.8067 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.4356, allocations: 0.5098 MB / 0.8072 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004534/0.4361, allocations: 90.89 kB / 0.8073 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.4367, allocations: 451.3 kB / 0.8077 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.4367, allocations: 0 / 0.8077 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3683/0.805, allocations: 35.32 MB / 0.8422 GB, free: 90.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/18.54, allocations: 7.859 kB / 0.8422 GB, free: 90.08 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.27061861997936] Failed to read output from testmodel.py, exit status != 0: 18.728998556965962 18.747188867 18.574856968 Calling exit ...