Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0009033/0.0009033, 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.9124/0.9124, allocations: 177.2 MB / 200 MB, free: 5.547 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.001256/0.001256, allocations: 164.5 kB / 256.6 MB, free: 13 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.2981/0.2981, allocations: 80.25 MB / 393.4 MB, free: 2.168 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 489.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.728e-05/3.929e-05, allocations: 2.312 kB / 489.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007832/0.007872, allocations: 6.433 MB / 496.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.01299, allocations: 2.019 MB / 498.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.01419, allocations: 15.94 kB / 498.3 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.0151, allocations: 241.8 kB / 498.5 MB, free: 2.477 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.01765, allocations: 0.8915 MB / 499.4 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.01869, allocations: 0.6577 MB / 0.4883 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.02054, allocations: 1.67 MB / 0.49 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.02094, allocations: 223.8 kB / 0.4902 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.02221, allocations: 0.9545 MB / 0.4911 GB, free: 14.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009056/0.02312, allocations: 0.7171 MB / 0.4918 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.02339, allocations: 132.7 kB / 0.4919 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.0239, allocations: 283.8 kB / 0.4922 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.02427, allocations: 360.6 kB / 0.4926 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.02467, allocations: 482.4 kB / 0.493 GB, free: 12.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.02599, allocations: 1.276 MB / 0.4943 GB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.026, allocations: 0 / 0.4943 GB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.026, allocations: 0 / 0.4943 GB, free: 10.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.02603, allocations: 0 / 0.4943 GB, free: 10.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005051/0.03108, allocations: 3.019 MB / 0.4972 GB, free: 7.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.03113, allocations: 8.031 kB / 0.4972 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.03381, allocations: 0.9259 MB / 0.4981 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.03489, allocations: 0.8287 MB / 0.4989 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.0351, allocations: 337.2 kB / 0.4993 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.03523, allocations: 87.95 kB / 0.4993 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.03641, allocations: 0.7635 MB / 0.5001 GB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.03643, allocations: 0 / 0.5001 GB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.03649, allocations: 32.55 kB / 0.5001 GB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.03651, allocations: 23.94 kB / 0.5001 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.03729, allocations: 0.494 MB / 0.5006 GB, free: 4.188 MB / 378.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.003661/0.04095, allocations: 2.756 MB / 0.5033 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.04355, allocations: 1.26 MB / 0.5045 GB, free: 84 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.04402, allocations: 354.9 kB / 0.5049 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.0441, allocations: 24.98 kB / 0.5049 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/0.04484, allocations: 0.5366 MB / 0.5054 GB, free: 15.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 4.028e-06/0.04484, allocations: 0 / 0.5054 GB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.01568/0.06052, allocations: 4.981 MB / 0.5103 GB, free: 10.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.06059, allocations: 115.8 kB / 0.5104 GB, free: 9.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.06189, allocations: 1.017 MB / 0.5114 GB, free: 8.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.06203, allocations: 45.7 kB / 0.5114 GB, free: 8.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.06242, allocations: 0.5665 MB / 0.512 GB, free: 8.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.06277, allocations: 376.9 kB / 0.5123 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/0.06322, allocations: 297.1 kB / 0.5126 GB, free: 7.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.06333, allocations: 488.7 kB / 0.5131 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.06415, allocations: 447.2 kB / 0.5135 GB, free: 6.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.06521, allocations: 0.6534 MB / 0.5142 GB, free: 6.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.06769, allocations: 1.684 MB / 0.5158 GB, free: 4.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.0677, allocations: 0 / 0.5158 GB, free: 4.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00764/0.07534, allocations: 3.157 MB / 0.5189 GB, free: 1.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.0754, allocations: 59.41 kB / 0.5189 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.07541, allocations: 4 kB / 0.5189 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006282/0.08169, allocations: 1.692 MB / 0.5206 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.08286, allocations: 295.5 kB / 0.5209 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/0.0917, allocations: 4.555 MB / 0.5253 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.09296, allocations: 167.1 kB / 0.5255 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.09309, allocations: 59.97 kB / 0.5255 GB, free: 10.07 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004765/0.09357, allocations: 265.1 kB / 0.5258 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.09383, allocations: 171 kB / 0.526 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.1004, allocations: 2.612 MB / 0.5285 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1005, allocations: 12 kB / 0.5285 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.1005, allocations: 8 kB / 0.5285 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.1005, allocations: 3.984 kB / 0.5285 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008104/0.1086, allocations: 3.683 MB / 0.5321 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1086, allocations: 4 kB / 0.5321 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.1091, allocations: 107.8 kB / 0.5322 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004409/0.1135, allocations: 1.632 MB / 0.5338 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.1136, allocations: 27.98 kB / 0.5339 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007322/0.1209, allocations: 6.385 MB / 0.5401 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1209, allocations: 4 kB / 0.5401 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.1268, allocations: 3.077 MB / 0.5431 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.1272, allocations: 154.9 kB / 0.5433 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.1273, allocations: 20 kB / 0.5433 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.1279, allocations: 79.92 kB / 0.5433 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/0.1283, allocations: 192.6 kB / 0.5435 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.1283, allocations: 31.98 kB / 0.5436 GB, free: 7.188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006189/0.129, allocations: 0.6416 MB / 0.5442 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.129, allocations: 0 / 0.5442 GB, free: 6.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001137/0.1301, allocations: 495.6 kB / 0.5447 GB, free: 6.055 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002868/0.1304, allocations: 143 kB / 0.5448 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.1334, allocations: 1.864 MB / 0.5466 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1334, allocations: 0 / 0.5466 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.1353, allocations: 1.327 MB / 0.5479 GB, free: 2.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.136, allocations: 134.9 kB / 0.548 GB, free: 2.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1394, allocations: 2.183 MB / 0.5502 GB, free: 232 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1397, allocations: 249.6 kB / 0.5504 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.14, allocations: 120.1 kB / 0.5505 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.1402, allocations: 84.48 kB / 0.5506 GB, free: 15.75 MB / 442.7 MB Notification: Performance of SimCode: time 2.445e-06/0.1402, allocations: 0 / 0.5506 GB, free: 15.75 MB / 442.7 MB Notification: Performance of Templates: time 0.1783/0.3185, allocations: 28.87 MB / 0.5788 GB, free: 88.7 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.133880701847374]