Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001403/0.001403, allocations: 84.73 kB / 19.44 MB, free: 352 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.512/1.512, allocations: 177.1 MB / 199.7 MB, free: 5.793 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.001695/0.001695, allocations: 164.4 kB / 256.3 MB, free: 13.15 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.4661/0.4661, allocations: 80.26 MB / 393 MB, free: 2.191 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 489.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.189e-05, allocations: 2.312 kB / 489.1 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01635/0.01638, allocations: 11.73 MB / 0.4891 GB, free: 80 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.02652, allocations: 3.453 MB / 0.4925 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.02966, allocations: 28.56 kB / 0.4925 GB, free: 12.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.03237, allocations: 0.5542 MB / 0.4931 GB, free: 12.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.03931, allocations: 1.608 MB / 0.4946 GB, free: 10.45 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.04415, allocations: 1.525 MB / 0.4961 GB, free: 8.961 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007267/0.05141, allocations: 3.735 MB / 0.4998 GB, free: 5.211 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.0534, allocations: 0.5853 MB / 0.5004 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.05863, allocations: 2.127 MB / 0.5024 GB, free: 2.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.062, allocations: 1.55 MB / 0.5039 GB, free: 0.875 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.06316, allocations: 284 kB / 0.5042 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.06486, allocations: 447.8 kB / 0.5046 GB, free: 164 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.0662, allocations: 0.7778 MB / 0.5054 GB, free: 15.38 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.06876, allocations: 1.074 MB / 0.5065 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007084/0.07585, allocations: 4.095 MB / 0.5105 GB, free: 10.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.07585, allocations: 0 / 0.5105 GB, free: 10.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.07585, allocations: 0 / 0.5105 GB, free: 10.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.07601, allocations: 8 kB / 0.5105 GB, free: 10.18 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02846/0.1045, allocations: 7.335 MB / 0.5176 GB, free: 2.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1045, allocations: 12.03 kB / 0.5176 GB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.1217, allocations: 2.686 MB / 0.5203 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/0.1272, allocations: 1.855 MB / 0.5221 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/0.1284, allocations: 0.8256 MB / 0.5229 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.1294, allocations: 216 kB / 0.5231 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009058/0.1384, allocations: 3.086 MB / 0.5261 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/0.1385, allocations: 0 / 0.5261 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005101/0.139, allocations: 92 kB / 0.5262 GB, free: 9.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.1391, allocations: 48 kB / 0.5262 GB, free: 9.633 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00792/0.147, allocations: 2.826 MB / 0.529 GB, free: 6.777 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.02481/0.1718, allocations: 7.492 MB / 0.5363 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.1846, allocations: 3.56 MB / 0.5398 GB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005225/0.1898, allocations: 1.836 MB / 0.5416 GB, free: 9.684 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.1903, allocations: 49.98 kB / 0.5416 GB, free: 9.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006303/0.1966, allocations: 2.287 MB / 0.5439 GB, free: 7.316 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 7.184e-06/0.1966, allocations: 0 / 0.5439 GB, free: 7.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.1342/0.3308, allocations: 28.07 MB / 0.5713 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/0.331, allocations: 184.2 kB / 0.5714 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.3358, allocations: 2.244 MB / 0.5736 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007752/0.3366, allocations: 77.69 kB / 0.5737 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.3381, allocations: 1.185 MB / 0.5749 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/0.3398, allocations: 0.8985 MB / 0.5757 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002379/0.3421, allocations: 0.5422 MB / 0.5763 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3423, allocations: 305.1 kB / 0.5766 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005401/0.3477, allocations: 2.043 MB / 0.5786 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005802/0.3535, allocations: 2.41 MB / 0.5809 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0631/0.4166, allocations: 14.3 MB / 0.5949 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/0.4166, allocations: 8 kB / 0.5949 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.2701/0.6867, allocations: 12.62 MB / 0.6072 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/0.6868, allocations: 119.4 kB / 0.6073 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.6869, allocations: 7.875 kB / 0.6073 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03628/0.7231, allocations: 7.598 MB / 0.6148 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/0.7267, allocations: 0.5627 MB / 0.6153 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05752/0.7843, allocations: 22.58 MB / 0.6374 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/0.7889, allocations: 486.8 kB / 0.6378 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006882/0.7896, allocations: 116 kB / 0.6379 GB, free: 145.6 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.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 (320): * Single equations (assignments): 315 * 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.001429/0.791, allocations: 0.5247 MB / 0.6384 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009798/0.792, allocations: 394.8 kB / 0.6388 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03776/0.8298, allocations: 11.86 MB / 0.6504 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.8298, allocations: 24 kB / 0.6504 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.773e-05/0.8299, allocations: 24 kB / 0.6505 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/0.8299, allocations: 15.94 kB / 0.6505 GB, free: 132.7 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.04151/0.8714, allocations: 14.22 MB / 0.6644 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.8714, allocations: 3.984 kB / 0.6644 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.873, allocations: 243.7 kB / 0.6646 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03243/0.9054, allocations: 7.676 MB / 0.6721 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007648/0.9062, allocations: 51.98 kB / 0.6721 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05403/0.9602, allocations: 24.09 MB / 0.6957 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.9602, allocations: 0 / 0.6957 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0419/1.002, allocations: 14.39 MB / 0.7097 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009661/1.003, allocations: 339.1 kB / 0.71 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008626/1.004, allocations: 48 kB / 0.7101 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/1.007, allocations: 299.6 kB / 0.7104 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002214/1.009, allocations: 0.6072 MB / 0.711 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.01, allocations: 67.98 kB / 0.711 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002036/1.012, allocations: 1.471 MB / 0.7125 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 0.7125 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003657/1.015, allocations: 1.184 MB / 0.7136 GB, free: 67.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004313/1.016, allocations: 176.9 kB / 0.7138 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.033, allocations: 6.471 MB / 0.7201 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.033, allocations: 0 / 0.7201 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.045, allocations: 4.273 MB / 0.7243 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.048, allocations: 331.9 kB / 0.7246 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008739/1.057, allocations: 5.397 MB / 0.7299 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.058, allocations: 1.252 MB / 0.7311 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001199/1.059, allocations: 258.2 kB / 0.7313 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/1.059, allocations: 176.5 kB / 0.7315 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/1.059, allocations: 4.656 kB / 0.7315 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.2592/1.319, allocations: 69.3 MB / 0.7992 GB, free: 169.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.026929736020975]