Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001959/0.001959, 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.624/1.624, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.002931/0.002931, allocations: 212.1 kB / 309.2 MB, free: 3.141 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6923/0.6923, allocations: 107.2 MB / 472.8 MB, free: 29.96 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.002553/0.002553, allocations: 90.8 kB / 0.633 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.176, allocations: 80.14 MB / 0.7113 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007947/0.1839, allocations: 5.942 MB / 0.7171 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004901/0.1888, allocations: 1.99 MB / 0.7191 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007497/0.1896, allocations: 12 kB / 0.7191 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008378/0.1904, allocations: 241.9 kB / 0.7193 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.1927, allocations: 0.8596 MB / 0.7201 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1942, allocations: 0.6454 MB / 0.7208 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.1962, allocations: 1.69 MB / 0.7224 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.1967, allocations: 222.9 kB / 0.7226 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.1977, allocations: 0.712 MB / 0.7233 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.1988, allocations: 0.8164 MB / 0.7241 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.199, allocations: 136 kB / 0.7243 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005913/0.1996, allocations: 279.9 kB / 0.7245 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.1999, allocations: 354.5 kB / 0.7249 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005729/0.2005, allocations: 0.571 MB / 0.7254 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.2025, allocations: 1.774 MB / 0.7271 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2025, allocations: 0 / 0.7271 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2025, allocations: 0 / 0.7271 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.2026, allocations: 0 / 0.7271 GB, free: 7.422 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009371/0.2119, allocations: 2.921 MB / 0.73 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.212, allocations: 8.031 kB / 0.73 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.2121, allocations: 122.7 kB / 0.7301 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005036/0.2172, allocations: 0.7991 MB / 0.7309 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.2189, allocations: 0.8779 MB / 0.7318 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.2193, allocations: 337.3 kB / 0.7321 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.2195, allocations: 87.95 kB / 0.7322 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.2218, allocations: 1.135 MB / 0.7333 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.2218, allocations: 0 / 0.7333 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.2219, allocations: 35.94 kB / 0.7333 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.2219, allocations: 20 kB / 0.7333 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.2242, allocations: 1.021 MB / 0.7343 GB, free: 15.88 MB / 0.5137 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.007273/0.2315, allocations: 3.042 MB / 0.7373 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007448/0.239, allocations: 2.041 MB / 0.7393 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.2404, allocations: 0.6544 MB / 0.7399 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.2405, allocations: 20.98 kB / 0.74 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/0.2424, allocations: 0.8674 MB / 0.7408 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.727e-06/0.2424, allocations: 0 / 0.7408 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02927/0.2716, allocations: 6.959 MB / 0.7476 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2717, allocations: 123.7 kB / 0.7477 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.2741, allocations: 1.139 MB / 0.7488 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.2744, allocations: 45.7 kB / 0.7489 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.275, allocations: 0.5093 MB / 0.7494 GB, free: 260 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/0.2757, allocations: 380.8 kB / 0.7497 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008612/0.2765, allocations: 303.5 kB / 0.75 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2767, allocations: 301.1 kB / 0.7503 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.2787, allocations: 0.8467 MB / 0.7511 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.2808, allocations: 1.02 MB / 0.7521 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02754/0.3084, allocations: 6.149 MB / 0.7581 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.3084, allocations: 0 / 0.7581 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01617/0.3246, allocations: 4.543 MB / 0.7626 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/0.3246, allocations: 63.41 kB / 0.7626 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.3247, allocations: 0 / 0.7626 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006556/0.3312, allocations: 1.658 MB / 0.7642 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.333, allocations: 303.5 kB / 0.7645 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.3556, allocations: 8.346 MB / 0.7727 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.3579, allocations: 219 kB / 0.7729 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/0.3582, allocations: 63.97 kB / 0.773 GB, free: 7.746 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (171): * Single equations (assignments): 168 * 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.001092/0.3593, allocations: 298.7 kB / 0.7732 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/0.3598, allocations: 135.2 kB / 0.7734 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.3733, allocations: 3.918 MB / 0.7772 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.3733, allocations: 12 kB / 0.7772 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/0.3734, allocations: 7.938 kB / 0.7772 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.3734, allocations: 7.984 kB / 0.7772 GB, free: 3.324 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.01642/0.3898, allocations: 5.049 MB / 0.7822 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.3898, allocations: 0 / 0.7822 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.3906, allocations: 111.9 kB / 0.7823 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00583/0.3964, allocations: 1.602 MB / 0.7838 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/0.3967, allocations: 20 kB / 0.7838 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02328/0.4199, allocations: 9.242 MB / 0.7929 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4199, allocations: 0 / 0.7929 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/0.4359, allocations: 4.841 MB / 0.7976 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/0.4366, allocations: 162.8 kB / 0.7978 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/0.4371, allocations: 19.98 kB / 0.7978 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.4387, allocations: 111.9 kB / 0.7979 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007752/0.4395, allocations: 208.6 kB / 0.7981 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.4396, allocations: 27.98 kB / 0.7981 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001599/0.4412, allocations: 0.7713 MB / 0.7989 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4412, allocations: 0 / 0.7989 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002061/0.4433, allocations: 491.7 kB / 0.7993 GB, free: 12.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01623/0.4595, allocations: 5.437 MB / 0.8046 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008152/0.4677, allocations: 2.559 MB / 0.8071 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4677, allocations: 224 / 0.8071 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005032/0.4727, allocations: 1.589 MB / 0.8087 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.4745, allocations: 117.1 kB / 0.8088 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4339/0.9084, allocations: 17.01 MB / 0.8254 GB, free: 91.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/0.9093, allocations: 0.5426 MB / 0.8259 GB, free: 90.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007297/0.91, allocations: 120.6 kB / 0.8261 GB, free: 90.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.9109, allocations: 494.1 kB / 0.8265 GB, free: 90.55 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/0.9109, allocations: 0 / 0.8265 GB, free: 90.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08497/0.9958, allocations: 38.98 MB / 0.8646 GB, free: 59.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.35, allocations: 10.78 kB / 0.8646 GB, free: 59.77 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.590600732248276] Failed to read output from testmodel.py, exit status != 0: 16.495438035111874 16.514673512 16.308642034000002 Calling exit ...