Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00116/0.00116, allocations: 99.86 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.325/1.325, allocations: 223.2 MB / 238.9 MB, free: 5.633 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.001193/0.001193, allocations: 195.9 kB / 290.2 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4973/0.4973, allocations: 79.45 MB / 420.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 8 kB / 0.489 GB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 69.52 MB / 0.5569 GB, free: 24 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.3039/0.4586, allocations: 5.734 MB / 0.5625 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.465, allocations: 2.016 MB / 0.5645 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.467, allocations: 11.84 kB / 0.5645 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.468, allocations: 173.7 kB / 0.5646 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.4717, allocations: 0.7299 MB / 0.5653 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.4736, allocations: 0.5474 MB / 0.5659 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.4767, allocations: 1.021 MB / 0.5669 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006196/0.4773, allocations: 258.5 kB / 0.5671 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.4787, allocations: 0.5711 MB / 0.5677 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.4799, allocations: 0.7497 MB / 0.5684 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.4801, allocations: 63.06 kB / 0.5685 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.4808, allocations: 174.1 kB / 0.5686 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.4811, allocations: 267.6 kB / 0.5689 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.4814, allocations: 238 kB / 0.5691 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.4827, allocations: 1.233 MB / 0.5703 GB, free: 35.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.4827, allocations: 0 / 0.5703 GB, free: 35.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4827, allocations: 2.625 kB / 0.5703 GB, free: 35.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.4828, allocations: 0 / 0.5703 GB, free: 35.67 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.01215/0.4949, allocations: 2.583 MB / 0.5728 GB, free: 34.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.495, allocations: 8.438 kB / 0.5729 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009122/0.5041, allocations: 0.7877 MB / 0.5736 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.5074, allocations: 0.8717 MB / 0.5745 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/0.5078, allocations: 242.8 kB / 0.5747 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.5081, allocations: 86.69 kB / 0.5748 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.5116, allocations: 1.169 MB / 0.5759 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.5117, allocations: 1.734 kB / 0.5759 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.5118, allocations: 31.88 kB / 0.576 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.5119, allocations: 23.17 kB / 0.576 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.5149, allocations: 1.081 MB / 0.577 GB, free: 32.85 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.009524/0.5245, allocations: 4.246 MB / 0.5812 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.5354, allocations: 2.924 MB / 0.584 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.5358, allocations: 19.67 kB / 0.5841 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.5358, allocations: 40.47 kB / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 5.62e-06/0.5359, allocations: 0 / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03353/0.5694, allocations: 8.255 MB / 0.5922 GB, free: 27.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.5695, allocations: 144.1 kB / 0.5923 GB, free: 27.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.5721, allocations: 1.121 MB / 0.5934 GB, free: 27.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.5725, allocations: 46.2 kB / 0.5934 GB, free: 27.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.5731, allocations: 0.4965 MB / 0.5939 GB, free: 26.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/0.5737, allocations: 359 kB / 0.5943 GB, free: 26.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.574, allocations: 30.28 kB / 0.5943 GB, free: 26.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5742, allocations: 365.9 kB / 0.5946 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.5763, allocations: 0.8467 MB / 0.5955 GB, free: 25.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.5784, allocations: 1.023 MB / 0.5965 GB, free: 25.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.5806, allocations: 0.9898 MB / 0.5974 GB, free: 24.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.5806, allocations: 0 / 0.5974 GB, free: 24.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01633/0.597, allocations: 5.239 MB / 0.6026 GB, free: 23.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/0.5973, allocations: 1.205 MB / 0.6037 GB, free: 22.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.5974, allocations: 3.844 kB / 0.6037 GB, free: 22.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007496/0.6049, allocations: 1.938 MB / 0.6056 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.6065, allocations: 281.3 kB / 0.6059 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.6292, allocations: 10.63 MB / 0.6163 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.6315, allocations: 230.8 kB / 0.6165 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.6318, allocations: 55.97 kB / 0.6165 GB, free: 15.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.6318, allocations: 4 kB / 0.6165 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01335/0.6452, allocations: 5.075 MB / 0.6215 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.6453, allocations: 4 kB / 0.6215 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/0.6513, allocations: 1.948 MB / 0.6234 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.6528, allocations: 267.6 kB / 0.6237 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.6735, allocations: 10.63 MB / 0.634 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.6758, allocations: 207.1 kB / 0.6342 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/0.6761, allocations: 55.97 kB / 0.6343 GB, free: 12.72 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.001117/0.6773, allocations: 382.9 kB / 0.6347 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.6778, allocations: 131.3 kB / 0.6348 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.6912, allocations: 4.646 MB / 0.6393 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.6913, allocations: 12 kB / 0.6393 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/0.6914, allocations: 9.125 kB / 0.6393 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-05/0.6914, allocations: 7.969 kB / 0.6394 GB, free: 7.508 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.01716/0.7086, allocations: 6.374 MB / 0.6456 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.7086, allocations: 0 / 0.6456 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.7095, allocations: 115.9 kB / 0.6457 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/0.7152, allocations: 1.801 MB / 0.6474 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.7155, allocations: 23.98 kB / 0.6475 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.7336, allocations: 8.003 MB / 0.6553 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.7337, allocations: 3.984 kB / 0.6553 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.749, allocations: 5.605 MB / 0.6608 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.7496, allocations: 237.1 kB / 0.661 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/0.7501, allocations: 20.98 kB / 0.661 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7515, allocations: 135.9 kB / 0.6611 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005881/0.7521, allocations: 184.7 kB / 0.6613 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.7523, allocations: 28 kB / 0.6613 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.7536, allocations: 0.7515 MB / 0.6621 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7536, allocations: 0 / 0.6621 GB, free: 15.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003138/0.7567, allocations: 0.7921 MB / 0.6629 GB, free: 15.12 MB / 478.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.0003916/0.7571, allocations: 135.1 kB / 0.663 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01297/0.7701, allocations: 5.189 MB / 0.668 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.7702, allocations: 4.062 kB / 0.6681 GB, free: 9.699 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004608/0.7748, allocations: 1.681 MB / 0.6697 GB, free: 7.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7761, allocations: 104 kB / 0.6698 GB, free: 7.887 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.7819, allocations: 2.905 MB / 0.6726 GB, free: 5.023 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.7832, allocations: 1.165 MB / 0.6738 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008515/0.784, allocations: 160.2 kB / 0.6739 GB, free: 3.676 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.7844, allocations: 79.41 kB / 0.674 GB, free: 3.598 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7844, allocations: 0 / 0.674 GB, free: 3.598 MB / 478.1 MB Notification: Performance of Templates: time 0.04801/0.8324, allocations: 28.14 MB / 0.7015 GB, free: 7.617 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)