Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001567/0.001567, 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.569/1.569, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001704/0.001704, allocations: 203.8 kB / 309.2 MB, free: 3.113 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.7104/0.7104, allocations: 107.3 MB / 473 MB, free: 29.69 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.003052/0.003052, allocations: 86.66 kB / 0.6334 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1867, allocations: 80.17 MB / 0.7116 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02336/0.21, allocations: 18.5 MB / 0.7297 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2236, allocations: 4.83 MB / 0.7344 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005908/0.2295, allocations: 44 kB / 0.7345 GB, free: 0 / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004252/0.2337, allocations: 0.8829 MB / 0.7353 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.2449, allocations: 2.276 MB / 0.7376 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007797/0.2527, allocations: 2.061 MB / 0.7396 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01287/0.2655, allocations: 5.743 MB / 0.7452 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.2693, allocations: 0.861 MB / 0.746 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/0.2753, allocations: 2.396 MB / 0.7484 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.2811, allocations: 2.666 MB / 0.751 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002629/0.2837, allocations: 436 kB / 0.7514 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.2871, allocations: 0.6014 MB / 0.752 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.2897, allocations: 1.147 MB / 0.7531 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005283/0.295, allocations: 2.113 MB / 0.7551 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.3082, allocations: 6.328 MB / 0.7613 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.3082, allocations: 0 / 0.7613 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3082, allocations: 0 / 0.7613 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003637/0.3085, allocations: 0 / 0.7613 GB, free: 4.367 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03925/0.3478, allocations: 9.896 MB / 0.771 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.3478, allocations: 12.03 kB / 0.771 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001993/0.3498, allocations: 492.8 kB / 0.7715 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/0.3774, allocations: 4.051 MB / 0.7754 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008399/0.3858, allocations: 2.566 MB / 0.7779 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00191/0.3877, allocations: 1.036 MB / 0.7789 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.3897, allocations: 355.9 kB / 0.7793 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.4071, allocations: 4.76 MB / 0.7839 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.4073, allocations: 0 / 0.7839 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/0.4087, allocations: 140 kB / 0.7841 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.4088, allocations: 84 kB / 0.7841 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.4224, allocations: 4.242 MB / 0.7883 GB, free: 8.348 MB / 0.5606 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.04573/0.4682, allocations: 13.43 MB / 0.8014 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.4823, allocations: 4.349 MB / 0.8057 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007077/0.4894, allocations: 2.5 MB / 0.8081 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/0.4902, allocations: 62.95 kB / 0.8082 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00919/0.4993, allocations: 3.202 MB / 0.8113 GB, free: 292 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 1.235e-05/0.4994, allocations: 0 / 0.8113 GB, free: 292 kB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.7763/1.276, allocations: 67.83 MB / 0.8775 GB, free: 43.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.276, allocations: 142.5 kB / 0.8777 GB, free: 43.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/1.281, allocations: 3.239 MB / 0.8808 GB, free: 40.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001253/1.283, allocations: 89.7 kB / 0.8809 GB, free: 40.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/1.284, allocations: 2.005 MB / 0.8829 GB, free: 38.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/1.286, allocations: 1.371 MB / 0.8842 GB, free: 37.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/1.287, allocations: 0.6823 MB / 0.8849 GB, free: 36.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.287, allocations: 307.1 kB / 0.8852 GB, free: 36.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004918/1.292, allocations: 2.639 MB / 0.8877 GB, free: 33.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/1.298, allocations: 3.268 MB / 0.8909 GB, free: 30.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06603/1.364, allocations: 18.98 MB / 0.9095 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.047e-05/1.364, allocations: 7.984 kB / 0.9095 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05634/1.42, allocations: 17.2 MB / 0.9263 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.42, allocations: 68.03 kB / 0.9263 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/1.42, allocations: 14.89 kB / 0.9263 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02686/1.447, allocations: 7.149 MB / 0.9333 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/1.451, allocations: 0.6748 MB / 0.934 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09322/1.544, allocations: 32.37 MB / 0.9656 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007093/1.551, allocations: 0.627 MB / 0.9662 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/1.553, allocations: 148 kB / 0.9664 GB, free: 492 kB / 0.6231 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003991/1.557, allocations: 0.6821 MB / 0.967 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002232/1.559, allocations: 480.9 kB / 0.9675 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05885/1.618, allocations: 16.73 MB / 0.9838 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.287e-05/1.618, allocations: 40 kB / 0.9839 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002134/1.618, allocations: 31.94 kB / 0.9839 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/1.618, allocations: 21.61 kB / 0.9839 GB, free: 14.43 MB / 0.6544 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.06916/1.687, allocations: 20.4 MB / 1.004 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/1.687, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.69, allocations: 391.5 kB / 1.004 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02733/1.717, allocations: 7.335 MB / 1.011 GB, free: 2.316 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/1.719, allocations: 75.92 kB / 1.011 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09529/1.814, allocations: 30.79 MB / 1.042 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.814, allocations: 0 / 1.042 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07274/1.887, allocations: 20.16 MB / 1.061 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.889, allocations: 0.503 MB / 1.062 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/1.891, allocations: 71.94 kB / 1.062 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006164/1.897, allocations: 375.5 kB / 1.062 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004453/1.901, allocations: 0.8152 MB / 1.063 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001143/1.903, allocations: 95.98 kB / 1.063 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00513/1.908, allocations: 2.105 MB / 1.065 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.908, allocations: 0 / 1.065 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.009351/1.917, allocations: 1.81 MB / 1.067 GB, free: 9.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07443/1.991, allocations: 20.82 MB / 1.087 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0316/2.023, allocations: 8.852 MB / 1.096 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/2.023, allocations: 0.875 kB / 1.096 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02339/2.046, allocations: 5.883 MB / 1.102 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007044/2.054, allocations: 385.3 kB / 1.102 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6117/2.665, allocations: 58.89 MB / 1.159 GB, free: 243.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/2.668, allocations: 1.927 MB / 1.161 GB, free: 241.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00185/2.67, allocations: 375.6 kB / 1.162 GB, free: 241.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/2.672, allocations: 1.983 MB / 1.164 GB, free: 239.3 MB / 0.7637 GB Notification: Performance of SimCode: time 2.274e-06/2.672, allocations: 0 / 1.164 GB, free: 239.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/2.877, allocations: 136.9 MB / 1.297 GB, free: 103 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.34/24.22, allocations: 7.375 kB / 1.297 GB, free: 103 MB / 0.7637 GB " [Timeout remaining time 636] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.927599870599806] Failed to read output from testmodel.py, exit status != 0: 24.410510258749127 24.426216707 24.114426707 Calling exit ...