Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.001404/0.001404, 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.039/1.039, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.002181/0.002181, 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.4586/0.4586, allocations: 80.24 MB / 340.5 MB, free: 9.613 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 384 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.245e-05, allocations: 2.312 kB / 384 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01594/0.01596, allocations: 19.98 MB / 403.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.02758, allocations: 5.17 MB / 409.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.03089, allocations: 44 kB / 409.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.03277, allocations: 0.9138 MB / 410.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.03833, allocations: 2.389 MB / 412.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.04191, allocations: 2.048 MB / 414.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005927/0.04783, allocations: 5.865 MB / 420.4 MB, free: 9.941 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.04913, allocations: 0.904 MB / 421.3 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/0.05482, allocations: 3.342 MB / 424.6 MB, free: 5.613 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.05699, allocations: 2.305 MB / 426.9 MB, free: 3.301 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.05751, allocations: 436 kB / 427.4 MB, free: 2.875 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009816/0.05849, allocations: 0.5975 MB / 427.9 MB, free: 2.277 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.05911, allocations: 1.174 MB / 429.1 MB, free: 1.098 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.06063, allocations: 1.725 MB / 430.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.06443, allocations: 4.493 MB / 435.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.06443, allocations: 0 / 435.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.06443, allocations: 0 / 435.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.127e-05/0.06448, allocations: 4 kB / 435.3 MB, free: 10.85 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01424/0.07872, allocations: 9.303 MB / 444.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.07876, allocations: 8.031 kB / 444.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2267/0.3054, allocations: 5.122 MB / 449.8 MB, free: 63.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.3095, allocations: 1.783 MB / 451.6 MB, free: 63.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/0.3101, allocations: 1.015 MB / 452.6 MB, free: 62.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007255/0.3108, allocations: 353.8 kB / 452.9 MB, free: 62.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003329/0.3142, allocations: 2.881 MB / 455.8 MB, free: 62.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.3142, allocations: 0 / 455.8 MB, free: 62.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.3144, allocations: 139.6 kB / 455.9 MB, free: 62.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.3145, allocations: 88.66 kB / 456 MB, free: 62.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.3164, allocations: 1.353 MB / 457.4 MB, free: 62.14 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.01184/0.3283, allocations: 9.479 MB / 466.9 MB, free: 55.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.3312, allocations: 2.137 MB / 469 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008353/0.3321, allocations: 0.8128 MB / 469.8 MB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.3323, allocations: 82.95 kB / 469.9 MB, free: 52.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.3337, allocations: 1.641 MB / 471.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=383): time 5.771e-06/0.3337, allocations: 0 / 471.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=383): time 0.1172/0.4509, allocations: 54.34 MB / 0.5135 GB, free: 12.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.451, allocations: 145.8 kB / 0.5137 GB, free: 12.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.4536, allocations: 2.71 MB / 0.5163 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003077/0.4539, allocations: 93.69 kB / 0.5164 GB, free: 9.422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/0.4545, allocations: 1.317 MB / 0.5177 GB, free: 8.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.4556, allocations: 1.392 MB / 0.5191 GB, free: 7.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008471/0.4564, allocations: 0.6701 MB / 0.5197 GB, free: 6.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.4565, allocations: 301.1 kB / 0.52 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.458, allocations: 0.9388 MB / 0.5209 GB, free: 5.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.4598, allocations: 1.557 MB / 0.5224 GB, free: 3.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005304/0.4651, allocations: 4.274 MB / 0.5266 GB, free: 14.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.4651, allocations: 4 kB / 0.5266 GB, free: 14.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02003/0.4851, allocations: 10.41 MB / 0.5368 GB, free: 4.305 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.4854, allocations: 63.41 kB / 0.5369 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.4854, allocations: 16 kB / 0.5369 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/0.5035, allocations: 7.245 MB / 0.5439 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.5058, allocations: 0.7499 MB / 0.5447 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/0.5277, allocations: 11.63 MB / 0.556 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.5312, allocations: 0.5325 MB / 0.5566 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.5315, allocations: 111.9 kB / 0.5567 GB, free: 15.85 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (398): * Single equations (assignments): 395 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001145/0.5326, allocations: 372.1 kB / 0.557 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.5332, allocations: 393 kB / 0.5574 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/0.5519, allocations: 9.986 MB / 0.5671 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.5519, allocations: 43.94 kB / 0.5672 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/0.5519, allocations: 28 kB / 0.5672 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.5519, allocations: 19.92 kB / 0.5672 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/0.5734, allocations: 11.86 MB / 0.5788 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5734, allocations: 8.031 kB / 0.5788 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5745, allocations: 411.4 kB / 0.5792 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01858/0.5931, allocations: 7.425 MB / 0.5865 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000447/0.5936, allocations: 71.98 kB / 0.5865 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/0.6155, allocations: 12.54 MB / 0.5988 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6155, allocations: 0 / 0.5988 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02181/0.6374, allocations: 10.82 MB / 0.6093 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.6386, allocations: 432.1 kB / 0.6098 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.6391, allocations: 64 kB / 0.6098 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.6408, allocations: 283.7 kB / 0.6101 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001896/0.6427, allocations: 0.7761 MB / 0.6108 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/0.6429, allocations: 67.98 kB / 0.6109 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001391/0.6443, allocations: 1.461 MB / 0.6123 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6443, allocations: 0 / 0.6123 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003805/0.6481, allocations: 1.803 MB / 0.6141 GB, free: 4.559 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004476/0.6486, allocations: 193.5 kB / 0.6143 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009481/0.658, allocations: 5.237 MB / 0.6194 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-05/0.6581, allocations: 41.81 kB / 0.6194 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006936/0.665, allocations: 3.953 MB / 0.6233 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.6667, allocations: 456.6 kB / 0.6237 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.6784, allocations: 7.293 MB / 0.6309 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.6791, allocations: 0.8021 MB / 0.6316 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008989/0.68, allocations: 365.3 kB / 0.632 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008882/0.6809, allocations: 493.5 kB / 0.6325 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/0.6809, allocations: 0 / 0.6325 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of Templates: time 0.2806/0.9615, allocations: 99.3 MB / 0.7294 GB, free: 98.3 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.857628444209695]