Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.0009252, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 239 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 176.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5214/0.5214, allocations: 78.56 MB / 419.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003987, allocations: 8 kB / 499.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 69.36 MB / 0.5558 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.3038/0.4753, allocations: 6.015 MB / 0.5617 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.48, allocations: 1.974 MB / 0.5636 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008124/0.4808, allocations: 11.12 kB / 0.5636 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.4816, allocations: 176.8 kB / 0.5638 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.4835, allocations: 0.6741 MB / 0.5644 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4849, allocations: 0.5495 MB / 0.565 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.4864, allocations: 1.453 MB / 0.5664 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.4868, allocations: 255.7 kB / 0.5666 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.4875, allocations: 0.5675 MB / 0.5672 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007898/0.4883, allocations: 0.7632 MB / 0.5679 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.4885, allocations: 63.94 kB / 0.568 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.489, allocations: 188.3 kB / 0.5682 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.4893, allocations: 267.8 kB / 0.5684 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.4896, allocations: 235.4 kB / 0.5687 GB, free: 36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.4908, allocations: 1.272 MB / 0.5699 GB, free: 35.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4908, allocations: 1.062 kB / 0.5699 GB, free: 35.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4909, allocations: 0 / 0.5699 GB, free: 35.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4909, allocations: 0 / 0.5699 GB, free: 35.79 MB / 430.1 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.007803/0.4987, allocations: 2.585 MB / 0.5724 GB, free: 34.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4988, allocations: 13.03 kB / 0.5724 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.5035, allocations: 0.7859 MB / 0.5732 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.5055, allocations: 0.8749 MB / 0.5741 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.5058, allocations: 236.6 kB / 0.5743 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.5061, allocations: 92.62 kB / 0.5744 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.5088, allocations: 1.174 MB / 0.5755 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.5088, allocations: 0 / 0.5755 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5089, allocations: 31 kB / 0.5756 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5089, allocations: 19.92 kB / 0.5756 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.5111, allocations: 1.087 MB / 0.5766 GB, free: 33.6 MB / 430.1 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.007195/0.5183, allocations: 4.041 MB / 0.5806 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007147/0.5255, allocations: 2.918 MB / 0.5834 GB, free: 30.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.5273, allocations: 0.7619 MB / 0.5842 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.5275, allocations: 18.66 kB / 0.5842 GB, free: 30.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.5276, allocations: 52.12 kB / 0.5842 GB, free: 30.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 4.989e-06/0.5276, allocations: 0 / 0.5842 GB, free: 30.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0287/0.5563, allocations: 8.258 MB / 0.5923 GB, free: 28.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.5564, allocations: 141.5 kB / 0.5924 GB, free: 28.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.5588, allocations: 1.122 MB / 0.5935 GB, free: 28.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003121/0.5592, allocations: 45.7 kB / 0.5936 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/0.5597, allocations: 0.5 MB / 0.5941 GB, free: 27.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/0.5602, allocations: 352.7 kB / 0.5944 GB, free: 27.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.5605, allocations: 30.81 kB / 0.5944 GB, free: 27.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5606, allocations: 363.4 kB / 0.5948 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.5627, allocations: 0.8481 MB / 0.5956 GB, free: 26.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.5648, allocations: 1.027 MB / 0.5966 GB, free: 26.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.5669, allocations: 0.9867 MB / 0.5976 GB, free: 25.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.567, allocations: 0 / 0.5976 GB, free: 25.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01552/0.5825, allocations: 5.24 MB / 0.6027 GB, free: 24.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.5827, allocations: 236.7 kB / 0.6029 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5827, allocations: 2.812 kB / 0.6029 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006934/0.5896, allocations: 1.942 MB / 0.6048 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.5913, allocations: 283.6 kB / 0.6051 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.6134, allocations: 10.2 MB / 0.6151 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.6158, allocations: 238.4 kB / 0.6153 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/0.6162, allocations: 55.97 kB / 0.6153 GB, free: 16.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6162, allocations: 6.188 kB / 0.6153 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/0.6293, allocations: 5.079 MB / 0.6203 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.6294, allocations: 4 kB / 0.6203 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006096/0.6355, allocations: 1.939 MB / 0.6222 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.6372, allocations: 267.6 kB / 0.6225 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/0.656, allocations: 10.2 MB / 0.6324 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.6582, allocations: 211.8 kB / 0.6326 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/0.6586, allocations: 51.98 kB / 0.6327 GB, free: 14.62 MB / 446.1 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.001067/0.6597, allocations: 395.8 kB / 0.633 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/0.6601, allocations: 126.4 kB / 0.6332 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.6731, allocations: 4.642 MB / 0.6377 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/0.6732, allocations: 8 kB / 0.6377 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/0.6733, allocations: 9.188 kB / 0.6377 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.6733, allocations: 3.984 kB / 0.6377 GB, free: 9.41 MB / 446.1 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.01593/0.6892, allocations: 6.324 MB / 0.6439 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6893, allocations: 0 / 0.6439 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.6901, allocations: 127.8 kB / 0.644 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005277/0.6954, allocations: 1.789 MB / 0.6458 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.6957, allocations: 27.98 kB / 0.6458 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.7127, allocations: 7.6 MB / 0.6532 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7128, allocations: 1.094 kB / 0.6532 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.7275, allocations: 5.584 MB / 0.6587 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/0.7283, allocations: 231.2 kB / 0.6589 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.7288, allocations: 23.95 kB / 0.6589 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.7304, allocations: 139.9 kB / 0.659 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006946/0.7311, allocations: 182.3 kB / 0.6592 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.7312, allocations: 24 kB / 0.6592 GB, free: 3.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001482/0.7327, allocations: 0.7594 MB / 0.66 GB, free: 2.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7327, allocations: 0 / 0.66 GB, free: 2.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003206/0.7359, allocations: 0.7921 MB / 0.6607 GB, free: 1.512 MB / 462.1 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.0003478/0.7363, allocations: 135 kB / 0.6609 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01247/0.7488, allocations: 5.184 MB / 0.6659 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.7488, allocations: 0 / 0.6659 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004548/0.7534, allocations: 1.693 MB / 0.6676 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.7549, allocations: 110.1 kB / 0.6677 GB, free: 10.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.7599, allocations: 2.89 MB / 0.6705 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.7608, allocations: 1.149 MB / 0.6716 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008362/0.7616, allocations: 150.5 kB / 0.6718 GB, free: 6.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.762, allocations: 79.41 kB / 0.6719 GB, free: 6.012 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.762, allocations: 0 / 0.6719 GB, free: 6.012 MB / 478.1 MB Notification: Performance of Templates: time 0.04854/0.8105, allocations: 28.18 MB / 0.6994 GB, free: 9.98 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: