Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.001403/0.001403, allocations: 76.94 kB / 19.94 MB, free: 4.543 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 0.9981/0.9981, allocations: 177.2 MB / 200.3 MB, free: 5.402 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.001267/0.001267, allocations: 152.7 kB / 257 MB, free: 12.84 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.4374/0.4374, allocations: 80.24 MB / 340.5 MB, free: 9.586 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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 383.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.507e-05, allocations: 2.312 kB / 383.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.00949/0.009516, allocations: 12.67 MB / 396.6 MB, free: 1.891 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008175/0.01769, allocations: 3.694 MB / 400.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.01957, allocations: 31.94 kB / 400.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.02104, allocations: 0.5847 MB / 400.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.02455, allocations: 1.64 MB / 402.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.02717, allocations: 1.536 MB / 404.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004698/0.03187, allocations: 3.791 MB / 407.8 MB, free: 6.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.03281, allocations: 0.6245 MB / 408.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.03559, allocations: 2.178 MB / 410.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.03712, allocations: 1.6 MB / 412.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.03751, allocations: 292 kB / 412.5 MB, free: 1.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007222/0.03823, allocations: 471.7 kB / 413 MB, free: 1.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.0387, allocations: 0.7973 MB / 413.8 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008437/0.03954, allocations: 1.102 MB / 414.9 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.04186, allocations: 2.922 MB / 417.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.04186, allocations: 0 / 417.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.04186, allocations: 0 / 417.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.04189, allocations: 0 / 417.8 MB, free: 12.49 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01109/0.05299, allocations: 6.687 MB / 424.5 MB, free: 5.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.05303, allocations: 12.03 kB / 424.5 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008769/0.0618, allocations: 2.91 MB / 427.4 MB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.0637, allocations: 1.217 MB / 428.6 MB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/0.06437, allocations: 0.8158 MB / 429.5 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.06464, allocations: 223.9 kB / 429.7 MB, free: 360 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.06677, allocations: 1.841 MB / 431.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.0668, allocations: 0 / 431.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.06696, allocations: 91.98 kB / 431.6 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.06698, allocations: 48 kB / 431.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.06873, allocations: 0.8958 MB / 432.5 MB, free: 13.33 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.007477/0.07621, allocations: 4.974 MB / 437.5 MB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.07931, allocations: 1.845 MB / 439.4 MB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.08035, allocations: 0.6238 MB / 440 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.08054, allocations: 53.98 kB / 440 MB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.08168, allocations: 1.181 MB / 441.2 MB, free: 4.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 3.988e-06/0.08168, allocations: 0 / 441.2 MB, free: 4.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.2413/0.323, allocations: 19.46 MB / 460.7 MB, free: 59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.323, allocations: 188.2 kB / 460.9 MB, free: 58.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3247, allocations: 1.841 MB / 462.7 MB, free: 58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004705/0.3251, allocations: 67.2 kB / 462.8 MB, free: 57.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.3255, allocations: 0.8098 MB / 463.6 MB, free: 57.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/0.3262, allocations: 0.9236 MB / 464.5 MB, free: 57.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/0.3268, allocations: 0.5597 MB / 465.1 MB, free: 56.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.3269, allocations: 301.1 kB / 465.4 MB, free: 56.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.3281, allocations: 0.833 MB / 466.2 MB, free: 55.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3294, allocations: 1.196 MB / 467.4 MB, free: 54.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.3331, allocations: 3.386 MB / 470.8 MB, free: 51.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.3331, allocations: 0 / 470.8 MB, free: 51.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01369/0.3468, allocations: 7.616 MB / 478.4 MB, free: 43.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/0.3469, allocations: 117.7 kB / 478.5 MB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.3469, allocations: 8 kB / 478.5 MB, free: 43.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.3591, allocations: 4.964 MB / 483.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.3614, allocations: 0.7306 MB / 484.2 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.3756, allocations: 7.823 MB / 492 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.3781, allocations: 406.6 kB / 492.4 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.3783, allocations: 87.95 kB / 492.5 MB, free: 30.52 MB / 410.7 MB 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 (328): * Single equations (assignments): 323 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007709/0.379, allocations: 343.6 kB / 492.9 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.3794, allocations: 251.7 kB / 493.1 MB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.3919, allocations: 7.037 MB / 0.4884 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.3919, allocations: 24 kB / 0.4884 GB, free: 22.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.3919, allocations: 20 kB / 0.4885 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/0.392, allocations: 16.5 kB / 0.4885 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.4078, allocations: 8.433 MB / 0.4967 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.4079, allocations: 0 / 0.4967 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.4092, allocations: 278.2 kB / 0.497 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/0.4245, allocations: 5.179 MB / 0.502 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006622/0.4251, allocations: 53.72 kB / 0.5021 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.4437, allocations: 10.51 MB / 0.5123 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4437, allocations: 0 / 0.5123 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/0.4638, allocations: 7.721 MB / 0.5199 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009402/0.4647, allocations: 289.6 kB / 0.5202 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/0.4653, allocations: 51.44 kB / 0.5202 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.4667, allocations: 215.8 kB / 0.5204 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/0.4683, allocations: 0.5643 MB / 0.521 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.4684, allocations: 47.98 kB / 0.521 GB, free: 4.992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009899/0.4694, allocations: 0.9775 MB / 0.522 GB, free: 4.008 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4694, allocations: 0 / 0.522 GB, free: 4.008 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003152/0.4726, allocations: 1.183 MB / 0.5231 GB, free: 2.859 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003661/0.4729, allocations: 166.7 kB / 0.5233 GB, free: 2.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007078/0.48, allocations: 3.918 MB / 0.5271 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-05/0.48, allocations: 24 kB / 0.5271 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005304/0.4854, allocations: 2.888 MB / 0.5299 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.4871, allocations: 320.9 kB / 0.5303 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.4957, allocations: 4.882 MB / 0.535 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.4963, allocations: 0.5404 MB / 0.5355 GB, free: 5.875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001256/0.4976, allocations: 254.6 kB / 0.5358 GB, free: 5.625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007802/0.4983, allocations: 371.9 kB / 0.5361 GB, free: 5.262 MB / 442.7 MB Notification: Performance of SimCode: time 2.604e-06/0.4983, allocations: 0 / 0.5361 GB, free: 5.262 MB / 442.7 MB Notification: Performance of Templates: time 0.08192/0.5803, allocations: 71.82 MB / 0.6063 GB, free: 13.97 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.061552381142974]