Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009679/0.0009679, allocations: 80.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.897/0.897, allocations: 177.2 MB / 200.3 MB, free: 5.691 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.00121/0.00121, allocations: 152.6 kB / 257 MB, free: 12.98 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.3786/0.3786, allocations: 83.32 MB / 343.6 MB, free: 6.75 MB / 314.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 388 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.34e-05, allocations: 5.125 kB / 388 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01217/0.01219, allocations: 12.62 MB / 400.6 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007568/0.01975, allocations: 3.702 MB / 404.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/0.0206, allocations: 28 kB / 404.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.02154, allocations: 0.5886 MB / 404.9 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.02374, allocations: 1.656 MB / 406.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.02567, allocations: 1.532 MB / 408.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.02835, allocations: 3.804 MB / 411.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.02893, allocations: 0.6167 MB / 412.5 MB, free: 1.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.03043, allocations: 2.178 MB / 414.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.03154, allocations: 1.612 MB / 416.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.0318, allocations: 292 kB / 416.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.03227, allocations: 451.8 kB / 417 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.03267, allocations: 0.7894 MB / 417.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.03331, allocations: 1.098 MB / 418.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.03531, allocations: 2.922 MB / 421.8 MB, free: 8.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.03532, allocations: 0 / 421.8 MB, free: 8.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.03532, allocations: 4 kB / 421.8 MB, free: 8.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.03533, allocations: 0 / 421.8 MB, free: 8.613 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.009652/0.04498, allocations: 6.693 MB / 428.5 MB, free: 1.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.04503, allocations: 8.031 kB / 428.6 MB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007244/0.05227, allocations: 2.918 MB / 431.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.05372, allocations: 1.213 MB / 432.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.0541, allocations: 0.8138 MB / 433.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.05436, allocations: 223.9 kB / 433.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.05618, allocations: 1.841 MB / 435.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.0562, allocations: 0 / 435.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.05635, allocations: 83.98 kB / 435.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.05638, allocations: 48 kB / 435.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.05763, allocations: 0.9036 MB / 436.6 MB, free: 9.445 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.006721/0.06435, allocations: 4.974 MB / 441.6 MB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.06717, allocations: 1.839 MB / 443.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.06785, allocations: 0.6277 MB / 444 MB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.06803, allocations: 49.98 kB / 444.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.06907, allocations: 1.185 MB / 445.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 3.326e-06/0.06908, allocations: 7.938 kB / 445.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.2098/0.2789, allocations: 19.45 MB / 464.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2789, allocations: 183.8 kB / 464.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.28, allocations: 1.847 MB / 466.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.2802, allocations: 74.58 kB / 466.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.2805, allocations: 0.8057 MB / 467.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.2809, allocations: 0.9229 MB / 468.6 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.2814, allocations: 0.5554 MB / 469.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.814e-05/0.2815, allocations: 316.2 kB / 469.4 MB, free: 39.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.2825, allocations: 0.8227 MB / 470.2 MB, free: 38.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.2836, allocations: 1.187 MB / 471.4 MB, free: 37.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.2867, allocations: 3.39 MB / 474.8 MB, free: 34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.2868, allocations: 0 / 474.8 MB, free: 34 MB / 410.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01199/0.2987, allocations: 7.618 MB / 482.4 MB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.2988, allocations: 114.8 kB / 482.5 MB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2988, allocations: 4 kB / 482.5 MB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/0.3092, allocations: 4.975 MB / 487.5 MB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3105, allocations: 0.5689 MB / 488.1 MB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.3224, allocations: 7.815 MB / 495.9 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3238, allocations: 410.7 kB / 496.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.324, allocations: 83.45 kB / 496.4 MB, free: 14.89 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.0005614/0.3245, allocations: 332.9 kB / 496.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.3248, allocations: 259.7 kB / 497 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.3359, allocations: 7.031 MB / 0.4922 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3359, allocations: 28 kB / 0.4922 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3359, allocations: 16.62 kB / 0.4922 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3359, allocations: 19.95 kB / 0.4922 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.3489, allocations: 8.435 MB / 0.5005 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3489, allocations: 0 / 0.5005 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.3495, allocations: 247.1 kB / 0.5007 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/0.3612, allocations: 5.184 MB / 0.5058 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.3613, allocations: 47.98 kB / 0.5058 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.3753, allocations: 10.5 MB / 0.5161 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3753, allocations: 1.969 kB / 0.5161 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.3887, allocations: 7.709 MB / 0.5236 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.389, allocations: 284.5 kB / 0.5239 GB, free: 7.199 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.3893, allocations: 51.94 kB / 0.5239 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.3903, allocations: 221 kB / 0.5241 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008709/0.3912, allocations: 0.5643 MB / 0.5247 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.3913, allocations: 47.98 kB / 0.5247 GB, free: 6.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006649/0.3919, allocations: 0.984 MB / 0.5257 GB, free: 5.441 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3919, allocations: 0 / 0.5257 GB, free: 5.441 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002265/0.3942, allocations: 1.181 MB / 0.5269 GB, free: 4.301 MB / 442.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.000307/0.3945, allocations: 171.6 kB / 0.527 GB, free: 4.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005438/0.4, allocations: 3.915 MB / 0.5308 GB, free: 220 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/0.4, allocations: 28 kB / 0.5309 GB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.4042, allocations: 2.896 MB / 0.5337 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.4051, allocations: 306.1 kB / 0.534 GB, free: 13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/0.4105, allocations: 4.885 MB / 0.5388 GB, free: 8.125 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.4109, allocations: 0.5413 MB / 0.5393 GB, free: 7.562 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004867/0.4114, allocations: 250.5 kB / 0.5395 GB, free: 7.316 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.412, allocations: 359.3 kB / 0.5399 GB, free: 6.965 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.412, allocations: 0 / 0.5399 GB, free: 6.965 MB / 458.7 MB Notification: Performance of Templates: time 0.06714/0.4791, allocations: 71.05 MB / 0.6093 GB, free: 0.5 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.594654559157789]