Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.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 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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009326/0.0009323, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.185/1.185, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.0008017, allocations: 94.7 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4305/0.4305, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.627e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.279, allocations: 69.34 MB / 0.548 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.3901, allocations: 102.4 MB / 0.6479 GB, free: 14.05 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.3903, allocations: 75.95 kB / 0.648 GB, free: 13.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4794/0.8698, allocations: 100.1 MB / 0.7457 GB, free: 61.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.8698, allocations: 8 kB / 0.7457 GB, free: 61.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000207/0.87, allocations: 87.88 kB / 0.7458 GB, free: 61.84 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01614/0.8862, allocations: 5.778 MB / 0.7515 GB, free: 55.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8862, allocations: 11.97 kB / 0.7515 GB, free: 55.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.9026, allocations: 2.783 MB / 0.7542 GB, free: 53.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.9072, allocations: 2.291 MB / 0.7564 GB, free: 50.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006753/0.9079, allocations: 0.9595 MB / 0.7574 GB, free: 49.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008108/0.9088, allocations: 340 kB / 0.7577 GB, free: 49.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/0.9157, allocations: 4.108 MB / 0.7617 GB, free: 45.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.438e-05/0.9157, allocations: 3.906 kB / 0.7617 GB, free: 45.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.9161, allocations: 144 kB / 0.7618 GB, free: 45.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.9162, allocations: 84 kB / 0.7619 GB, free: 45.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.9246, allocations: 3.624 MB / 0.7655 GB, free: 41.39 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03188/0.9565, allocations: 18.74 MB / 0.7838 GB, free: 21.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009463/0.966, allocations: 4.797 MB / 0.7884 GB, free: 16.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/0.9694, allocations: 2.233 MB / 0.7906 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004456/0.9698, allocations: 74.84 kB / 0.7907 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.9699, allocations: 73.56 kB / 0.7908 GB, free: 14.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.551e-06/0.9699, allocations: 7.938 kB / 0.7908 GB, free: 14.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04866/1.019, allocations: 17.47 MB / 0.8078 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.019, allocations: 179.5 kB / 0.808 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.024, allocations: 2.674 MB / 0.8106 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/1.025, allocations: 85.7 kB / 0.8107 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.026, allocations: 2.01 MB / 0.8127 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002159/1.029, allocations: 1.301 MB / 0.8139 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.029, allocations: 76 kB / 0.814 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003023/1.029, allocations: 437.6 kB / 0.8144 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.033, allocations: 1.835 MB / 0.8162 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/1.037, allocations: 2.422 MB / 0.8186 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003997/1.041, allocations: 2.091 MB / 0.8206 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.041, allocations: 4 kB / 0.8206 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05213/1.093, allocations: 17.76 MB / 0.838 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00229/1.095, allocations: 6.68 MB / 0.8445 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.095, allocations: 16 kB / 0.8445 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0244/1.12, allocations: 7.005 MB / 0.8514 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/1.122, allocations: 0.5344 MB / 0.8519 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06162/1.184, allocations: 26.93 MB / 0.8782 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/1.19, allocations: 0.6879 MB / 0.8789 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006897/1.191, allocations: 128 kB / 0.879 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.191, allocations: 8 kB / 0.879 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05162/1.242, allocations: 17.34 MB / 0.8959 GB, free: 1.164 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.798e-05/1.242, allocations: 19.94 kB / 0.8959 GB, free: 1.145 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3037/1.546, allocations: 6.994 MB / 0.9028 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/1.549, allocations: 0.5272 MB / 0.9033 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05589/1.605, allocations: 26.92 MB / 0.9296 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005326/1.61, allocations: 0.6717 MB / 0.9302 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004342/1.611, allocations: 135.4 kB / 0.9304 GB, free: 124.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008107/1.611, allocations: 321.3 kB / 0.9307 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008131/1.612, allocations: 459.2 kB / 0.9311 GB, free: 124.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04832/1.661, allocations: 18.03 MB / 0.9487 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/1.661, allocations: 38.88 kB / 0.9487 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/1.661, allocations: 27.59 kB / 0.9488 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.328e-05/1.661, allocations: 18.42 kB / 0.9488 GB, free: 121 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.05428/1.715, allocations: 23.32 MB / 0.9716 GB, free: 113.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.715, allocations: 4 kB / 0.9716 GB, free: 113.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.718, allocations: 404.7 kB / 0.9719 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02204/1.74, allocations: 6.942 MB / 0.9787 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007076/1.741, allocations: 71.61 kB / 0.9788 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04628/1.787, allocations: 22.56 MB / 1.001 GB, free: 88.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.787, allocations: 2.062 kB / 1.001 GB, free: 88.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05561/1.843, allocations: 20.87 MB / 1.021 GB, free: 71.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.844, allocations: 0.5648 MB / 1.022 GB, free: 70.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.845, allocations: 64 kB / 1.022 GB, free: 70.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004929/1.85, allocations: 492.5 kB / 1.022 GB, free: 70.36 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002745/1.853, allocations: 0.7704 MB / 1.023 GB, free: 69.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/1.853, allocations: 99.66 kB / 1.023 GB, free: 69.85 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002572/1.856, allocations: 2.038 MB / 1.025 GB, free: 67.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.856, allocations: 0 / 1.025 GB, free: 67.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006782/1.863, allocations: 2.895 MB / 1.028 GB, free: 65.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005541/1.863, allocations: 220.2 kB / 1.028 GB, free: 64.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03518/1.899, allocations: 14.75 MB / 1.043 GB, free: 51.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.899, allocations: 4 kB / 1.043 GB, free: 51.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01633/1.915, allocations: 5.988 MB / 1.048 GB, free: 46.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.917, allocations: 310 kB / 1.049 GB, free: 46.01 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.928, allocations: 6.206 MB / 1.055 GB, free: 40.35 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.929, allocations: 2.606 MB / 1.057 GB, free: 38.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002743/1.932, allocations: 0.6053 MB / 1.058 GB, free: 38.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006717/1.932, allocations: 175 kB / 1.058 GB, free: 37.85 MB / 0.573 GB Notification: Performance of SimCode: time 7.61e-07/1.932, allocations: 4 kB / 1.058 GB, free: 37.84 MB / 0.573 GB Notification: Performance of Templates: time 0.416/2.348, allocations: 113.6 MB / 1.169 GB, free: 149.1 MB / 0.6042 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)