Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001002/0.001002, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9597/0.9597, allocations: 177.2 MB / 200 MB, free: 5.535 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.001289/0.001289, allocations: 164.4 kB / 256.6 MB, free: 12.98 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.278/0.278, allocations: 80.23 MB / 393.4 MB, free: 3.199 MB / 362.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 489.9 MB, free: 63.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.474e-05, allocations: 5.766 kB / 489.9 MB, free: 63.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.007418/0.007432, allocations: 12.8 MB / 0.4909 GB, free: 50.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.01159, allocations: 3.481 MB / 0.4943 GB, free: 46.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007829/0.01238, allocations: 29.03 kB / 0.4943 GB, free: 46.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008187/0.01319, allocations: 0.5536 MB / 0.4948 GB, free: 46.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.01528, allocations: 1.638 MB / 0.4964 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.01704, allocations: 1.52 MB / 0.4979 GB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.01908, allocations: 3.735 MB / 0.5016 GB, free: 39.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.01968, allocations: 0.5814 MB / 0.5021 GB, free: 38.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.02113, allocations: 2.139 MB / 0.5042 GB, free: 36.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.02223, allocations: 1.581 MB / 0.5058 GB, free: 34.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.02249, allocations: 284 kB / 0.506 GB, free: 34.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.02307, allocations: 448.5 kB / 0.5065 GB, free: 34.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.02346, allocations: 0.7778 MB / 0.5072 GB, free: 33.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.02406, allocations: 1.084 MB / 0.5083 GB, free: 32.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.02593, allocations: 2.883 MB / 0.5111 GB, free: 29.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.02594, allocations: 0 / 0.5111 GB, free: 29.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02594, allocations: 0 / 0.5111 GB, free: 29.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.02596, allocations: 0.6562 kB / 0.5111 GB, free: 29.49 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01125/0.03721, allocations: 7.581 MB / 0.5185 GB, free: 21.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.03725, allocations: 12.02 kB / 0.5185 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007081/0.04433, allocations: 2.725 MB / 0.5212 GB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.046, allocations: 1.746 MB / 0.5229 GB, free: 17.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.04634, allocations: 0.8139 MB / 0.5237 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.04657, allocations: 216 kB / 0.5239 GB, free: 16.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.04888, allocations: 1.999 MB / 0.5258 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.04891, allocations: 4 kB / 0.5258 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.04907, allocations: 84 kB / 0.5259 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.04911, allocations: 48 kB / 0.526 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.051, allocations: 1.331 MB / 0.5273 GB, free: 12.54 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.007271/0.05827, allocations: 6.923 MB / 0.534 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.06161, allocations: 2.136 MB / 0.5361 GB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.06264, allocations: 0.9013 MB / 0.537 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.0628, allocations: 49.98 kB / 0.537 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.06418, allocations: 1.313 MB / 0.5383 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 4.128e-06/0.06419, allocations: 0 / 0.5383 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of matching and sorting (n=247): time 0.05389/0.1181, allocations: 22.23 MB / 0.56 GB, free: 10.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.1182, allocations: 180.2 kB / 0.5602 GB, free: 10.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.1202, allocations: 2.051 MB / 0.5622 GB, free: 8.355 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.1204, allocations: 69.7 kB / 0.5623 GB, free: 8.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008673/0.1213, allocations: 1.27 MB / 0.5635 GB, free: 7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008135/0.1221, allocations: 0.9064 MB / 0.5644 GB, free: 6.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.1231, allocations: 0.5688 MB / 0.565 GB, free: 5.504 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1232, allocations: 476.8 kB / 0.5654 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.125, allocations: 0.9616 MB / 0.5663 GB, free: 4.047 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.127, allocations: 1.41 MB / 0.5677 GB, free: 2.484 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005696/0.1327, allocations: 3.689 MB / 0.5713 GB, free: 14.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.1327, allocations: 3.938 kB / 0.5713 GB, free: 14.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.02122/0.1539, allocations: 8.497 MB / 0.5796 GB, free: 5.977 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/0.154, allocations: 114.8 kB / 0.5797 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.154, allocations: 8 kB / 0.5797 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01858/0.1726, allocations: 5.442 MB / 0.5851 GB, free: 388 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.1751, allocations: 0.55 MB / 0.5856 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.1957, allocations: 9.706 MB / 0.5951 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.1983, allocations: 410 kB / 0.5955 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.1985, allocations: 112 kB / 0.5956 GB, free: 5.492 MB / 474.7 MB Warning: Assuming fixed start value for the following 6 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 order3_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 (319): * Single equations (assignments): 314 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008162/0.1993, allocations: 388 kB / 0.5959 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005009/0.1998, allocations: 390 kB / 0.5963 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.2156, allocations: 7.835 MB / 0.604 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.2156, allocations: 24 kB / 0.604 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.2156, allocations: 23.94 kB / 0.604 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.2157, allocations: 15.95 kB / 0.604 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/0.2348, allocations: 10.19 MB / 0.614 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.2348, allocations: 0 / 0.614 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.2357, allocations: 239.7 kB / 0.6142 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2493/0.4849, allocations: 5.328 MB / 0.6194 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006276/0.4856, allocations: 54.02 kB / 0.6195 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/0.5039, allocations: 13.39 MB / 0.6325 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5039, allocations: 0 / 0.6325 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/0.5207, allocations: 8.805 MB / 0.6411 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.5212, allocations: 342 kB / 0.6415 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.5215, allocations: 50.38 kB / 0.6415 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5227, allocations: 223.6 kB / 0.6417 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.5237, allocations: 0.5655 MB / 0.6423 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.5238, allocations: 66.67 kB / 0.6423 GB, free: 121.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.5248, allocations: 1.229 MB / 0.6435 GB, free: 121.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5248, allocations: 0 / 0.6435 GB, free: 121.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002099/0.5269, allocations: 1.175 MB / 0.6447 GB, free: 120.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0003904/0.5273, allocations: 176 kB / 0.6448 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006362/0.5337, allocations: 4.492 MB / 0.6492 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5337, allocations: 0 / 0.6492 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/0.5382, allocations: 3.311 MB / 0.6525 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.5392, allocations: 317.5 kB / 0.6528 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.5447, allocations: 4.871 MB / 0.6575 GB, free: 109.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5451, allocations: 0.5357 MB / 0.6581 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000498/0.5456, allocations: 255 kB / 0.6583 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.546, allocations: 187.7 kB / 0.6585 GB, free: 108.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/0.546, allocations: 0 / 0.6585 GB, free: 108.4 MB / 490.7 MB Notification: Performance of Templates: time 0.06821/0.6142, allocations: 75.48 MB / 0.7322 GB, free: 34.04 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.440750658977777]