Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001525/0.001525, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.447/1.447, allocations: 230.6 MB / 252.7 MB, free: 8.332 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.001662/0.001662, allocations: 211.8 kB / 309.2 MB, free: 3.156 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.5432/0.5432, allocations: 101.4 MB / 467 MB, free: 10.33 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.002368/0.002368, allocations: 87.86 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4757, allocations: 78.6 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006271/0.482, allocations: 6.669 MB / 0.7077 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.486, allocations: 2.03 MB / 0.7097 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.4866, allocations: 10.59 kB / 0.7097 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.4873, allocations: 242.9 kB / 0.7099 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.489, allocations: 0.862 MB / 0.7108 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4903, allocations: 0.6498 MB / 0.7114 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.4918, allocations: 1.605 MB / 0.713 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.4921, allocations: 237.9 kB / 0.7132 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007518/0.4929, allocations: 0.6721 MB / 0.7139 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.4937, allocations: 0.8423 MB / 0.7147 GB, free: 308 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.4939, allocations: 122.6 kB / 0.7148 GB, free: 308 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.4944, allocations: 282.7 kB / 0.7151 GB, free: 252 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.4946, allocations: 334.2 kB / 0.7154 GB, free: 28 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.4953, allocations: 0.6692 MB / 0.716 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.4973, allocations: 1.69 MB / 0.7177 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4973, allocations: 0.6094 kB / 0.7177 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4973, allocations: 3.938 kB / 0.7177 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.4973, allocations: 4 kB / 0.7177 GB, free: 14.8 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008704/0.506, allocations: 2.811 MB / 0.7204 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5061, allocations: 11.12 kB / 0.7205 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.5062, allocations: 121.7 kB / 0.7206 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.511, allocations: 0.8001 MB / 0.7214 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.5127, allocations: 0.8269 MB / 0.7222 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.513, allocations: 339.1 kB / 0.7225 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.5132, allocations: 86.28 kB / 0.7226 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.5156, allocations: 1.086 MB / 0.7236 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5156, allocations: 0.875 kB / 0.7236 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.5157, allocations: 30.62 kB / 0.7237 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.5157, allocations: 18.41 kB / 0.7237 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.518, allocations: 0.9905 MB / 0.7246 GB, free: 11.59 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.008307/0.5263, allocations: 3.79 MB / 0.7283 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007223/0.5336, allocations: 2.006 MB / 0.7303 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.535, allocations: 0.6139 MB / 0.7309 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.5351, allocations: 22.66 kB / 0.7309 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.5367, allocations: 0.8125 MB / 0.7317 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.005e-06/0.5368, allocations: 3.938 kB / 0.7317 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02813/0.5649, allocations: 6.897 MB / 0.7385 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.565, allocations: 121.2 kB / 0.7386 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.5674, allocations: 1.087 MB / 0.7396 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.5676, allocations: 42.55 kB / 0.7397 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.5681, allocations: 0.4923 MB / 0.7402 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.5687, allocations: 374.8 kB / 0.7405 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006145/0.5693, allocations: 285.2 kB / 0.7408 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5695, allocations: 306.5 kB / 0.7411 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.5714, allocations: 0.7634 MB / 0.7418 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.5734, allocations: 0.9375 MB / 0.7427 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02449/0.5979, allocations: 5.793 MB / 0.7484 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.5979, allocations: 5.344 kB / 0.7484 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0136/0.6115, allocations: 4.31 MB / 0.7526 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.003e-05/0.6116, allocations: 63.39 kB / 0.7527 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6116, allocations: 0 / 0.7527 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005406/0.617, allocations: 1.516 MB / 0.7541 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.6187, allocations: 295.5 kB / 0.7544 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.6384, allocations: 8.179 MB / 0.7624 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.6406, allocations: 199 kB / 0.7626 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.6408, allocations: 59.98 kB / 0.7627 GB, free: 0.957 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007641/0.6416, allocations: 300.4 kB / 0.763 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.6419, allocations: 135.1 kB / 0.7631 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.6543, allocations: 3.838 MB / 0.7668 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.6543, allocations: 12 kB / 0.7668 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.6543, allocations: 12 kB / 0.7669 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.6544, allocations: 7.969 kB / 0.7669 GB, free: 12.61 MB / 0.5294 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.01538/0.6697, allocations: 5.404 MB / 0.7721 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.6697, allocations: 4 kB / 0.7721 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.6703, allocations: 103.8 kB / 0.7722 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005479/0.6758, allocations: 1.586 MB / 0.7738 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.6759, allocations: 16 kB / 0.7738 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/0.6965, allocations: 9.436 MB / 0.783 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6966, allocations: 4.234 kB / 0.783 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.711, allocations: 4.716 MB / 0.7876 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/0.7115, allocations: 150.9 kB / 0.7878 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.7119, allocations: 20 kB / 0.7878 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.7133, allocations: 111.9 kB / 0.7879 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006263/0.7139, allocations: 200.6 kB / 0.7881 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.714, allocations: 31.98 kB / 0.7881 GB, free: 6.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001246/0.7153, allocations: 0.7312 MB / 0.7888 GB, free: 5.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7153, allocations: 0 / 0.7888 GB, free: 5.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001516/0.7168, allocations: 471.7 kB / 0.7893 GB, free: 5.258 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01505/0.7318, allocations: 5.305 MB / 0.7945 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007073/0.7389, allocations: 2.38 MB / 0.7968 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.7389, allocations: 4.562 kB / 0.7968 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004598/0.7435, allocations: 1.526 MB / 0.7983 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.7452, allocations: 122.9 kB / 0.7984 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/0.7887, allocations: 16.02 MB / 0.814 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.7899, allocations: 1.124 MB / 0.8151 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007329/0.7906, allocations: 124 kB / 0.8153 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/0.7915, allocations: 467.3 kB / 0.8157 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/0.7915, allocations: 4 kB / 0.8157 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.094/0.8855, allocations: 35.56 MB / 0.8504 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.38, allocations: 0 / 0.8504 GB, free: 6.398 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.9695014429999] Failed to read output from testmodel.py, exit status != 0: 16.51964182300071 16.539590798 16.038026785 Calling exit ...