Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07392/0.07392, allocations: 12.36 MB / 28.71 MB, free: 0.6328 MB / 19.63 MB " [Timeout remaining time 180] 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.001297/0.001297, allocations: 115.2 kB / 34.42 MB, free: 1.707 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 207.6 MB / 247.6 MB, free: 11.4 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.001668/0.001668, allocations: 220.4 kB / 302.5 MB, free: 6.172 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4187/0.4187, allocations: 79.72 MB / 436.9 MB, free: 4.582 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.003843/0.003843, allocations: 139.8 kB / 0.5819 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1372, allocations: 71.93 MB / 0.6521 GB, free: 84 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008042/0.1452, allocations: 6.467 MB / 0.6585 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.1495, allocations: 1.826 MB / 0.6602 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006942/0.1502, allocations: 12 kB / 0.6603 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.1508, allocations: 222 kB / 0.6605 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.1526, allocations: 0.7611 MB / 0.6612 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.154, allocations: 0.6048 MB / 0.6618 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1556, allocations: 1.405 MB / 0.6632 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.156, allocations: 228.3 kB / 0.6634 GB, free: 4.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007197/0.1567, allocations: 0.5991 MB / 0.664 GB, free: 3.898 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007875/0.1575, allocations: 0.731 MB / 0.6647 GB, free: 3.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.1577, allocations: 104 kB / 0.6648 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1581, allocations: 235.9 kB / 0.665 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.1584, allocations: 282.7 kB / 0.6653 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.1591, allocations: 0.6096 MB / 0.6659 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1608, allocations: 1.509 MB / 0.6674 GB, free: 436 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1608, allocations: 4 kB / 0.6674 GB, free: 432 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1608, allocations: 0 / 0.6674 GB, free: 432 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1608, allocations: 3.938 kB / 0.6674 GB, free: 428 kB / 462.1 MB 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.008104/0.1689, allocations: 2.582 MB / 0.6699 GB, free: 13.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.169, allocations: 15.98 kB / 0.6699 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.1692, allocations: 130.8 kB / 0.67 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.1741, allocations: 0.7835 MB / 0.6708 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.1753, allocations: 0.7693 MB / 0.6715 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.1757, allocations: 260.2 kB / 0.6718 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1758, allocations: 79.88 kB / 0.6719 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.1783, allocations: 1.081 MB / 0.6729 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1783, allocations: 0 / 0.6729 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-05/0.1784, allocations: 28 kB / 0.6729 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.1784, allocations: 23.94 kB / 0.673 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.1811, allocations: 1.117 MB / 0.6741 GB, free: 9.391 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.006196/0.1873, allocations: 3.421 MB / 0.6774 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.1897, allocations: 1.33 MB / 0.6787 GB, free: 4.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.1914, allocations: 0.6953 MB / 0.6794 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.1915, allocations: 17 kB / 0.6794 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.1915, allocations: 39.56 kB / 0.6794 GB, free: 3.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.457e-06/0.1915, allocations: 0 / 0.6794 GB, free: 3.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02763/0.2192, allocations: 6.723 MB / 0.686 GB, free: 12.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.2192, allocations: 60.41 kB / 0.6861 GB, free: 12.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2205, allocations: 0.8838 MB / 0.6869 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.2207, allocations: 41.7 kB / 0.687 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.2211, allocations: 0.5012 MB / 0.6874 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.2215, allocations: 357 kB / 0.6878 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.2219, allocations: 190.9 kB / 0.688 GB, free: 10.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2221, allocations: 353.9 kB / 0.6883 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.2238, allocations: 0.7092 MB / 0.689 GB, free: 9.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.2256, allocations: 0.8462 MB / 0.6898 GB, free: 8.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/0.2447, allocations: 4.775 MB / 0.6945 GB, free: 4.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.2447, allocations: 0 / 0.6945 GB, free: 4.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.2681/0.5128, allocations: 4.228 MB / 0.6986 GB, free: 40.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.5129, allocations: 6.312 kB / 0.6986 GB, free: 40.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5129, allocations: 2.531 kB / 0.6986 GB, free: 40.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006684/0.5196, allocations: 1.874 MB / 0.7005 GB, free: 40.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.5207, allocations: 205.1 kB / 0.7007 GB, free: 40.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.5444, allocations: 9.083 MB / 0.7095 GB, free: 37.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.5468, allocations: 182.5 kB / 0.7097 GB, free: 37.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.547, allocations: 39.17 kB / 0.7097 GB, free: 37.64 MB / 494.1 MB 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.0007716/0.5478, allocations: 247.5 kB / 0.71 GB, free: 37.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.5481, allocations: 124.2 kB / 0.7101 GB, free: 37.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02349/0.5716, allocations: 3.966 MB / 0.714 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.5716, allocations: 14.44 kB / 0.714 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5716, allocations: 3.938 kB / 0.714 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.5717, allocations: 5.562 kB / 0.714 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.5865, allocations: 5.587 MB / 0.7194 GB, free: 34.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5865, allocations: 0 / 0.7194 GB, free: 34.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.5872, allocations: 130.8 kB / 0.7196 GB, free: 34.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00591/0.5931, allocations: 1.743 MB / 0.7213 GB, free: 34.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.5933, allocations: 22.97 kB / 0.7213 GB, free: 34.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.6107, allocations: 8.068 MB / 0.7292 GB, free: 29.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6107, allocations: 11.92 kB / 0.7292 GB, free: 29.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.6248, allocations: 4.937 MB / 0.734 GB, free: 27.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.6251, allocations: 209.5 kB / 0.7342 GB, free: 26.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6252, allocations: 15.84 kB / 0.7342 GB, free: 26.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/0.6262, allocations: 114 kB / 0.7343 GB, free: 26.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/0.6269, allocations: 219.3 kB / 0.7345 GB, free: 26.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/0.6269, allocations: 23.69 kB / 0.7346 GB, free: 26.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006172/0.6276, allocations: 0.5933 MB / 0.7351 GB, free: 26.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6276, allocations: 0 / 0.7351 GB, free: 26.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001203/0.6288, allocations: 432.5 kB / 0.7355 GB, free: 26.36 MB / 494.1 MB 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.01377/0.6425, allocations: 5.524 MB / 0.7409 GB, free: 20.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006273/0.6488, allocations: 2.355 MB / 0.7432 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6488, allocations: 2.188 kB / 0.7432 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004259/0.6531, allocations: 1.529 MB / 0.7447 GB, free: 16.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.6538, allocations: 86.38 kB / 0.7448 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/0.6869, allocations: 15.1 MB / 0.7596 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.6873, allocations: 1.08 MB / 0.7606 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003908/0.6877, allocations: 97.02 kB / 0.7607 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.6882, allocations: 447.6 kB / 0.7611 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.6882, allocations: 3.938 kB / 0.7611 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07389/0.7621, allocations: 33.54 MB / 0.7939 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/17.67, allocations: 11.58 kB / 0.7939 GB, free: 14.51 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.93654377000348] Failed to read output from testmodel.py, exit status != 0: 17.782727340003476 17.80962475 17.643757042 Calling exit ...