Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0009516/0.0009516, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1.033/1.033, allocations: 177.2 MB / 200.3 MB, free: 5.309 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.001639/0.001639, allocations: 160.6 kB / 257 MB, free: 12.77 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.459/0.459, allocations: 80.24 MB / 340.5 MB, free: 9.562 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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 384 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.757e-05, allocations: 9.203 kB / 384 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01324/0.01327, allocations: 19.9 MB / 403.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.02526, allocations: 5.154 MB / 409 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.02951, allocations: 48 kB / 409.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.0316, allocations: 0.91 MB / 410 MB, free: 4.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006167/0.03776, allocations: 2.389 MB / 412.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.0418, allocations: 2.04 MB / 414.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007263/0.04907, allocations: 5.858 MB / 420.3 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.05076, allocations: 0.904 MB / 421.2 MB, free: 9.066 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.05604, allocations: 3.335 MB / 424.5 MB, free: 5.723 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.05889, allocations: 2.301 MB / 426.8 MB, free: 3.414 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.06004, allocations: 444 kB / 427.2 MB, free: 2.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.06125, allocations: 0.6052 MB / 427.8 MB, free: 2.375 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.06205, allocations: 1.182 MB / 429 MB, free: 1.188 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.06367, allocations: 1.725 MB / 430.8 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.06894, allocations: 4.497 MB / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.06895, allocations: 0 / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.06895, allocations: 0 / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002137/0.06916, allocations: 0 / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01628/0.08544, allocations: 9.292 MB / 444.5 MB, free: 1.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.08548, allocations: 12.03 kB / 444.6 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2159/0.3014, allocations: 5.126 MB / 449.7 MB, free: 63.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.3067, allocations: 1.776 MB / 451.5 MB, free: 63.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008121/0.3076, allocations: 1.018 MB / 452.5 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.3086, allocations: 352.4 kB / 452.8 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/0.3133, allocations: 2.874 MB / 455.7 MB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/0.3133, allocations: 0.5625 kB / 455.7 MB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.3136, allocations: 139.9 kB / 455.8 MB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/0.3137, allocations: 86.59 kB / 455.9 MB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.3164, allocations: 1.353 MB / 457.3 MB, free: 62.12 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.01753/0.3339, allocations: 9.448 MB / 466.7 MB, free: 55.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.338, allocations: 2.124 MB / 468.8 MB, free: 53.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.3391, allocations: 0.8204 MB / 469.7 MB, free: 52.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.3394, allocations: 86.7 kB / 469.7 MB, free: 52.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.3413, allocations: 1.636 MB / 471.4 MB, free: 50.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=382): time 7.564e-06/0.3413, allocations: 0 / 471.4 MB, free: 50.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.128/0.4692, allocations: 54.47 MB / 0.5135 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4693, allocations: 145.8 kB / 0.5137 GB, free: 12.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.4726, allocations: 2.706 MB / 0.5163 GB, free: 9.555 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008761/0.4735, allocations: 89.7 kB / 0.5164 GB, free: 9.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007656/0.4743, allocations: 1.325 MB / 0.5177 GB, free: 8.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.4755, allocations: 1.376 MB / 0.519 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008664/0.4764, allocations: 0.67 MB / 0.5197 GB, free: 6.395 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.4765, allocations: 301.1 kB / 0.52 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4781, allocations: 0.9348 MB / 0.5209 GB, free: 5.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.48, allocations: 1.558 MB / 0.5224 GB, free: 3.352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.4854, allocations: 4.237 MB / 0.5266 GB, free: 14.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/0.4854, allocations: 4 kB / 0.5266 GB, free: 14.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.0199/0.5053, allocations: 10.42 MB / 0.5367 GB, free: 4.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.5054, allocations: 75.39 kB / 0.5368 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.5054, allocations: 16 kB / 0.5368 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01996/0.5254, allocations: 7.384 MB / 0.544 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.528, allocations: 0.7455 MB / 0.5448 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/0.5537, allocations: 11.94 MB / 0.5564 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/0.5575, allocations: 0.5286 MB / 0.5569 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/0.558, allocations: 116 kB / 0.557 GB, free: 15.53 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (393): * Single equations (assignments): 390 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001144/0.5591, allocations: 366.6 kB / 0.5574 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008832/0.56, allocations: 391.5 kB / 0.5578 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/0.5794, allocations: 9.989 MB / 0.5675 GB, free: 4.723 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/0.5794, allocations: 40 kB / 0.5676 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/0.5795, allocations: 28 kB / 0.5676 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/0.5796, allocations: 19.92 kB / 0.5676 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/0.6048, allocations: 11.84 MB / 0.5792 GB, free: 8.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.6048, allocations: 4 kB / 0.5792 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.6063, allocations: 407.5 kB / 0.5796 GB, free: 8.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01944/0.6258, allocations: 7.466 MB / 0.5869 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009004/0.6267, allocations: 67.98 kB / 0.5869 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/0.6502, allocations: 12.55 MB / 0.5992 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6502, allocations: 3.984 kB / 0.5992 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/0.6719, allocations: 10.82 MB / 0.6097 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.6731, allocations: 436 kB / 0.6102 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006795/0.6738, allocations: 68 kB / 0.6102 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.6756, allocations: 287.7 kB / 0.6105 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001909/0.6775, allocations: 0.7684 MB / 0.6113 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/0.6777, allocations: 63.98 kB / 0.6113 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001531/0.6792, allocations: 1.465 MB / 0.6127 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.6792, allocations: 0 / 0.6127 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004449/0.6837, allocations: 1.799 MB / 0.6145 GB, free: 4.223 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.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.0005004/0.6842, allocations: 193.2 kB / 0.6147 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009754/0.6939, allocations: 5.364 MB / 0.6199 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.013e-05/0.694, allocations: 41.81 kB / 0.62 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007542/0.7015, allocations: 3.975 MB / 0.6238 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.7038, allocations: 451.3 kB / 0.6243 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.7158, allocations: 7.287 MB / 0.6314 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/0.7167, allocations: 0.8059 MB / 0.6322 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001341/0.718, allocations: 367.1 kB / 0.6325 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/0.719, allocations: 491.3 kB / 0.633 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of SimCode: time 2.415e-06/0.719, allocations: 0 / 0.633 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of Templates: time 0.2939/1.013, allocations: 100.8 MB / 0.7314 GB, free: 96.41 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.069901810027659]