Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001428/0.001428, 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.577/1.577, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001878/0.001878, allocations: 216.5 kB / 309.2 MB, free: 3.109 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.6778/0.6778, allocations: 107.3 MB / 473 MB, free: 29.86 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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.002496/0.002496, allocations: 93.36 kB / 0.6334 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1789, allocations: 80.16 MB / 0.7116 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02109/0.2, allocations: 18.58 MB / 0.7298 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.214, allocations: 4.865 MB / 0.7345 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006415/0.2204, allocations: 44 kB / 0.7346 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004223/0.2246, allocations: 0.8828 MB / 0.7354 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.2349, allocations: 2.291 MB / 0.7377 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007168/0.2421, allocations: 2.062 MB / 0.7397 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.2537, allocations: 5.791 MB / 0.7453 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.257, allocations: 0.8649 MB / 0.7462 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005633/0.2627, allocations: 2.423 MB / 0.7486 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005591/0.2683, allocations: 2.705 MB / 0.7512 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.2706, allocations: 444 kB / 0.7516 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.2737, allocations: 0.5976 MB / 0.7522 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.2761, allocations: 1.167 MB / 0.7533 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005267/0.2813, allocations: 2.129 MB / 0.7554 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.295, allocations: 6.371 MB / 0.7616 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.295, allocations: 0 / 0.7616 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.968e-06/0.295, allocations: 0 / 0.7616 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003704/0.2954, allocations: 0 / 0.7616 GB, free: 4.027 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03767/0.333, allocations: 9.97 MB / 0.7714 GB, free: 9.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.3331, allocations: 12.03 kB / 0.7714 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001686/0.3348, allocations: 488.8 kB / 0.7719 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02703/0.3618, allocations: 4.051 MB / 0.7758 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007396/0.3692, allocations: 2.602 MB / 0.7783 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/0.3705, allocations: 1.033 MB / 0.7794 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.3717, allocations: 352 kB / 0.7797 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.3823, allocations: 4.768 MB / 0.7843 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.3823, allocations: 8 kB / 0.7844 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/0.3828, allocations: 140 kB / 0.7845 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-05/0.3828, allocations: 91.94 kB / 0.7846 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009344/0.3922, allocations: 4.257 MB / 0.7887 GB, free: 7.875 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.03555/0.4277, allocations: 13.44 MB / 0.8019 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/0.4406, allocations: 4.374 MB / 0.8061 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006253/0.4468, allocations: 2.516 MB / 0.8086 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.4474, allocations: 58.97 kB / 0.8086 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4965/0.944, allocations: 3.21 MB / 0.8118 GB, free: 85.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 1.365e-05/0.944, allocations: 0 / 0.8118 GB, free: 85.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.2914/1.235, allocations: 67.55 MB / 0.8777 GB, free: 42.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/1.235, allocations: 153.8 kB / 0.8779 GB, free: 42.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/1.24, allocations: 3.272 MB / 0.8811 GB, free: 39.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.241, allocations: 97.69 kB / 0.8812 GB, free: 39.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.242, allocations: 2.003 MB / 0.8831 GB, free: 37.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.244, allocations: 1.385 MB / 0.8845 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/1.245, allocations: 0.6785 MB / 0.8851 GB, free: 35.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/1.245, allocations: 301.1 kB / 0.8854 GB, free: 35.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/1.25, allocations: 2.655 MB / 0.888 GB, free: 32.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005143/1.255, allocations: 3.295 MB / 0.8912 GB, free: 29.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06517/1.32, allocations: 19.21 MB / 0.91 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-05/1.32, allocations: 4 kB / 0.91 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05618/1.376, allocations: 17.25 MB / 0.9269 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.376, allocations: 63.41 kB / 0.9269 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/1.377, allocations: 12 kB / 0.9269 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02714/1.404, allocations: 7.157 MB / 0.9339 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004152/1.408, allocations: 0.6826 MB / 0.9346 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0964/1.504, allocations: 32.39 MB / 0.9662 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00693/1.511, allocations: 0.6246 MB / 0.9668 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.512, allocations: 164 kB / 0.967 GB, free: 15.27 MB / 0.6387 GB 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 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 order5.delta:VARIABLE(flow=false start = order5.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 (407): * Single equations (assignments): 404 * 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.003882/1.516, allocations: 0.6724 MB / 0.9676 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002303/1.519, allocations: 484.8 kB / 0.9681 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06365/1.582, allocations: 16.76 MB / 0.9845 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.239e-05/1.582, allocations: 39.94 kB / 0.9845 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001341/1.582, allocations: 28 kB / 0.9845 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001334/1.583, allocations: 26.23 kB / 0.9846 GB, free: 13.19 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.07433/1.657, allocations: 20.42 MB / 1.004 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/1.657, allocations: 4 kB / 1.004 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.66, allocations: 393.6 kB / 1.005 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02796/1.688, allocations: 7.368 MB / 1.012 GB, free: 1.023 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001193/1.689, allocations: 71.98 kB / 1.012 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09724/1.786, allocations: 30.77 MB / 1.042 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.786, allocations: 0 / 1.042 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06989/1.856, allocations: 20.21 MB / 1.062 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.858, allocations: 0.5133 MB / 1.062 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002025/1.86, allocations: 60 kB / 1.062 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005856/1.866, allocations: 379.5 kB / 1.063 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004262/1.87, allocations: 0.823 MB / 1.064 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001005/1.871, allocations: 99.92 kB / 1.064 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005735/1.877, allocations: 2.129 MB / 1.066 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/1.877, allocations: 4 kB / 1.066 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.009534/1.886, allocations: 1.815 MB / 1.068 GB, free: 7.961 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.06826/1.955, allocations: 20.86 MB / 1.088 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02973/1.984, allocations: 8.892 MB / 1.097 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.984, allocations: 0 / 1.097 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02268/2.007, allocations: 5.93 MB / 1.102 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006129/2.013, allocations: 395.2 kB / 1.103 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5775/2.591, allocations: 59.23 MB / 1.161 GB, free: 242.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/2.593, allocations: 1.936 MB / 1.163 GB, free: 240.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001851/2.594, allocations: 379.4 kB / 1.163 GB, free: 239.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/2.597, allocations: 2.03 MB / 1.165 GB, free: 237.7 MB / 0.7637 GB Notification: Performance of SimCode: time 1.783e-06/2.597, allocations: 0 / 1.165 GB, free: 237.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1985/2.795, allocations: 137.8 MB / 1.299 GB, free: 100.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.56/25.36, allocations: 0 / 1.299 GB, free: 100.5 MB / 0.7637 GB " [Timeout remaining time 634] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.899852781090885] Failed to read output from testmodel.py, exit status != 0: 25.553435862995684 25.573009157 25.274151187 Calling exit ...