Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001459/0.001459, 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.519/1.519, 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.001874/0.001874, allocations: 217.7 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.6824/0.6824, allocations: 107.2 MB / 472.8 MB, free: 29.95 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.002514/0.002514, allocations: 86.12 kB / 0.633 GB, free: 29.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1732, allocations: 80.14 MB / 0.7113 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.00787/0.1811, allocations: 5.775 MB / 0.717 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.1859, allocations: 1.924 MB / 0.7188 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.187, allocations: 12 kB / 0.7188 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009373/0.1879, allocations: 237.9 kB / 0.7191 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.1908, allocations: 0.8525 MB / 0.7199 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.1925, allocations: 0.6174 MB / 0.7205 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.1951, allocations: 1.6 MB / 0.7221 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.1956, allocations: 214.8 kB / 0.7223 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.1969, allocations: 0.6808 MB / 0.7229 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.198, allocations: 0.7698 MB / 0.7237 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.1982, allocations: 120 kB / 0.7238 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.1989, allocations: 271.9 kB / 0.7241 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.1992, allocations: 334.6 kB / 0.7244 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006219/0.1998, allocations: 0.5438 MB / 0.7249 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.2022, allocations: 1.708 MB / 0.7266 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2022, allocations: 0 / 0.7266 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2022, allocations: 0 / 0.7266 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.363e-05/0.2022, allocations: 0 / 0.7266 GB, free: 7.98 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009686/0.2119, allocations: 2.816 MB / 0.7293 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2119, allocations: 12.03 kB / 0.7293 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.2121, allocations: 126.6 kB / 0.7295 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.2174, allocations: 0.7991 MB / 0.7302 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.2194, allocations: 0.8384 MB / 0.7311 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.2198, allocations: 337.3 kB / 0.7314 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.22, allocations: 83.95 kB / 0.7315 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.2224, allocations: 1.112 MB / 0.7325 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.2224, allocations: 4 kB / 0.7326 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.2225, allocations: 28 kB / 0.7326 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.2225, allocations: 23.94 kB / 0.7326 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.2246, allocations: 1.009 MB / 0.7336 GB, free: 0.6133 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.007777/0.2324, allocations: 2.944 MB / 0.7365 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007613/0.24, allocations: 2.025 MB / 0.7384 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.2417, allocations: 0.6365 MB / 0.7391 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.2419, allocations: 21 kB / 0.7391 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/0.2439, allocations: 0.8428 MB / 0.7399 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 4.679e-06/0.2439, allocations: 0 / 0.7399 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.02987/0.2738, allocations: 7.064 MB / 0.7468 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2739, allocations: 119.8 kB / 0.7469 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.276, allocations: 1.095 MB / 0.748 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.2763, allocations: 41.7 kB / 0.748 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.2768, allocations: 0.4936 MB / 0.7485 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.2774, allocations: 368.9 kB / 0.7489 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/0.2781, allocations: 287.5 kB / 0.7491 GB, free: 472 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2782, allocations: 301.1 kB / 0.7494 GB, free: 168 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.2801, allocations: 0.8076 MB / 0.7502 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.2821, allocations: 0.9845 MB / 0.7512 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02514/0.3073, allocations: 5.774 MB / 0.7568 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.3073, allocations: 4 kB / 0.7568 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01449/0.3218, allocations: 4.395 MB / 0.7611 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.3219, allocations: 63.41 kB / 0.7612 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.3219, allocations: 4 kB / 0.7612 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.3282, allocations: 1.588 MB / 0.7627 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.3298, allocations: 279.6 kB / 0.763 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/0.3516, allocations: 8.229 MB / 0.771 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.3536, allocations: 203.2 kB / 0.7712 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.3539, allocations: 59.97 kB / 0.7713 GB, free: 9.453 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009436/0.3549, allocations: 302.7 kB / 0.7716 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.3553, allocations: 131.2 kB / 0.7717 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.3687, allocations: 3.863 MB / 0.7755 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.3687, allocations: 8 kB / 0.7755 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/0.3687, allocations: 8 kB / 0.7755 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.3687, allocations: 3.984 kB / 0.7755 GB, free: 5.094 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.01583/0.3845, allocations: 4.99 MB / 0.7804 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3846, allocations: 0 / 0.7804 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.3852, allocations: 99.89 kB / 0.7804 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005746/0.3909, allocations: 1.59 MB / 0.782 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.3911, allocations: 19.94 kB / 0.782 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/0.4129, allocations: 9.255 MB / 0.7911 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4129, allocations: 4.172 kB / 0.7911 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/0.4281, allocations: 4.766 MB / 0.7957 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.4286, allocations: 158.8 kB / 0.7959 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.4289, allocations: 19.94 kB / 0.7959 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.4303, allocations: 111.9 kB / 0.796 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000668/0.431, allocations: 208.6 kB / 0.7962 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.4311, allocations: 24 kB / 0.7962 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001353/0.4324, allocations: 0.7355 MB / 0.7969 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4324, allocations: 3.938 kB / 0.7969 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001682/0.4341, allocations: 479.6 kB / 0.7974 GB, free: 14.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.01537/0.4495, allocations: 5.345 MB / 0.8026 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006877/0.4563, allocations: 2.462 MB / 0.805 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4563, allocations: 0.75 kB / 0.805 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.4608, allocations: 1.565 MB / 0.8065 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.4621, allocations: 114.5 kB / 0.8067 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3887/0.8508, allocations: 16.24 MB / 0.8225 GB, free: 92.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/0.8518, allocations: 0.5315 MB / 0.823 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006439/0.8524, allocations: 117.1 kB / 0.8231 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007911/0.8532, allocations: 481.1 kB / 0.8236 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/0.8532, allocations: 5.094 kB / 0.8236 GB, free: 91.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07768/0.9309, allocations: 37.59 MB / 0.8603 GB, free: 63.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.54, allocations: 8.062 kB / 0.8603 GB, free: 63.79 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.55875348020345] Failed to read output from testmodel.py, exit status != 0: 16.68275283416733 16.694151325 16.489543538 Calling exit ...