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.001435/0.001435, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.9924/0.9924, allocations: 177.2 MB / 201 MB, free: 5.406 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.001895/0.001895, allocations: 167.3 kB / 257.7 MB, free: 12.8 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.3167/0.3167, allocations: 80.23 MB / 394.5 MB, free: 3.035 MB / 362.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.463e-06/1.463e-06, allocations: 0 / 491.1 MB, free: 62.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.416e-05, allocations: 2.312 kB / 491.1 MB, free: 62.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.007388/0.007412, allocations: 12.53 MB / 0.4918 GB, free: 50.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.01453, allocations: 3.485 MB / 0.4952 GB, free: 46.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.01709, allocations: 28 kB / 0.4952 GB, free: 46.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.01849, allocations: 0.5635 MB / 0.4958 GB, free: 46.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.02266, allocations: 1.622 MB / 0.4974 GB, free: 44.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.02511, allocations: 1.521 MB / 0.4989 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.02926, allocations: 3.753 MB / 0.5025 GB, free: 39.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009595/0.03022, allocations: 0.5814 MB / 0.5031 GB, free: 38.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.03339, allocations: 2.139 MB / 0.5052 GB, free: 36.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.03502, allocations: 1.57 MB / 0.5067 GB, free: 35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.03537, allocations: 284 kB / 0.507 GB, free: 34.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.03615, allocations: 454 kB / 0.5074 GB, free: 34.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.03658, allocations: 0.7739 MB / 0.5082 GB, free: 33.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.03749, allocations: 1.082 MB / 0.5092 GB, free: 32.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.04057, allocations: 2.887 MB / 0.5121 GB, free: 29.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.04058, allocations: 0 / 0.5121 GB, free: 29.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.04058, allocations: 0 / 0.5121 GB, free: 29.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.04063, allocations: 0.6562 kB / 0.5121 GB, free: 29.52 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01566/0.05629, allocations: 7.652 MB / 0.5195 GB, free: 21.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.05634, allocations: 12.03 kB / 0.5195 GB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.0678, allocations: 2.729 MB / 0.5222 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.07083, allocations: 1.691 MB / 0.5239 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004741/0.07131, allocations: 0.8139 MB / 0.5247 GB, free: 16.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.07167, allocations: 224 kB / 0.5249 GB, free: 16.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.0743, allocations: 1.796 MB / 0.5266 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.07433, allocations: 0 / 0.5266 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.07454, allocations: 87.98 kB / 0.5267 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.07457, allocations: 48 kB / 0.5267 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.07644, allocations: 1.054 MB / 0.5278 GB, free: 13.01 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.01227/0.08871, allocations: 6.648 MB / 0.5343 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.09316, allocations: 1.956 MB / 0.5362 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.09434, allocations: 0.7374 MB / 0.5369 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.09452, allocations: 45.98 kB / 0.5369 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.0962, allocations: 1.192 MB / 0.5381 GB, free: 2.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 9.147e-06/0.09621, allocations: 3.984 kB / 0.5381 GB, free: 2.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.05833/0.1545, allocations: 20.7 MB / 0.5583 GB, free: 13.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.1546, allocations: 188.2 kB / 0.5585 GB, free: 13.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.1565, allocations: 1.96 MB / 0.5604 GB, free: 11.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.1568, allocations: 73.69 kB / 0.5605 GB, free: 11.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006612/0.1574, allocations: 1.281 MB / 0.5617 GB, free: 9.801 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006861/0.1581, allocations: 0.9256 MB / 0.5626 GB, free: 8.867 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007282/0.1588, allocations: 0.5883 MB / 0.5632 GB, free: 8.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.1589, allocations: 484.7 kB / 0.5637 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.1601, allocations: 0.8757 MB / 0.5645 GB, free: 6.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.1615, allocations: 1.347 MB / 0.5659 GB, free: 5.387 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.1657, allocations: 3.517 MB / 0.5693 GB, free: 1.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.1657, allocations: 0 / 0.5693 GB, free: 1.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01562/0.1813, allocations: 8.24 MB / 0.5773 GB, free: 9.312 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.1814, allocations: 114.8 kB / 0.5774 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.1814, allocations: 4 kB / 0.5774 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/0.1949, allocations: 5.259 MB / 0.5826 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.1968, allocations: 0.5617 MB / 0.5831 GB, free: 3.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.2131, allocations: 9.084 MB / 0.592 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.2155, allocations: 398.1 kB / 0.5924 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.2157, allocations: 103.9 kB / 0.5925 GB, free: 9.637 MB / 474.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 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 (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 {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008368/0.2165, allocations: 392.4 kB / 0.5929 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.217, allocations: 386 kB / 0.5932 GB, free: 8.852 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.2315, allocations: 7.449 MB / 0.6005 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.2315, allocations: 24 kB / 0.6005 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.2315, allocations: 24 kB / 0.6005 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.2315, allocations: 11.95 kB / 0.6006 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.2488, allocations: 9.516 MB / 0.6098 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2488, allocations: 64 / 0.6098 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.2496, allocations: 251.7 kB / 0.6101 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.2626, allocations: 5.201 MB / 0.6152 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.2628, allocations: 55.92 kB / 0.6152 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2445/0.5073, allocations: 13 MB / 0.6279 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5073, allocations: 3.781 kB / 0.6279 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.5245, allocations: 8.247 MB / 0.636 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.5258, allocations: 343.3 kB / 0.6363 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.5263, allocations: 47.53 kB / 0.6363 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.5281, allocations: 213 kB / 0.6365 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001987/0.5301, allocations: 0.5788 MB / 0.6371 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/0.5303, allocations: 56.03 kB / 0.6372 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001288/0.5316, allocations: 1.112 MB / 0.6383 GB, free: 128.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5316, allocations: 3.906 kB / 0.6383 GB, free: 128.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003602/0.5352, allocations: 1.174 MB / 0.6394 GB, free: 127.5 MB / 490.7 MB 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.000489/0.5357, allocations: 171.2 kB / 0.6396 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008789/0.5445, allocations: 4.193 MB / 0.6437 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5445, allocations: 3.281 kB / 0.6437 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006402/0.5509, allocations: 3.163 MB / 0.6468 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.5529, allocations: 309.8 kB / 0.647 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008152/0.5611, allocations: 4.901 MB / 0.6518 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.5616, allocations: 0.5374 MB / 0.6524 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008665/0.5624, allocations: 250.3 kB / 0.6526 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.5632, allocations: 378.1 kB / 0.653 GB, free: 115.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5632, allocations: 8 kB / 0.653 GB, free: 115.4 MB / 490.7 MB Notification: Performance of Templates: time 0.07518/0.6384, allocations: 77.28 MB / 0.7284 GB, free: 38.44 MB / 490.7 MB " [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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.714788644108921]