Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0007374/0.0007374, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8431/0.8431, allocations: 177.2 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.0009712/0.0009712, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 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.2623/0.2623, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 180] 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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5548 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/1.049e-05, allocations: 6 kB / 0.5548 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004241/0.004251, allocations: 5.811 MB / 0.5605 GB, free: 6.836 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.006529, allocations: 1.935 MB / 0.5624 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.006826, allocations: 8 kB / 0.5624 GB, free: 4.887 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.007303, allocations: 245.8 kB / 0.5626 GB, free: 4.645 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.008398, allocations: 0.8641 MB / 0.5634 GB, free: 3.781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.009109, allocations: 0.6344 MB / 0.5641 GB, free: 3.148 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.01004, allocations: 1.588 MB / 0.5656 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.01029, allocations: 210.9 kB / 0.5658 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.01094, allocations: 0.9078 MB / 0.5667 GB, free: 436 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.01149, allocations: 0.6698 MB / 0.5674 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.0116, allocations: 120 kB / 0.5675 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.01189, allocations: 279.7 kB / 0.5677 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.01208, allocations: 330.5 kB / 0.5681 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.01235, allocations: 458.5 kB / 0.5685 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.01347, allocations: 1.729 MB / 0.5702 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01347, allocations: 0 / 0.5702 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01347, allocations: 0 / 0.5702 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.01348, allocations: 4 kB / 0.5702 GB, free: 12.85 MB / 0.4948 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.004488/0.01797, allocations: 2.8 MB / 0.5729 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.018, allocations: 8.031 kB / 0.5729 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.01811, allocations: 126.7 kB / 0.573 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.02064, allocations: 0.7991 MB / 0.5738 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.02163, allocations: 0.8306 MB / 0.5746 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.02182, allocations: 333.3 kB / 0.575 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.02193, allocations: 88 kB / 0.575 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.02321, allocations: 1.115 MB / 0.5761 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.02323, allocations: 0 / 0.5761 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.02329, allocations: 31.94 kB / 0.5762 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.0233, allocations: 20 kB / 0.5762 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.02457, allocations: 1.013 MB / 0.5772 GB, free: 5.504 MB / 0.4948 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.003683/0.02825, allocations: 2.972 MB / 0.5801 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.03195, allocations: 2.019 MB / 0.582 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007895/0.03274, allocations: 0.6451 MB / 0.5827 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/0.03281, allocations: 16.98 kB / 0.5827 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009615/0.03377, allocations: 0.839 MB / 0.5835 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 2.074e-06/0.03377, allocations: 0 / 0.5835 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01438/0.04814, allocations: 6.958 MB / 0.5903 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.04819, allocations: 119.8 kB / 0.5904 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009108/0.0491, allocations: 1.095 MB / 0.5915 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.04917, allocations: 41.7 kB / 0.5915 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.04941, allocations: 0.4898 MB / 0.592 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.04962, allocations: 372.9 kB / 0.5924 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.04992, allocations: 283.5 kB / 0.5926 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.04998, allocations: 313 kB / 0.5929 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.05098, allocations: 0.8115 MB / 0.5937 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.05208, allocations: 0.9922 MB / 0.5947 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1787/0.2308, allocations: 5.782 MB / 0.6003 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.2308, allocations: 3.812 kB / 0.6003 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006802/0.2376, allocations: 4.374 MB / 0.6046 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.2376, allocations: 57.81 kB / 0.6047 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2376, allocations: 3.125 kB / 0.6047 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/0.2403, allocations: 1.511 MB / 0.6061 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.241, allocations: 294.5 kB / 0.6064 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.2518, allocations: 7.998 MB / 0.6142 GB, free: 86.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.2526, allocations: 202.9 kB / 0.6144 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.2527, allocations: 60.61 kB / 0.6145 GB, free: 86.59 MB / 0.5105 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.0004565/0.2532, allocations: 302.9 kB / 0.6148 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2533, allocations: 130.8 kB / 0.6149 GB, free: 86.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006891/0.2602, allocations: 3.864 MB / 0.6187 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2602, allocations: 9.719 kB / 0.6187 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2602, allocations: 15.3 kB / 0.6187 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2602, allocations: 8.406 kB / 0.6187 GB, free: 85.34 MB / 0.5105 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.007875/0.2681, allocations: 4.989 MB / 0.6236 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2681, allocations: 0 / 0.6236 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.2684, allocations: 99.11 kB / 0.6237 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.2711, allocations: 1.594 MB / 0.6252 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.2712, allocations: 26.53 kB / 0.6253 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.2817, allocations: 9.239 MB / 0.6343 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2817, allocations: 1.312 kB / 0.6343 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/0.2889, allocations: 4.772 MB / 0.6389 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.289, allocations: 151.1 kB / 0.6391 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2891, allocations: 19.78 kB / 0.6391 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.2897, allocations: 109.8 kB / 0.6392 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.29, allocations: 203.3 kB / 0.6394 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.29, allocations: 31.61 kB / 0.6394 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005878/0.2906, allocations: 0.7305 MB / 0.6401 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.2906, allocations: 4 kB / 0.6401 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008425/0.2915, allocations: 478.1 kB / 0.6406 GB, free: 75.55 MB / 0.5105 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.007113/0.2986, allocations: 5.358 MB / 0.6458 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.3015, allocations: 2.424 MB / 0.6482 GB, free: 68.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3015, allocations: 4.062 kB / 0.6482 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.3034, allocations: 1.551 MB / 0.6497 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.3039, allocations: 118.2 kB / 0.6498 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.3221, allocations: 16.08 MB / 0.6655 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3223, allocations: 0.5316 MB / 0.6661 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.3225, allocations: 127.3 kB / 0.6662 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.3229, allocations: 468.3 kB / 0.6666 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.3229, allocations: 0 / 0.6666 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.3594, allocations: 37.71 MB / 0.7035 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.848, allocations: 0 / 0.7035 GB, free: 12.1 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.056422281078994] Failed to read output from testmodel.py, exit status != 0: 8.9540358716622 8.960779693 8.945706626 Calling exit ...