Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.002452/0.002452, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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 1.674/1.674, allocations: 177.1 MB / 199.7 MB, free: 5.797 MB / 186.7 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.002085/0.002085, allocations: 160.2 kB / 256.3 MB, free: 13.15 MB / 250.7 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.5095/0.5095, allocations: 80.37 MB / 393.1 MB, free: 2.156 MB / 314.7 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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 489.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.779e-05, allocations: 5.703 kB / 489.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.02458/0.02462, allocations: 12.83 MB / 0.4904 GB, free: 14.92 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009112/0.03373, allocations: 3.473 MB / 0.4937 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.03736, allocations: 31.94 kB / 0.4938 GB, free: 11.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.03975, allocations: 0.5591 MB / 0.4943 GB, free: 10.87 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.04563, allocations: 1.598 MB / 0.4959 GB, free: 9.273 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004186/0.04982, allocations: 1.529 MB / 0.4974 GB, free: 7.785 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006303/0.05612, allocations: 3.743 MB / 0.501 GB, free: 4.027 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.05767, allocations: 0.5787 MB / 0.5016 GB, free: 3.387 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.06218, allocations: 2.135 MB / 0.5037 GB, free: 1.246 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.06519, allocations: 1.562 MB / 0.5052 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009246/0.06612, allocations: 288 kB / 0.5055 GB, free: 15.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.06757, allocations: 447.7 kB / 0.5059 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.06869, allocations: 0.7894 MB / 0.5067 GB, free: 14.17 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.07082, allocations: 1.074 MB / 0.5077 GB, free: 13.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006329/0.07715, allocations: 4.107 MB / 0.5117 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.07716, allocations: 0 / 0.5117 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.07716, allocations: 0 / 0.5117 GB, free: 8.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001523/0.07731, allocations: 0 / 0.5117 GB, free: 8.969 MB / 442.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.02742/0.1047, allocations: 8.133 MB / 0.5197 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1048, allocations: 12.03 kB / 0.5197 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.1207, allocations: 2.729 MB / 0.5224 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/0.1252, allocations: 1.815 MB / 0.5241 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000973/0.1261, allocations: 0.8179 MB / 0.5249 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/0.1268, allocations: 220 kB / 0.5251 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/0.134, allocations: 3.089 MB / 0.5282 GB, free: 7.734 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.134, allocations: 0 / 0.5282 GB, free: 7.734 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.1343, allocations: 80 kB / 0.5282 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.1344, allocations: 52 kB / 0.5283 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006638/0.141, allocations: 2.686 MB / 0.5309 GB, free: 4.895 MB / 458.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.0218/0.1628, allocations: 8.114 MB / 0.5388 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.1734, allocations: 3.117 MB / 0.5419 GB, free: 9.453 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004715/0.1781, allocations: 1.784 MB / 0.5436 GB, free: 7.652 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/0.1785, allocations: 49.98 kB / 0.5437 GB, free: 7.605 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005589/0.1841, allocations: 2.289 MB / 0.5459 GB, free: 5.277 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 8.135e-06/0.1841, allocations: 3.984 kB / 0.5459 GB, free: 5.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.1221/0.3061, allocations: 24.83 MB / 0.5701 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.3063, allocations: 180.2 kB / 0.5703 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.3109, allocations: 2.637 MB / 0.5729 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005917/0.3115, allocations: 77.69 kB / 0.573 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.313, allocations: 1.348 MB / 0.5743 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/0.3148, allocations: 0.965 MB / 0.5752 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.3162, allocations: 0.6549 MB / 0.5759 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.3165, allocations: 476.8 kB / 0.5763 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/0.3214, allocations: 1.922 MB / 0.5782 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005781/0.3272, allocations: 2.449 MB / 0.5806 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/0.343, allocations: 6.977 MB / 0.5874 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.343, allocations: 4 kB / 0.5874 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.2211/0.5641, allocations: 11.29 MB / 0.5984 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.5642, allocations: 117.4 kB / 0.5985 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.5642, allocations: 6.219 kB / 0.5985 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04965/0.6138, allocations: 6.577 MB / 0.605 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/0.6198, allocations: 0.5563 MB / 0.6055 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.107/0.7268, allocations: 21.73 MB / 0.6267 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007007/0.7338, allocations: 411.4 kB / 0.6271 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007369/0.7345, allocations: 123.1 kB / 0.6272 GB, free: 146.4 MB / 0.5105 GB 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.001947/0.7365, allocations: 0.5706 MB / 0.6278 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/0.7378, allocations: 394.1 kB / 0.6282 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04528/0.783, allocations: 10.53 MB / 0.6385 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.7831, allocations: 24 kB / 0.6385 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.946e-05/0.7831, allocations: 19.44 kB / 0.6385 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.29e-05/0.7832, allocations: 15.39 kB / 0.6385 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/0.8216, allocations: 13.43 MB / 0.6516 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.8216, allocations: 0 / 0.6516 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.8231, allocations: 247.6 kB / 0.6519 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02912/0.8523, allocations: 6.54 MB / 0.6583 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007079/0.853, allocations: 51.98 kB / 0.6583 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05097/0.9039, allocations: 24.51 MB / 0.6822 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9039, allocations: 0 / 0.6822 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0382/0.9421, allocations: 12.97 MB / 0.6949 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/0.943, allocations: 345.9 kB / 0.6952 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/0.9436, allocations: 48 kB / 0.6953 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/0.9464, allocations: 219.8 kB / 0.6955 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001694/0.9481, allocations: 0.6111 MB / 0.6961 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/0.9483, allocations: 67.98 kB / 0.6961 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00185/0.9502, allocations: 1.592 MB / 0.6977 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9502, allocations: 0 / 0.6977 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003228/0.9534, allocations: 1.171 MB / 0.6988 GB, free: 81.98 MB / 0.5105 GB 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.000414/0.9538, allocations: 174.9 kB / 0.699 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01555/0.9694, allocations: 6.355 MB / 0.7052 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9694, allocations: 0 / 0.7052 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/0.9809, allocations: 4.261 MB / 0.7094 GB, free: 70.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.983, allocations: 326 kB / 0.7097 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/0.9909, allocations: 5.394 MB / 0.715 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.9917, allocations: 1.253 MB / 0.7162 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009043/0.9926, allocations: 254.3 kB / 0.7164 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.9932, allocations: 176.5 kB / 0.7166 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/0.9932, allocations: 0 / 0.7166 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.08498/1.078, allocations: 72.62 MB / 0.7875 GB, free: 7.176 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.883310833014548]