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.001082/0.001082, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 1.033/1.033, allocations: 177.2 MB / 200.5 MB, free: 5.5 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.001446/0.001446, allocations: 160.7 kB / 257 MB, free: 13.04 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.283/0.283, allocations: 80.24 MB / 393.7 MB, free: 2.234 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.945e-06/2.945e-06, allocations: 0 / 489.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.776e-05/4.071e-05, allocations: 6.969 kB / 489.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01418/0.01423, allocations: 12.77 MB / 0.4909 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.02425, allocations: 3.477 MB / 0.4943 GB, free: 11.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.02715, allocations: 31.94 kB / 0.4943 GB, free: 11.55 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.02834, allocations: 0.5497 MB / 0.4948 GB, free: 10.99 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.03107, allocations: 1.606 MB / 0.4964 GB, free: 9.391 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.03337, allocations: 1.516 MB / 0.4979 GB, free: 7.91 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.0358, allocations: 3.735 MB / 0.5015 GB, free: 4.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007001/0.0365, allocations: 0.5815 MB / 0.5021 GB, free: 3.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.03797, allocations: 2.123 MB / 0.5042 GB, free: 1.387 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.03928, allocations: 1.569 MB / 0.5057 GB, free: 15.81 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.03953, allocations: 292 kB / 0.506 GB, free: 15.53 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.04009, allocations: 443.8 kB / 0.5064 GB, free: 15.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.04052, allocations: 0.7816 MB / 0.5072 GB, free: 14.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006863/0.0412, allocations: 1.086 MB / 0.5082 GB, free: 13.22 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.04328, allocations: 2.879 MB / 0.511 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.04329, allocations: 0 / 0.511 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.04329, allocations: 0 / 0.511 GB, free: 10.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.04331, allocations: 0 / 0.511 GB, free: 10.33 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.01217/0.05548, allocations: 7.574 MB / 0.5184 GB, free: 2.633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.05553, allocations: 12.03 kB / 0.5184 GB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009067/0.0646, allocations: 2.729 MB / 0.5211 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.06657, allocations: 1.753 MB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004315/0.06701, allocations: 0.8139 MB / 0.5236 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.06728, allocations: 220 kB / 0.5238 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.06986, allocations: 1.995 MB / 0.5258 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.06989, allocations: 0 / 0.5258 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.07007, allocations: 87.92 kB / 0.5259 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.0701, allocations: 52 kB / 0.5259 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.07243, allocations: 1.319 MB / 0.5272 GB, free: 9.32 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.008685/0.08111, allocations: 6.927 MB / 0.534 GB, free: 2.227 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.0848, allocations: 2.135 MB / 0.536 GB, free: 48 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.08598, allocations: 0.8936 MB / 0.5369 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.08617, allocations: 49.98 kB / 0.537 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.08776, allocations: 1.329 MB / 0.5383 GB, free: 13.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 4.759e-06/0.08776, allocations: 0 / 0.5383 GB, free: 13.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.05447/0.1422, allocations: 22.22 MB / 0.56 GB, free: 7.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1424, allocations: 188.2 kB / 0.5601 GB, free: 7.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.1448, allocations: 2.047 MB / 0.5621 GB, free: 5.133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.1451, allocations: 69.7 kB / 0.5622 GB, free: 5.059 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000675/0.1458, allocations: 1.266 MB / 0.5634 GB, free: 3.781 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007475/0.1465, allocations: 0.9025 MB / 0.5643 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006942/0.1472, allocations: 0.5688 MB / 0.5649 GB, free: 2.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1473, allocations: 480.8 kB / 0.5653 GB, free: 1.816 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.1487, allocations: 0.9577 MB / 0.5663 GB, free: 0.832 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.1503, allocations: 1.414 MB / 0.5677 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.1545, allocations: 3.693 MB / 0.5713 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.1546, allocations: 0 / 0.5713 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01633/0.1709, allocations: 8.501 MB / 0.5796 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.171, allocations: 118.8 kB / 0.5797 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.171, allocations: 8 kB / 0.5797 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/0.1853, allocations: 5.438 MB / 0.585 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.1872, allocations: 0.55 MB / 0.5855 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.2066, allocations: 9.706 MB / 0.595 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.2092, allocations: 414 kB / 0.5954 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.2094, allocations: 116 kB / 0.5955 GB, free: 2.254 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.0007892/0.2102, allocations: 376.8 kB / 0.5959 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.2107, allocations: 393.9 kB / 0.5962 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2275/0.4382, allocations: 7.829 MB / 0.6039 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.4382, allocations: 29.38 kB / 0.6039 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/0.4383, allocations: 18.34 kB / 0.6039 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.4383, allocations: 15.44 kB / 0.604 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/0.4597, allocations: 10.18 MB / 0.6139 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4597, allocations: 2.312 kB / 0.6139 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.4606, allocations: 244.5 kB / 0.6141 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/0.4742, allocations: 5.331 MB / 0.6193 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.4744, allocations: 51.41 kB / 0.6194 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.4925, allocations: 13.4 MB / 0.6325 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4925, allocations: 6.578 kB / 0.6325 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/0.5089, allocations: 8.788 MB / 0.6411 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/0.5098, allocations: 351.9 kB / 0.6414 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.5102, allocations: 44 kB / 0.6414 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.5114, allocations: 219.8 kB / 0.6416 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/0.5127, allocations: 0.5798 MB / 0.6422 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.5128, allocations: 63.98 kB / 0.6423 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00118/0.514, allocations: 1.229 MB / 0.6435 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.514, allocations: 4 kB / 0.6435 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002639/0.5166, allocations: 1.168 MB / 0.6446 GB, free: 139.1 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.0004775/0.5171, allocations: 176.5 kB / 0.6448 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00691/0.524, allocations: 4.487 MB / 0.6492 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.524, allocations: 0 / 0.6492 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004827/0.5288, allocations: 3.319 MB / 0.6524 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5299, allocations: 309.2 kB / 0.6527 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.5361, allocations: 4.872 MB / 0.6575 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.5365, allocations: 0.5405 MB / 0.658 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005143/0.537, allocations: 254.3 kB / 0.6582 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.5374, allocations: 184.4 kB / 0.6584 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/0.5374, allocations: 0 / 0.6584 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.06379/0.6012, allocations: 73.55 MB / 0.7302 GB, free: 51.37 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.826544452924281]