Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001404/0.001404, allocations: 92.22 kB / 19.65 MB, free: 276 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.9684/0.9684, allocations: 177.2 MB / 200 MB, free: 5.551 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.001187/0.001187, allocations: 152.6 kB / 256.6 MB, free: 13.02 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.2799/0.2799, allocations: 80.24 MB / 393.4 MB, free: 2.176 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 4 kB / 489.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.929e-05, allocations: 4.281 kB / 489.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009504/0.009524, allocations: 12.78 MB / 0.4909 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006605/0.01613, allocations: 3.491 MB / 0.4943 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.0174, allocations: 29.12 kB / 0.4943 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.01843, allocations: 0.5459 MB / 0.4948 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.02132, allocations: 1.618 MB / 0.4964 GB, free: 9.043 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.02351, allocations: 1.521 MB / 0.4979 GB, free: 7.562 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.02638, allocations: 3.729 MB / 0.5015 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007016/0.02708, allocations: 0.5815 MB / 0.5021 GB, free: 3.176 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.02895, allocations: 2.128 MB / 0.5042 GB, free: 1.043 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.03012, allocations: 1.577 MB / 0.5057 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.03039, allocations: 284.6 kB / 0.506 GB, free: 15.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.03095, allocations: 448.6 kB / 0.5064 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.03145, allocations: 0.7817 MB / 0.5072 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.03213, allocations: 1.082 MB / 0.5082 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.03419, allocations: 2.879 MB / 0.5111 GB, free: 9.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.03419, allocations: 4 kB / 0.5111 GB, free: 9.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03419, allocations: 0 / 0.5111 GB, free: 9.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.03421, allocations: 0 / 0.5111 GB, free: 9.98 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01139/0.0456, allocations: 7.582 MB / 0.5185 GB, free: 2.277 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.04564, allocations: 8.031 kB / 0.5185 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007551/0.05319, allocations: 2.725 MB / 0.5211 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.05498, allocations: 1.75 MB / 0.5228 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/0.0554, allocations: 0.8139 MB / 0.5236 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.05568, allocations: 223.9 kB / 0.5239 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.05819, allocations: 1.995 MB / 0.5258 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.05821, allocations: 4 kB / 0.5258 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.05838, allocations: 83.98 kB / 0.5259 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.05841, allocations: 48 kB / 0.5259 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.06049, allocations: 1.327 MB / 0.5272 GB, free: 8.969 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.008435/0.06893, allocations: 6.931 MB / 0.534 GB, free: 1.871 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.07266, allocations: 2.128 MB / 0.5361 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.0738, allocations: 0.8958 MB / 0.5369 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.07401, allocations: 53.92 kB / 0.537 GB, free: 14.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.07557, allocations: 1.313 MB / 0.5383 GB, free: 13.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 3.427e-06/0.07557, allocations: 0 / 0.5383 GB, free: 13.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.0538/0.1294, allocations: 22.23 MB / 0.56 GB, free: 7.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.1295, allocations: 184.2 kB / 0.5602 GB, free: 6.852 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.1314, allocations: 2.055 MB / 0.5622 GB, free: 4.785 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.1316, allocations: 69.7 kB / 0.5622 GB, free: 4.711 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.1323, allocations: 1.262 MB / 0.5635 GB, free: 3.438 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/0.1329, allocations: 0.9064 MB / 0.5644 GB, free: 2.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007123/0.1337, allocations: 0.5688 MB / 0.5649 GB, free: 1.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1337, allocations: 476.8 kB / 0.5654 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.1351, allocations: 0.9616 MB / 0.5663 GB, free: 496 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.1367, allocations: 1.421 MB / 0.5677 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/0.1411, allocations: 3.685 MB / 0.5713 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.1411, allocations: 0 / 0.5713 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01596/0.157, allocations: 8.504 MB / 0.5796 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.1571, allocations: 118.8 kB / 0.5797 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.1571, allocations: 12 kB / 0.5797 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01384/0.171, allocations: 5.43 MB / 0.585 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.1724, allocations: 0.5539 MB / 0.5856 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.1911, allocations: 9.712 MB / 0.595 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.193, allocations: 406 kB / 0.5954 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.1932, allocations: 116 kB / 0.5955 GB, free: 1.906 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 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 order3_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 (319): * Single equations (assignments): 314 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006757/0.1939, allocations: 369.1 kB / 0.5959 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004446/0.1943, allocations: 394 kB / 0.5963 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2227/0.417, allocations: 7.834 MB / 0.6039 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.417, allocations: 25.27 kB / 0.6039 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.417, allocations: 19.66 kB / 0.604 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.4171, allocations: 11.86 kB / 0.604 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/0.4378, allocations: 10.18 MB / 0.6139 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.4378, allocations: 1.062 kB / 0.6139 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008152/0.4387, allocations: 246.5 kB / 0.6142 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/0.452, allocations: 5.334 MB / 0.6194 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.4522, allocations: 52.44 kB / 0.6194 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.4705, allocations: 13.39 MB / 0.6325 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4705, allocations: 0.6875 kB / 0.6325 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.487, allocations: 8.806 MB / 0.6411 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.4876, allocations: 340.1 kB / 0.6414 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.4879, allocations: 47.94 kB / 0.6415 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.489, allocations: 219.8 kB / 0.6417 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/0.4901, allocations: 0.5721 MB / 0.6422 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.4902, allocations: 71.42 kB / 0.6423 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001113/0.4914, allocations: 1.229 MB / 0.6435 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4914, allocations: 0 / 0.6435 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002396/0.4938, allocations: 1.175 MB / 0.6446 GB, free: 137.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0003774/0.4941, allocations: 182.6 kB / 0.6448 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006908/0.501, allocations: 4.479 MB / 0.6492 GB, free: 133 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.501, allocations: 0 / 0.6492 GB, free: 133 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/0.5058, allocations: 3.312 MB / 0.6524 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5069, allocations: 314.9 kB / 0.6527 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.5133, allocations: 4.87 MB / 0.6575 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.5137, allocations: 0.5359 MB / 0.658 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004997/0.5142, allocations: 262.2 kB / 0.6583 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.5146, allocations: 180.5 kB / 0.6584 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/0.5146, allocations: 4 kB / 0.6584 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.06417/0.5788, allocations: 73.55 MB / 0.7303 GB, free: 50.08 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.291548284702003]