Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004519/0.004519, allocations: 171.1 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 102.5 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4263/0.4263, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 16 kB / 499.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3549, allocations: 69.34 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.00581/0.3608, allocations: 5.734 MB / 0.5614 GB, free: 37.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003907/0.3647, allocations: 2.019 MB / 0.5633 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.3653, allocations: 11.81 kB / 0.5633 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.3659, allocations: 170.9 kB / 0.5635 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.3678, allocations: 0.723 MB / 0.5642 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.3693, allocations: 0.558 MB / 0.5648 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.3711, allocations: 1.016 MB / 0.5658 GB, free: 34.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.3716, allocations: 258.1 kB / 0.566 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/0.3725, allocations: 0.5698 MB / 0.5666 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009047/0.3734, allocations: 0.7473 MB / 0.5673 GB, free: 34.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.3736, allocations: 66.81 kB / 0.5673 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.3741, allocations: 176.2 kB / 0.5675 GB, free: 34.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.3743, allocations: 275.3 kB / 0.5678 GB, free: 34.1 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3745, allocations: 227.1 kB / 0.568 GB, free: 33.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.3755, allocations: 1.239 MB / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3755, allocations: 2.969 kB / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3755, allocations: 0 / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3756, allocations: 0 / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008169/0.3837, allocations: 2.582 MB / 0.5717 GB, free: 32.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3838, allocations: 8.875 kB / 0.5717 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.3885, allocations: 0.7957 MB / 0.5725 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.39, allocations: 0.8719 MB / 0.5734 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.3903, allocations: 240.6 kB / 0.5736 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3904, allocations: 84.78 kB / 0.5737 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.3926, allocations: 1.168 MB / 0.5748 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3926, allocations: 0 / 0.5748 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.3927, allocations: 29.31 kB / 0.5748 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3927, allocations: 24.27 kB / 0.5749 GB, free: 31.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3947, allocations: 1.084 MB / 0.5759 GB, free: 30.7 MB / 426.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.006578/0.4013, allocations: 4.251 MB / 0.5801 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/0.4086, allocations: 2.915 MB / 0.5829 GB, free: 27.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.4087, allocations: 16 kB / 0.5829 GB, free: 27.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.4088, allocations: 46.34 kB / 0.583 GB, free: 27.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 3.426e-06/0.4088, allocations: 4 kB / 0.583 GB, free: 27.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.0276/0.4364, allocations: 8.255 MB / 0.5911 GB, free: 25.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.4365, allocations: 142.8 kB / 0.5912 GB, free: 25.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.4383, allocations: 1.122 MB / 0.5923 GB, free: 25.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.4385, allocations: 46.17 kB / 0.5923 GB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.4389, allocations: 0.4932 MB / 0.5928 GB, free: 24.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/0.4392, allocations: 361.9 kB / 0.5932 GB, free: 24.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.4393, allocations: 25.78 kB / 0.5932 GB, free: 24.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4395, allocations: 368.5 kB / 0.5935 GB, free: 24.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4412, allocations: 0.8438 MB / 0.5944 GB, free: 23.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.4431, allocations: 1.029 MB / 0.5954 GB, free: 23.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.4451, allocations: 0.9829 MB / 0.5963 GB, free: 22.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4451, allocations: 4 kB / 0.5963 GB, free: 22.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01545/0.4606, allocations: 5.239 MB / 0.6014 GB, free: 21.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.4609, allocations: 1.194 MB / 0.6026 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4609, allocations: 3.125 kB / 0.6026 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00714/0.4681, allocations: 1.942 MB / 0.6045 GB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4697, allocations: 287.8 kB / 0.6048 GB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.4917, allocations: 10.62 MB / 0.6151 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.4942, allocations: 234.8 kB / 0.6154 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4944, allocations: 51.98 kB / 0.6154 GB, free: 12.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4944, allocations: 5.406 kB / 0.6154 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01343/0.5078, allocations: 5.079 MB / 0.6204 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5079, allocations: 4 kB / 0.6204 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.514, allocations: 1.939 MB / 0.6223 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.5154, allocations: 271.6 kB / 0.6225 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/0.5367, allocations: 10.63 MB / 0.6329 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.5388, allocations: 211.1 kB / 0.6331 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.539, allocations: 55.97 kB / 0.6332 GB, free: 9.988 MB / 442.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007466/0.5397, allocations: 379.5 kB / 0.6335 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.54, allocations: 126.4 kB / 0.6337 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.5537, allocations: 4.654 MB / 0.6382 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.5538, allocations: 8 kB / 0.6382 GB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.5538, allocations: 8 kB / 0.6382 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.5538, allocations: 3.984 kB / 0.6382 GB, free: 4.781 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01611/0.5699, allocations: 6.378 MB / 0.6445 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.57, allocations: 0 / 0.6445 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/0.5709, allocations: 123.8 kB / 0.6446 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/0.5765, allocations: 1.797 MB / 0.6463 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.5768, allocations: 20 kB / 0.6463 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/0.5946, allocations: 8.007 MB / 0.6542 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5946, allocations: 0 / 0.6542 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.61, allocations: 5.606 MB / 0.6596 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.6107, allocations: 231.2 kB / 0.6599 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6109, allocations: 20 kB / 0.6599 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6123, allocations: 143.8 kB / 0.66 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/0.6128, allocations: 180.7 kB / 0.6602 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.6129, allocations: 27.98 kB / 0.6602 GB, free: 13.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.6139, allocations: 0.7554 MB / 0.661 GB, free: 13.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.614, allocations: 3.938 kB / 0.661 GB, free: 13.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002185/0.6161, allocations: 0.7843 MB / 0.6617 GB, free: 12.38 MB / 474.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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/0.6164, allocations: 145.4 kB / 0.6619 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.6287, allocations: 5.184 MB / 0.6669 GB, free: 6.957 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6287, allocations: 0 / 0.6669 GB, free: 6.957 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004407/0.6332, allocations: 1.686 MB / 0.6686 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.6341, allocations: 105.9 kB / 0.6687 GB, free: 5.141 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.6383, allocations: 2.895 MB / 0.6715 GB, free: 2.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.639, allocations: 1.165 MB / 0.6726 GB, free: 1.035 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007398/0.6397, allocations: 163.9 kB / 0.6728 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.64, allocations: 79.41 kB / 0.6729 GB, free: 0.793 MB / 474.7 MB Notification: Performance of SimCode: time 8.21e-07/0.64, allocations: 0 / 0.6729 GB, free: 0.793 MB / 474.7 MB Notification: Performance of Templates: time 0.04243/0.6825, allocations: 28.14 MB / 0.7003 GB, free: 4.656 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)