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.0009066/0.0009066, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.263/1.263, allocations: 223.2 MB / 239 MB, free: 5.645 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.001154/0.001154, allocations: 187.8 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4435/0.4435, allocations: 78.52 MB / 419.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 8 kB / 499.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 69.36 MB / 0.5557 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.1952/0.3102, allocations: 5.73 MB / 0.5613 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.3133, allocations: 2.019 MB / 0.5632 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.3138, allocations: 12.25 kB / 0.5633 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.3143, allocations: 169.4 kB / 0.5634 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.3159, allocations: 0.7254 MB / 0.5641 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.317, allocations: 0.5501 MB / 0.5647 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.3184, allocations: 1.02 MB / 0.5657 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.3188, allocations: 258.2 kB / 0.5659 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007875/0.3196, allocations: 0.5671 MB / 0.5665 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.3204, allocations: 0.7531 MB / 0.5672 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3205, allocations: 63.19 kB / 0.5673 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.3209, allocations: 175.8 kB / 0.5674 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.3211, allocations: 269 kB / 0.5677 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3213, allocations: 236 kB / 0.5679 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.3221, allocations: 1.229 MB / 0.5691 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.3221, allocations: 0 / 0.5691 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3222, allocations: 0 / 0.5691 GB, free: 36.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.3222, allocations: 2.031 kB / 0.5691 GB, free: 36.32 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.007813/0.33, allocations: 2.583 MB / 0.5716 GB, free: 35.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.33, allocations: 8.938 kB / 0.5716 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.3349, allocations: 0.7906 MB / 0.5724 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3364, allocations: 0.876 MB / 0.5733 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.3366, allocations: 238.4 kB / 0.5735 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3368, allocations: 90.78 kB / 0.5736 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3387, allocations: 1.169 MB / 0.5747 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3388, allocations: 0 / 0.5747 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.3389, allocations: 31.88 kB / 0.5748 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.3389, allocations: 23.45 kB / 0.5748 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3408, allocations: 1.083 MB / 0.5758 GB, free: 33.92 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.005861/0.3466, allocations: 4.246 MB / 0.58 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007357/0.354, allocations: 2.921 MB / 0.5828 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.3542, allocations: 21.92 kB / 0.5829 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3542, allocations: 38.66 kB / 0.5829 GB, free: 30.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.216e-06/0.3542, allocations: 0 / 0.5829 GB, free: 30.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02779/0.382, allocations: 8.25 MB / 0.5909 GB, free: 29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3821, allocations: 144.8 kB / 0.5911 GB, free: 28.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.3839, allocations: 1.125 MB / 0.5922 GB, free: 28.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.3841, allocations: 45.98 kB / 0.5922 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.3844, allocations: 0.4967 MB / 0.5927 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.3847, allocations: 356 kB / 0.593 GB, free: 27.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.3848, allocations: 31.41 kB / 0.5931 GB, free: 27.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.3849, allocations: 360.9 kB / 0.5934 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.3866, allocations: 0.8484 MB / 0.5943 GB, free: 27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.3883, allocations: 1.021 MB / 0.5952 GB, free: 26.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.3901, allocations: 0.9933 MB / 0.5962 GB, free: 26.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.3901, allocations: 4.156 kB / 0.5962 GB, free: 26.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01506/0.4052, allocations: 5.239 MB / 0.6013 GB, free: 24.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.4055, allocations: 1.198 MB / 0.6025 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4055, allocations: 5.25 kB / 0.6025 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006884/0.4124, allocations: 1.941 MB / 0.6044 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.4139, allocations: 275.9 kB / 0.6047 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.435, allocations: 10.62 MB / 0.615 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.4369, allocations: 234.8 kB / 0.6153 GB, free: 16.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.4371, allocations: 59.98 kB / 0.6153 GB, free: 16.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.4371, allocations: 4 kB / 0.6153 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01276/0.4498, allocations: 5.079 MB / 0.6203 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.4499, allocations: 4 kB / 0.6203 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006009/0.4559, allocations: 1.943 MB / 0.6222 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4574, allocations: 267.6 kB / 0.6224 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.4769, allocations: 10.63 MB / 0.6328 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.4789, allocations: 211.1 kB / 0.633 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4791, allocations: 55.97 kB / 0.6331 GB, free: 14.06 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.0007124/0.4798, allocations: 384.9 kB / 0.6334 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.4801, allocations: 126.4 kB / 0.6336 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.4933, allocations: 4.65 MB / 0.6381 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4934, allocations: 12 kB / 0.6381 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4934, allocations: 9.188 kB / 0.6381 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.4934, allocations: 6.234 kB / 0.6381 GB, free: 8.852 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.01578/0.5092, allocations: 6.382 MB / 0.6444 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5092, allocations: 0 / 0.6444 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.51, allocations: 115.9 kB / 0.6445 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00546/0.5155, allocations: 1.797 MB / 0.6462 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.5157, allocations: 20 kB / 0.6462 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/0.533, allocations: 8.002 MB / 0.6541 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.533, allocations: 0.9375 kB / 0.6541 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/0.5479, allocations: 5.602 MB / 0.6595 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.5485, allocations: 235.2 kB / 0.6598 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.5487, allocations: 20.61 kB / 0.6598 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.55, allocations: 139.9 kB / 0.6599 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/0.5505, allocations: 180.7 kB / 0.6601 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.5506, allocations: 27.98 kB / 0.6601 GB, free: 2.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.5517, allocations: 0.7555 MB / 0.6608 GB, free: 1.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5517, allocations: 0 / 0.6608 GB, free: 1.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00235/0.5541, allocations: 0.7921 MB / 0.6616 GB, free: 468 kB / 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.0002891/0.5544, allocations: 136.1 kB / 0.6618 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01226/0.5666, allocations: 5.188 MB / 0.6668 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.5667, allocations: 0 / 0.6668 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004465/0.5712, allocations: 1.686 MB / 0.6685 GB, free: 9.324 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.5721, allocations: 99.11 kB / 0.6686 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.5764, allocations: 2.907 MB / 0.6714 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.5771, allocations: 1.168 MB / 0.6725 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007193/0.5778, allocations: 155.7 kB / 0.6727 GB, free: 5.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.5781, allocations: 79.41 kB / 0.6728 GB, free: 4.938 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5781, allocations: 0 / 0.6728 GB, free: 4.938 MB / 478.1 MB Notification: Performance of Templates: time 0.04057/0.6187, allocations: 28.15 MB / 0.7003 GB, free: 8.93 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: