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.001367/0.001367, allocations: 92.22 kB / 19.65 MB, free: 280 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 0.8961/0.8961, allocations: 177.1 MB / 200 MB, free: 5.496 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.001193/0.001193, allocations: 152.7 kB / 256.6 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.2868/0.2868, allocations: 83.27 MB / 396.4 MB, free: 15.2 MB / 330.7 MB " [Timeout remaining time 179] 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 2.244e-06/2.244e-06, allocations: 0 / 493.9 MB, free: 7.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.874e-05/4.099e-05, allocations: 6.781 kB / 493.9 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01588/0.01592, allocations: 12.98 MB / 0.495 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.02713, allocations: 3.513 MB / 0.4985 GB, free: 6.77 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006081/0.03321, allocations: 31.94 kB / 0.4985 GB, free: 6.738 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003822/0.03703, allocations: 0.5576 MB / 0.499 GB, free: 6.176 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.04521, allocations: 1.644 MB / 0.5007 GB, free: 4.535 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.04861, allocations: 1.541 MB / 0.5022 GB, free: 3.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005777/0.05438, allocations: 3.794 MB / 0.5059 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.05543, allocations: 0.5815 MB / 0.5064 GB, free: 14.58 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.059, allocations: 2.178 MB / 0.5086 GB, free: 12.4 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.0613, allocations: 1.6 MB / 0.5101 GB, free: 10.79 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009257/0.06222, allocations: 292 kB / 0.5104 GB, free: 10.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.06332, allocations: 451.8 kB / 0.5108 GB, free: 10.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006416/0.06396, allocations: 0.7933 MB / 0.5116 GB, free: 9.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.06569, allocations: 1.094 MB / 0.5127 GB, free: 8.172 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.06942, allocations: 2.922 MB / 0.5155 GB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.06943, allocations: 0 / 0.5155 GB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.06943, allocations: 0 / 0.5155 GB, free: 5.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.06962, allocations: 8 kB / 0.5155 GB, free: 5.23 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.01407/0.08369, allocations: 7.641 MB / 0.523 GB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.08374, allocations: 8.031 kB / 0.523 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008035/0.09177, allocations: 2.737 MB / 0.5257 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.09495, allocations: 1.769 MB / 0.5274 GB, free: 8.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/0.09555, allocations: 0.8178 MB / 0.5282 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.09598, allocations: 224 kB / 0.5284 GB, free: 7.707 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.09949, allocations: 2.003 MB / 0.5304 GB, free: 5.609 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.09952, allocations: 0 / 0.5304 GB, free: 5.609 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.09971, allocations: 88 kB / 0.5305 GB, free: 5.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.09975, allocations: 48 kB / 0.5305 GB, free: 5.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.1023, allocations: 1.331 MB / 0.5318 GB, free: 4.109 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.0109/0.1132, allocations: 6.959 MB / 0.5386 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.1175, allocations: 2.143 MB / 0.5407 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.1187, allocations: 0.8975 MB / 0.5416 GB, free: 9.887 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.1189, allocations: 53.97 kB / 0.5416 GB, free: 9.836 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.1206, allocations: 1.327 MB / 0.5429 GB, free: 8.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.421e-06/0.1206, allocations: 4 kB / 0.5429 GB, free: 8.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.0509/0.1715, allocations: 20.68 MB / 0.5631 GB, free: 3.703 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.1716, allocations: 188.2 kB / 0.5633 GB, free: 3.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.174, allocations: 2.084 MB / 0.5653 GB, free: 1.387 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004682/0.1745, allocations: 77.64 kB / 0.5654 GB, free: 1.305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/0.1752, allocations: 1.258 MB / 0.5666 GB, free: 36 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008557/0.176, allocations: 0.922 MB / 0.5675 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008361/0.1769, allocations: 0.5731 MB / 0.5681 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.177, allocations: 476.8 kB / 0.5685 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.1787, allocations: 0.9656 MB / 0.5695 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.1803, allocations: 1.434 MB / 0.5709 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004766/0.1851, allocations: 3.758 MB / 0.5746 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.1851, allocations: 4 kB / 0.5746 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01772/0.2028, allocations: 8.51 MB / 0.5829 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.2029, allocations: 114.8 kB / 0.583 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.2029, allocations: 8 kB / 0.583 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01467/0.2176, allocations: 5.305 MB / 0.5882 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.2201, allocations: 0.5773 MB / 0.5887 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2208/0.4409, allocations: 9.474 MB / 0.598 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.4436, allocations: 415 kB / 0.5984 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.4438, allocations: 118.2 kB / 0.5985 GB, free: 144.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 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.0008241/0.4446, allocations: 376.6 kB / 0.5989 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.4452, allocations: 391.4 kB / 0.5992 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.4611, allocations: 7.854 MB / 0.6069 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.224e-05/0.4612, allocations: 23.94 kB / 0.6069 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.165e-05/0.4612, allocations: 19.25 kB / 0.6069 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/0.4613, allocations: 13.72 kB / 0.6069 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/0.4861, allocations: 10.22 MB / 0.6169 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.4862, allocations: 3.875 kB / 0.6169 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.4874, allocations: 246.8 kB / 0.6172 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01745/0.5048, allocations: 5.341 MB / 0.6224 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006275/0.5054, allocations: 52.62 kB / 0.6224 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/0.5287, allocations: 13.38 MB / 0.6355 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5287, allocations: 0 / 0.6355 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/0.5516, allocations: 8.827 MB / 0.6441 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.5528, allocations: 351.7 kB / 0.6445 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007897/0.5536, allocations: 44 kB / 0.6445 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/0.5558, allocations: 228.8 kB / 0.6447 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00182/0.5576, allocations: 0.5637 MB / 0.6453 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/0.5579, allocations: 71.86 kB / 0.6453 GB, free: 131 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001861/0.5597, allocations: 1.253 MB / 0.6466 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5597, allocations: 0 / 0.6466 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004209/0.5639, allocations: 1.177 MB / 0.6477 GB, free: 128.6 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.0005956/0.5645, allocations: 178.9 kB / 0.6479 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01177/0.5763, allocations: 4.425 MB / 0.6522 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5763, allocations: 0 / 0.6522 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009313/0.5856, allocations: 3.339 MB / 0.6555 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.5884, allocations: 320.9 kB / 0.6558 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.5989, allocations: 4.997 MB / 0.6606 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009597/0.5999, allocations: 0.5442 MB / 0.6612 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001622/0.6015, allocations: 256.1 kB / 0.6614 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008021/0.6023, allocations: 176.5 kB / 0.6616 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of SimCode: time 3.356e-06/0.6023, allocations: 4.766 kB / 0.6616 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.07445/0.6767, allocations: 75.18 MB / 0.735 GB, free: 39.18 MB / 0.5105 GB " [Timeout remaining time 659] 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: 5.460562311112881]