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.0009211/0.0009211, allocations: 80.75 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.005/1.005, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001431/0.001431, allocations: 152.6 kB / 257 MB, free: 12.96 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.422/0.422, allocations: 80.24 MB / 340.5 MB, free: 9.633 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: 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 7.804e-06/7.804e-06, allocations: 3.984 kB / 383.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.867e-05, allocations: 5.125 kB / 383.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01478/0.01482, allocations: 19.84 MB / 403.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.02949, allocations: 5.158 MB / 408.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005875/0.03536, allocations: 44 kB / 409 MB, free: 5.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.03932, allocations: 0.91 MB / 409.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.04891, allocations: 2.396 MB / 412.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.05409, allocations: 2.055 MB / 414.3 MB, free: 16 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.06423, allocations: 5.854 MB / 420.2 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.06711, allocations: 0.904 MB / 421.1 MB, free: 9.156 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.0773, allocations: 3.339 MB / 424.4 MB, free: 5.809 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004907/0.08221, allocations: 2.309 MB / 426.7 MB, free: 3.492 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.08383, allocations: 436 kB / 427.2 MB, free: 3.066 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.08562, allocations: 0.5897 MB / 427.7 MB, free: 2.477 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000785/0.0864, allocations: 1.182 MB / 428.9 MB, free: 1.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.08908, allocations: 1.732 MB / 430.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00617/0.09525, allocations: 4.485 MB / 435.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.09526, allocations: 4 kB / 435.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09526, allocations: 4 kB / 435.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002502/0.09551, allocations: 0 / 435.2 MB, free: 11.04 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.0165/0.112, allocations: 9.296 MB / 444.4 MB, free: 1.668 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1121, allocations: 8.031 kB / 444.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2337/0.3457, allocations: 5.127 MB / 449.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004058/0.3498, allocations: 1.776 MB / 451.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005505/0.3503, allocations: 1.013 MB / 452.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.3508, allocations: 354.1 kB / 452.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/0.3542, allocations: 2.878 MB / 455.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/0.3543, allocations: 0 / 455.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.3545, allocations: 142.7 kB / 455.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.3546, allocations: 87.41 kB / 455.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.3566, allocations: 1.349 MB / 457.2 MB, free: 40.5 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.01371/0.3704, allocations: 9.449 MB / 466.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.3734, allocations: 2.127 MB / 468.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/0.3743, allocations: 0.8166 MB / 469.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.3746, allocations: 84.62 kB / 469.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/0.376, allocations: 1.633 MB / 471.3 MB, free: 35.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=382): time 7.354e-06/0.376, allocations: 0 / 471.3 MB, free: 35.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.116/0.492, allocations: 54.48 MB / 0.5134 GB, free: 13.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.4921, allocations: 141.8 kB / 0.5136 GB, free: 13.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.4951, allocations: 2.718 MB / 0.5162 GB, free: 11.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/0.4962, allocations: 86.27 kB / 0.5163 GB, free: 11.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.4971, allocations: 1.325 MB / 0.5176 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.4985, allocations: 1.382 MB / 0.5189 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009289/0.4995, allocations: 0.6626 MB / 0.5196 GB, free: 8.715 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.4997, allocations: 305.1 kB / 0.5199 GB, free: 8.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.5013, allocations: 0.9339 MB / 0.5208 GB, free: 7.602 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.5032, allocations: 1.558 MB / 0.5223 GB, free: 6.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00524/0.5084, allocations: 4.227 MB / 0.5264 GB, free: 2.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/0.5085, allocations: 12 kB / 0.5265 GB, free: 2.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01947/0.5279, allocations: 10.41 MB / 0.5366 GB, free: 8.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.528, allocations: 68.38 kB / 0.5367 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.528, allocations: 16 kB / 0.5367 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0197/0.5477, allocations: 7.386 MB / 0.5439 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/0.5498, allocations: 0.6466 MB / 0.5446 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.5727, allocations: 11.76 MB / 0.556 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.577, allocations: 0.5247 MB / 0.5565 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006264/0.5776, allocations: 116 kB / 0.5567 GB, free: 3.898 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.001237/0.5789, allocations: 362.4 kB / 0.557 GB, free: 3.574 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.58, allocations: 391.6 kB / 0.5574 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/0.5991, allocations: 9.993 MB / 0.5671 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.5991, allocations: 37.55 kB / 0.5672 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-05/0.5991, allocations: 28 kB / 0.5672 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/0.5992, allocations: 15.94 kB / 0.5672 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.6235, allocations: 11.85 MB / 0.5788 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.6236, allocations: 0 / 0.5788 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.6252, allocations: 383.2 kB / 0.5792 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02013/0.6454, allocations: 7.465 MB / 0.5864 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008811/0.6462, allocations: 67.98 kB / 0.5865 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/0.6683, allocations: 12.35 MB / 0.5986 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6683, allocations: 240 / 0.5986 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02198/0.6903, allocations: 10.82 MB / 0.6091 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.6918, allocations: 444.3 kB / 0.6096 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/0.6925, allocations: 69.5 kB / 0.6096 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.6944, allocations: 283.7 kB / 0.6099 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001868/0.6963, allocations: 0.7684 MB / 0.6106 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.6964, allocations: 63.98 kB / 0.6107 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001271/0.6977, allocations: 1.469 MB / 0.6121 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6977, allocations: 0 / 0.6121 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004373/0.7021, allocations: 1.803 MB / 0.6139 GB, free: 10.23 MB / 0.5261 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.0004706/0.7025, allocations: 191.6 kB / 0.6141 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009257/0.7118, allocations: 5.368 MB / 0.6193 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.506e-05/0.7119, allocations: 41.81 kB / 0.6194 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007379/0.7192, allocations: 3.98 MB / 0.6233 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.7216, allocations: 448.6 kB / 0.6237 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7325, allocations: 7.278 MB / 0.6308 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.7332, allocations: 0.7981 MB / 0.6316 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001201/0.7344, allocations: 367.1 kB / 0.6319 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008149/0.7352, allocations: 487.3 kB / 0.6324 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of SimCode: time 2.144e-06/0.7352, allocations: 0 / 0.6324 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of Templates: time 0.2998/1.035, allocations: 100.4 MB / 0.7304 GB, free: 103.2 MB / 0.5417 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.919673093594611]