Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.002088/0.002088, 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.499/1.499, 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.001626/0.001626, allocations: 207.7 kB / 309.2 MB, free: 3.117 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.6503/0.6503, allocations: 107.2 MB / 472.8 MB, free: 29.92 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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_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.002882/0.002882, allocations: 91.86 kB / 0.6332 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.165, allocations: 80.14 MB / 0.7114 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02268/0.1877, allocations: 18.61 MB / 0.7296 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.2018, allocations: 4.885 MB / 0.7344 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005522/0.2074, allocations: 44 kB / 0.7344 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.2114, allocations: 0.8866 MB / 0.7353 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.2222, allocations: 2.295 MB / 0.7375 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006731/0.2289, allocations: 2.069 MB / 0.7395 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.2393, allocations: 5.822 MB / 0.7452 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.2421, allocations: 0.8728 MB / 0.7461 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004963/0.2471, allocations: 2.439 MB / 0.7485 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/0.2521, allocations: 2.705 MB / 0.7511 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.254, allocations: 452 kB / 0.7515 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.2566, allocations: 0.6014 MB / 0.7521 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.2589, allocations: 1.171 MB / 0.7533 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004496/0.2634, allocations: 2.144 MB / 0.7554 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.2744, allocations: 6.398 MB / 0.7616 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2744, allocations: 0 / 0.7616 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2744, allocations: 0 / 0.7616 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003137/0.2747, allocations: 0 / 0.7616 GB, free: 3.961 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03701/0.3117, allocations: 9.989 MB / 0.7714 GB, free: 9.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3118, allocations: 12.03 kB / 0.7714 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001584/0.3133, allocations: 492.9 kB / 0.7718 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/0.3412, allocations: 4.059 MB / 0.7758 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00745/0.3486, allocations: 2.61 MB / 0.7784 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/0.3501, allocations: 1.037 MB / 0.7794 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.3518, allocations: 355.9 kB / 0.7797 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.3669, allocations: 4.78 MB / 0.7844 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.3671, allocations: 3.984 kB / 0.7844 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.3683, allocations: 140 kB / 0.7845 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.3684, allocations: 91.98 kB / 0.7846 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.381, allocations: 4.261 MB / 0.7888 GB, free: 7.754 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.0411/0.4221, allocations: 13.47 MB / 0.8019 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.4362, allocations: 4.395 MB / 0.8062 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006832/0.443, allocations: 2.516 MB / 0.8087 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007095/0.4438, allocations: 54.97 kB / 0.8087 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3787/0.8225, allocations: 3.224 MB / 0.8119 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 9.097e-06/0.8225, allocations: 0 / 0.8119 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2882/1.111, allocations: 66.59 MB / 0.8769 GB, free: 43.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/1.111, allocations: 145.8 kB / 0.877 GB, free: 43.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004277/1.115, allocations: 3.291 MB / 0.8803 GB, free: 40.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.116, allocations: 93.7 kB / 0.8803 GB, free: 40 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.117, allocations: 2.012 MB / 0.8823 GB, free: 38.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/1.119, allocations: 1.391 MB / 0.8837 GB, free: 37.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/1.12, allocations: 0.6927 MB / 0.8843 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/1.12, allocations: 301.1 kB / 0.8846 GB, free: 36.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004878/1.125, allocations: 2.674 MB / 0.8872 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/1.13, allocations: 3.301 MB / 0.8905 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06609/1.196, allocations: 19.34 MB / 0.9094 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/1.196, allocations: 4 kB / 0.9094 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05517/1.252, allocations: 17.2 MB / 0.9262 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.252, allocations: 68.03 kB / 0.9262 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/1.252, allocations: 12 kB / 0.9262 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02843/1.28, allocations: 7.295 MB / 0.9334 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/1.284, allocations: 0.6826 MB / 0.934 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09394/1.378, allocations: 32.92 MB / 0.9662 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006689/1.384, allocations: 0.6344 MB / 0.9668 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.386, allocations: 156 kB / 0.9669 GB, free: 15.32 MB / 0.6387 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 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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003348/1.389, allocations: 0.6693 MB / 0.9676 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.391, allocations: 493.9 kB / 0.9681 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06129/1.452, allocations: 16.78 MB / 0.9845 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-05/1.452, allocations: 36 kB / 0.9845 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/1.452, allocations: 28 kB / 0.9845 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001168/1.453, allocations: 23.92 kB / 0.9845 GB, free: 13.21 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.08426/1.537, allocations: 20.45 MB / 1.005 GB, free: 8.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-05/1.537, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004672/1.542, allocations: 395.5 kB / 1.005 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05183/1.593, allocations: 7.335 MB / 1.012 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/1.595, allocations: 79.98 kB / 1.012 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1033/1.698, allocations: 30.82 MB / 1.042 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.698, allocations: 0 / 1.042 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0716/1.77, allocations: 20.24 MB / 1.062 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.771, allocations: 0.5188 MB / 1.062 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001981/1.773, allocations: 68 kB / 1.063 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005764/1.779, allocations: 379.5 kB / 1.063 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004161/1.783, allocations: 0.8197 MB / 1.064 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009732/1.784, allocations: 91.98 kB / 1.064 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004843/1.789, allocations: 2.149 MB / 1.066 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.789, allocations: 0 / 1.066 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008362/1.798, allocations: 1.823 MB / 1.068 GB, free: 7.879 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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.07369/1.871, allocations: 20.9 MB / 1.088 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03035/1.902, allocations: 9.045 MB / 1.097 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.902, allocations: 1.938 kB / 1.097 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.022/1.924, allocations: 5.938 MB / 1.103 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/1.929, allocations: 393.7 kB / 1.103 GB, free: 3.379 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5096/2.438, allocations: 59.26 MB / 1.161 GB, free: 242 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/2.442, allocations: 1.948 MB / 1.163 GB, free: 240 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002258/2.444, allocations: 378.6 kB / 1.163 GB, free: 239.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/2.447, allocations: 1.995 MB / 1.165 GB, free: 237.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.303e-06/2.447, allocations: 0 / 1.165 GB, free: 237.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/2.638, allocations: 139.5 MB / 1.301 GB, free: 98.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.41/25.05, allocations: 4 kB / 1.301 GB, free: 98.6 MB / 0.7637 GB " [Timeout remaining time 635] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.307881148997694] Failed to read output from testmodel.py, exit status != 0: 25.24856457998976 25.270849235 24.992130521 Calling exit ...