Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.0009284/0.0009284, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.941/0.941, allocations: 177.2 MB / 200.3 MB, free: 5.414 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.001874/0.001874, allocations: 151.4 kB / 256.9 MB, free: 12.84 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.2661/0.2661, allocations: 80.25 MB / 393.7 MB, free: 1.98 MB / 314.7 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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 4 kB / 490.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.492e-05, allocations: 2.875 kB / 490.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.00863/0.008645, allocations: 12.53 MB / 0.4911 GB, free: 14.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006027/0.01467, allocations: 3.469 MB / 0.4944 GB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.0157, allocations: 31.94 kB / 0.4945 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.01661, allocations: 0.5543 MB / 0.495 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002363/0.01897, allocations: 1.623 MB / 0.4966 GB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.02103, allocations: 1.537 MB / 0.4981 GB, free: 7.082 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002359/0.02339, allocations: 3.735 MB / 0.5017 GB, free: 3.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.02397, allocations: 0.5892 MB / 0.5023 GB, free: 2.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.0254, allocations: 2.143 MB / 0.5044 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.02665, allocations: 1.573 MB / 0.506 GB, free: 14.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.02692, allocations: 284.9 kB / 0.5062 GB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.02748, allocations: 443.8 kB / 0.5066 GB, free: 14.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.02787, allocations: 0.7835 MB / 0.5074 GB, free: 13.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.0285, allocations: 1.078 MB / 0.5085 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.03035, allocations: 2.89 MB / 0.5113 GB, free: 9.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.03035, allocations: 0 / 0.5113 GB, free: 9.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.03036, allocations: 0 / 0.5113 GB, free: 9.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.03037, allocations: 1.344 kB / 0.5113 GB, free: 9.477 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01074/0.04112, allocations: 7.653 MB / 0.5188 GB, free: 1.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.04116, allocations: 8.031 kB / 0.5188 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007257/0.04841, allocations: 2.725 MB / 0.5214 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.05011, allocations: 1.699 MB / 0.5231 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/0.0505, allocations: 0.81 MB / 0.5239 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.05076, allocations: 223.9 kB / 0.5241 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.05275, allocations: 1.8 MB / 0.5259 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.05278, allocations: 0 / 0.5259 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.05293, allocations: 80 kB / 0.5259 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.05296, allocations: 52 kB / 0.526 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.05451, allocations: 1.054 MB / 0.527 GB, free: 8.914 MB / 410.7 MB 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.007906/0.06242, allocations: 6.648 MB / 0.5335 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.06561, allocations: 1.964 MB / 0.5354 GB, free: 92 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.06637, allocations: 0.7334 MB / 0.5361 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.06655, allocations: 57.98 kB / 0.5362 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.06767, allocations: 1.182 MB / 0.5373 GB, free: 14.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 3.246e-06/0.06767, allocations: 0 / 0.5373 GB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=248): time 0.04622/0.1139, allocations: 20.71 MB / 0.5576 GB, free: 9.262 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.114, allocations: 184.2 kB / 0.5577 GB, free: 9.047 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.1156, allocations: 1.96 MB / 0.5597 GB, free: 7.074 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.1158, allocations: 73.7 kB / 0.5597 GB, free: 6.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/0.1164, allocations: 1.289 MB / 0.561 GB, free: 5.695 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007683/0.1172, allocations: 0.9256 MB / 0.5619 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/0.1179, allocations: 0.5804 MB / 0.5625 GB, free: 4.168 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.118, allocations: 488.8 kB / 0.5629 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1191, allocations: 0.8718 MB / 0.5638 GB, free: 2.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.1203, allocations: 1.355 MB / 0.5651 GB, free: 1.281 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1894/0.3097, allocations: 3.505 MB / 0.5685 GB, free: 83.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.3097, allocations: 2.094 kB / 0.5685 GB, free: 83.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01736/0.3271, allocations: 8.232 MB / 0.5766 GB, free: 82.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.3271, allocations: 115.2 kB / 0.5767 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.3272, allocations: 15.53 kB / 0.5767 GB, free: 82.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.3392, allocations: 5.253 MB / 0.5818 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.3407, allocations: 0.5623 MB / 0.5824 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.3554, allocations: 9.097 MB / 0.5912 GB, free: 79.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.3575, allocations: 408.6 kB / 0.5916 GB, free: 79.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.3576, allocations: 87.44 kB / 0.5917 GB, free: 79.41 MB / 442.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 4 * 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 {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007678/0.3584, allocations: 390.1 kB / 0.5921 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/0.3588, allocations: 388.9 kB / 0.5925 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.3711, allocations: 7.453 MB / 0.5997 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3711, allocations: 24 kB / 0.5998 GB, free: 71.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.3711, allocations: 20 kB / 0.5998 GB, free: 71.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.3712, allocations: 15.95 kB / 0.5998 GB, free: 71.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.3856, allocations: 9.516 MB / 0.6091 GB, free: 62.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3856, allocations: 4 kB / 0.6091 GB, free: 62.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.3862, allocations: 239.8 kB / 0.6093 GB, free: 61.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01115/0.3973, allocations: 5.203 MB / 0.6144 GB, free: 56.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.3975, allocations: 55.98 kB / 0.6145 GB, free: 56.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.4117, allocations: 13.03 MB / 0.6272 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4117, allocations: 4 kB / 0.6272 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.4253, allocations: 8.251 MB / 0.6352 GB, free: 35.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.4259, allocations: 340.8 kB / 0.6356 GB, free: 35.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4261, allocations: 43.98 kB / 0.6356 GB, free: 34.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.4271, allocations: 219.8 kB / 0.6358 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008335/0.428, allocations: 0.5733 MB / 0.6364 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.4281, allocations: 51.98 kB / 0.6364 GB, free: 34.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006652/0.4287, allocations: 1.111 MB / 0.6375 GB, free: 33.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4287, allocations: 0 / 0.6375 GB, free: 33.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002056/0.4308, allocations: 1.169 MB / 0.6387 GB, free: 31.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.4311, allocations: 181.9 kB / 0.6388 GB, free: 31.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005508/0.4366, allocations: 4.198 MB / 0.6429 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4366, allocations: 0 / 0.6429 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.4405, allocations: 3.164 MB / 0.646 GB, free: 24.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.4414, allocations: 320.3 kB / 0.6463 GB, free: 23.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.447, allocations: 4.887 MB / 0.6511 GB, free: 18.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4474, allocations: 0.5477 MB / 0.6516 GB, free: 18.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004966/0.4479, allocations: 250.3 kB / 0.6519 GB, free: 18.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.4484, allocations: 382.1 kB / 0.6522 GB, free: 17.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4484, allocations: 0 / 0.6522 GB, free: 17.79 MB / 442.7 MB Notification: Performance of Templates: time 0.07161/0.5201, allocations: 74.79 MB / 0.7253 GB, free: 7.406 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.824262749403715]