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.001846/0.001846, allocations: 88.72 kB / 19.44 MB, free: 356 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 1.552/1.552, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.001964/0.001964, allocations: 183.6 kB / 256.3 MB, free: 13.16 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.4757/0.4757, allocations: 80.26 MB / 393 MB, free: 2.215 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.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 2.654e-06/2.654e-06, allocations: 0 / 489.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.984e-05, allocations: 2.312 kB / 489.1 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.02143/0.02147, allocations: 11.82 MB / 0.4892 GB, free: 15.99 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.0342, allocations: 3.477 MB / 0.4926 GB, free: 12.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004148/0.03835, allocations: 32.91 kB / 0.4926 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.04145, allocations: 0.5614 MB / 0.4932 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.05049, allocations: 1.612 MB / 0.4948 GB, free: 10.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006239/0.05673, allocations: 1.525 MB / 0.4963 GB, free: 8.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008553/0.06529, allocations: 3.806 MB / 0.5 GB, free: 5.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.06763, allocations: 0.5814 MB / 0.5005 GB, free: 4.379 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006459/0.07408, allocations: 2.15 MB / 0.5026 GB, free: 2.219 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.0774, allocations: 1.585 MB / 0.5042 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.07841, allocations: 292 kB / 0.5045 GB, free: 352 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.0798, allocations: 451.7 kB / 0.5049 GB, free: 15.9 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008425/0.08064, allocations: 0.7934 MB / 0.5057 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.08226, allocations: 1.094 MB / 0.5067 GB, free: 14.01 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.08806, allocations: 4.145 MB / 0.5108 GB, free: 9.848 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.08806, allocations: 4 kB / 0.5108 GB, free: 9.844 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.08806, allocations: 0 / 0.5108 GB, free: 9.844 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001426/0.08821, allocations: 0 / 0.5108 GB, free: 9.844 MB / 442.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.02756/0.1158, allocations: 7.405 MB / 0.518 GB, free: 2.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1158, allocations: 8.031 kB / 0.518 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.1322, allocations: 2.702 MB / 0.5207 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/0.1378, allocations: 1.871 MB / 0.5225 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/0.139, allocations: 0.8335 MB / 0.5233 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.1401, allocations: 220 kB / 0.5235 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009633/0.1497, allocations: 3.093 MB / 0.5265 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.027e-05/0.1497, allocations: 0 / 0.5265 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005694/0.1503, allocations: 84 kB / 0.5266 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.1504, allocations: 48 kB / 0.5267 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008308/0.1587, allocations: 2.846 MB / 0.5294 GB, free: 6.312 MB / 458.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.02267/0.1814, allocations: 7.484 MB / 0.5368 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.1939, allocations: 3.594 MB / 0.5403 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/0.1991, allocations: 1.834 MB / 0.5421 GB, free: 9.191 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/0.1995, allocations: 53.98 kB / 0.5421 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006163/0.2057, allocations: 2.302 MB / 0.5444 GB, free: 6.805 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 8.436e-06/0.2057, allocations: 0 / 0.5444 GB, free: 6.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.1305/0.3362, allocations: 27.32 MB / 0.571 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.3364, allocations: 184.2 kB / 0.5712 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004939/0.3413, allocations: 2.284 MB / 0.5734 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007772/0.3421, allocations: 69.7 kB / 0.5735 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.3435, allocations: 1.197 MB / 0.5747 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/0.3454, allocations: 0.914 MB / 0.5756 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002673/0.3481, allocations: 0.5424 MB / 0.5761 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3482, allocations: 305.1 kB / 0.5764 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005682/0.3539, allocations: 2.067 MB / 0.5784 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006098/0.36, allocations: 2.422 MB / 0.5808 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06354/0.4236, allocations: 14.52 MB / 0.595 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/0.4236, allocations: 4 kB / 0.595 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.2652/0.6888, allocations: 12.67 MB / 0.6073 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-05/0.6889, allocations: 118.8 kB / 0.6074 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.6889, allocations: 9.281 kB / 0.6075 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03502/0.7239, allocations: 7.615 MB / 0.6149 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/0.7271, allocations: 0.5795 MB / 0.6155 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0541/0.7812, allocations: 22.59 MB / 0.6375 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/0.7859, allocations: 494.3 kB / 0.638 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/0.7865, allocations: 120 kB / 0.6381 GB, free: 145.4 MB / 0.5105 GB 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 (324): * Single equations (assignments): 319 * 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.001342/0.7879, allocations: 0.5325 MB / 0.6386 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009873/0.7889, allocations: 393.9 kB / 0.639 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03771/0.8266, allocations: 11.88 MB / 0.6506 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.8266, allocations: 32 kB / 0.6506 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.498e-05/0.8266, allocations: 18.19 kB / 0.6507 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/0.8267, allocations: 15.95 kB / 0.6507 GB, free: 132.4 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.04486/0.8716, allocations: 14.26 MB / 0.6646 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/0.8716, allocations: 0 / 0.6646 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.8733, allocations: 247.6 kB / 0.6648 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0333/0.9066, allocations: 7.728 MB / 0.6724 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001188/0.9078, allocations: 53.61 kB / 0.6724 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05378/0.9616, allocations: 24.09 MB / 0.696 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.9616, allocations: 3.938 kB / 0.696 GB, free: 85.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04283/1.004, allocations: 14.43 MB / 0.71 GB, free: 71.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.005, allocations: 346.9 kB / 0.7104 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008478/1.006, allocations: 47.98 kB / 0.7104 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/1.009, allocations: 299.6 kB / 0.7107 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002201/1.012, allocations: 0.6111 MB / 0.7113 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.012, allocations: 63.98 kB / 0.7114 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002029/1.014, allocations: 1.51 MB / 0.7128 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/1.014, allocations: 0 / 0.7128 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003691/1.018, allocations: 1.185 MB / 0.714 GB, free: 67.12 MB / 0.5105 GB 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.0005188/1.018, allocations: 181.6 kB / 0.7142 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.035, allocations: 6.491 MB / 0.7205 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.035, allocations: 0 / 0.7205 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/1.048, allocations: 4.303 MB / 0.7247 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.051, allocations: 344.4 kB / 0.725 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/1.059, allocations: 5.481 MB / 0.7304 GB, free: 50.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/1.06, allocations: 1.262 MB / 0.7316 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001181/1.062, allocations: 266.3 kB / 0.7319 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/1.062, allocations: 176.5 kB / 0.732 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/1.062, allocations: 4 kB / 0.7321 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.2624/1.325, allocations: 69.88 MB / 0.8003 GB, free: 169 MB / 0.5261 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.16380737896543]