Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.001667/0.001667, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.509/1.509, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001626/0.001626, allocations: 214.4 kB / 309.2 MB, free: 3.148 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.4886/0.4886, allocations: 79.74 MB / 445.4 MB, free: 14.86 MB / 318.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.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",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.002494/0.002494, allocations: 87.88 kB / 0.5929 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1794, allocations: 73.28 MB / 0.6645 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008547/0.188, allocations: 6.717 MB / 0.6711 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.1931, allocations: 2.06 MB / 0.6731 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1941, allocations: 12 kB / 0.6731 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.195, allocations: 245.9 kB / 0.6733 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.1976, allocations: 0.8729 MB / 0.6742 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1991, allocations: 0.6586 MB / 0.6748 GB, free: 9.977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.2017, allocations: 1.671 MB / 0.6765 GB, free: 8.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.2023, allocations: 227 kB / 0.6767 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.2037, allocations: 0.6964 MB / 0.6774 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.2051, allocations: 0.8713 MB / 0.6782 GB, free: 6.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.2053, allocations: 132 kB / 0.6783 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.2061, allocations: 295.8 kB / 0.6786 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.2065, allocations: 342.6 kB / 0.6789 GB, free: 5.738 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.2074, allocations: 0.6874 MB / 0.6796 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.2102, allocations: 1.743 MB / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.2102, allocations: 0 / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2102, allocations: 0 / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.2102, allocations: 0 / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01132/0.2216, allocations: 2.882 MB / 0.6841 GB, free: 368 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.885e-05/0.2216, allocations: 15.98 kB / 0.6841 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.2219, allocations: 126.7 kB / 0.6843 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.2273, allocations: 0.803 MB / 0.685 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.2293, allocations: 0.8505 MB / 0.6859 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/0.2297, allocations: 341.3 kB / 0.6862 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.2298, allocations: 80 kB / 0.6863 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.2321, allocations: 1.11 MB / 0.6874 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2322, allocations: 0 / 0.6874 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.2323, allocations: 32 kB / 0.6874 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.2323, allocations: 16 kB / 0.6874 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.2345, allocations: 0.9955 MB / 0.6884 GB, free: 11.88 MB / 494.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.007617/0.2421, allocations: 3.821 MB / 0.6921 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007532/0.2496, allocations: 2.011 MB / 0.6941 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.2512, allocations: 0.6244 MB / 0.6947 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.2514, allocations: 20.98 kB / 0.6947 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/0.2532, allocations: 0.8372 MB / 0.6955 GB, free: 4.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.327e-06/0.2532, allocations: 0 / 0.6955 GB, free: 4.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.3613/0.6145, allocations: 7.034 MB / 0.7024 GB, free: 34.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.6146, allocations: 117.8 kB / 0.7025 GB, free: 34.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.6165, allocations: 1.123 MB / 0.7036 GB, free: 34.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002875/0.6168, allocations: 47.77 kB / 0.7036 GB, free: 34.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.6172, allocations: 0.5004 MB / 0.7041 GB, free: 34.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.6177, allocations: 376.3 kB / 0.7045 GB, free: 34.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006377/0.6183, allocations: 297.8 kB / 0.7048 GB, free: 34.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.6184, allocations: 301.7 kB / 0.7051 GB, free: 33.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.6202, allocations: 0.7848 MB / 0.7058 GB, free: 33.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.6222, allocations: 0.9493 MB / 0.7068 GB, free: 33.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0277/0.6499, allocations: 6.013 MB / 0.7126 GB, free: 32.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.6499, allocations: 1.031 kB / 0.7126 GB, free: 32.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.015/0.6649, allocations: 4.433 MB / 0.717 GB, free: 31.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/0.665, allocations: 66.22 kB / 0.717 GB, free: 31.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.665, allocations: 3.438 kB / 0.717 GB, free: 31.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/0.671, allocations: 1.641 MB / 0.7186 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.6726, allocations: 293.2 kB / 0.7189 GB, free: 31.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/0.6925, allocations: 8.504 MB / 0.7272 GB, free: 26.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.6947, allocations: 210.4 kB / 0.7274 GB, free: 26.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.6948, allocations: 65.62 kB / 0.7275 GB, free: 25.99 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006556/0.6955, allocations: 302 kB / 0.7278 GB, free: 25.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.6957, allocations: 130.9 kB / 0.7279 GB, free: 25.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.7077, allocations: 3.877 MB / 0.7317 GB, free: 23.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.7077, allocations: 10.11 kB / 0.7317 GB, free: 23.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.7077, allocations: 6.312 kB / 0.7317 GB, free: 23.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.7078, allocations: 5.922 kB / 0.7317 GB, free: 23.67 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.0133/0.7211, allocations: 5.459 MB / 0.737 GB, free: 20.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.7211, allocations: 4 kB / 0.737 GB, free: 20.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.7218, allocations: 103.8 kB / 0.7371 GB, free: 20.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004781/0.7266, allocations: 1.58 MB / 0.7387 GB, free: 18.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.7268, allocations: 16 kB / 0.7387 GB, free: 18.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.7439, allocations: 9.467 MB / 0.7479 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7439, allocations: 0 / 0.7479 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.7566, allocations: 4.764 MB / 0.7526 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.7571, allocations: 160.7 kB / 0.7527 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.7573, allocations: 27.88 kB / 0.7528 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.7584, allocations: 103.9 kB / 0.7529 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/0.759, allocations: 209.2 kB / 0.7531 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.7591, allocations: 31.98 kB / 0.7531 GB, free: 3.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009057/0.76, allocations: 0.7514 MB / 0.7538 GB, free: 2.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.76, allocations: 0 / 0.7538 GB, free: 2.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001411/0.7614, allocations: 498.7 kB / 0.7543 GB, free: 2.277 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01451/0.7759, allocations: 5.339 MB / 0.7595 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007265/0.7832, allocations: 2.467 MB / 0.7619 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7832, allocations: 0 / 0.7619 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004459/0.7876, allocations: 1.526 MB / 0.7634 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7889, allocations: 112.1 kB / 0.7635 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04384/0.8327, allocations: 16.54 MB / 0.7797 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.8338, allocations: 1.128 MB / 0.7808 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000742/0.8346, allocations: 120.1 kB / 0.7809 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009011/0.8355, allocations: 479.3 kB / 0.7814 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/0.8355, allocations: 0 / 0.7814 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0952/0.9307, allocations: 36.53 MB / 0.817 GB, free: 1.934 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/17.39, allocations: 11.5 kB / 0.817 GB, free: 1.926 MB / 0.545 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.21751701500034] Failed to read output from testmodel.py, exit status != 0: 17.52031740199891 17.536608284 17.32308653 Calling exit ...