Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001378, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.327/1.327, 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.0009808/0.0009806, allocations: 86.59 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4497/0.4497, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.603e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3046, allocations: 69.5 MB / 0.5491 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4179, allocations: 101 MB / 0.6478 GB, free: 14.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4182, allocations: 87.92 kB / 0.6479 GB, free: 14.49 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4344/0.8525, allocations: 68.7 MB / 0.715 GB, free: 93.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.8526, allocations: 4 kB / 0.715 GB, free: 93.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002124/0.8528, allocations: 63.94 kB / 0.715 GB, free: 93.43 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01154/0.8643, allocations: 4.051 MB / 0.719 GB, free: 89.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8644, allocations: 11.97 kB / 0.719 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009458/0.8738, allocations: 1.603 MB / 0.7206 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.8773, allocations: 1.659 MB / 0.7222 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.8778, allocations: 0.6983 MB / 0.7229 GB, free: 85.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/0.8785, allocations: 219.8 kB / 0.7231 GB, free: 84.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/0.8831, allocations: 2.573 MB / 0.7256 GB, free: 82.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.8832, allocations: 0 / 0.7256 GB, free: 82.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.8835, allocations: 80 kB / 0.7257 GB, free: 82.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.8835, allocations: 52 kB / 0.7257 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/0.8874, allocations: 2.336 MB / 0.728 GB, free: 79.8 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.01562/0.903, allocations: 10.12 MB / 0.7379 GB, free: 69.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008284/0.9113, allocations: 4.046 MB / 0.7418 GB, free: 65.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.9137, allocations: 1.542 MB / 0.7433 GB, free: 63.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.914, allocations: 42.03 kB / 0.7434 GB, free: 63.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.914, allocations: 68.48 kB / 0.7434 GB, free: 63.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 5.289e-06/0.914, allocations: 0 / 0.7434 GB, free: 63.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03491/0.9489, allocations: 12.33 MB / 0.7555 GB, free: 51.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.949, allocations: 235.6 kB / 0.7557 GB, free: 50.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.9521, allocations: 1.882 MB / 0.7575 GB, free: 48.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005968/0.9527, allocations: 65.7 kB / 0.7576 GB, free: 48.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007523/0.9534, allocations: 1.22 MB / 0.7588 GB, free: 47.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.9546, allocations: 0.847 MB / 0.7596 GB, free: 46.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.955, allocations: 44 kB / 0.7597 GB, free: 46.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9551, allocations: 398.7 kB / 0.76 GB, free: 46.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.9573, allocations: 1.235 MB / 0.7612 GB, free: 45.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.9596, allocations: 1.555 MB / 0.7628 GB, free: 43.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.9619, allocations: 1.475 MB / 0.7642 GB, free: 41.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.9619, allocations: 0 / 0.7642 GB, free: 41.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03515/0.9971, allocations: 12.54 MB / 0.7765 GB, free: 29.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004865/0.9976, allocations: 2.873 MB / 0.7793 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.9976, allocations: 11.94 kB / 0.7793 GB, free: 26.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.013, allocations: 5.173 MB / 0.7843 GB, free: 20.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.015, allocations: 367.5 kB / 0.7847 GB, free: 20.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03602/1.051, allocations: 18.87 MB / 0.8031 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/1.054, allocations: 0.521 MB / 0.8036 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/1.055, allocations: 83.98 kB / 0.8037 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.055, allocations: 9.875 kB / 0.8037 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03709/1.092, allocations: 12.26 MB / 0.8157 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/1.092, allocations: 8 kB / 0.8157 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/1.108, allocations: 5.169 MB / 0.8207 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.11, allocations: 359.5 kB / 0.8211 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04094/1.151, allocations: 18.9 MB / 0.8395 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/1.155, allocations: 493.9 kB / 0.84 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/1.156, allocations: 91.97 kB / 0.8401 GB, free: 11.12 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006695/1.156, allocations: 289 kB / 0.8404 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006126/1.157, allocations: 300.3 kB / 0.8406 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03765/1.195, allocations: 12.66 MB / 0.853 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/1.195, allocations: 28 kB / 0.853 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/1.195, allocations: 16 kB / 0.8531 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/1.195, allocations: 19.95 kB / 0.8531 GB, free: 13.75 MB / 0.5417 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.04311/1.238, allocations: 16.44 MB / 0.8691 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.238, allocations: 0 / 0.8691 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/1.24, allocations: 287.7 kB / 0.8694 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/1.255, allocations: 4.81 MB / 0.8741 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005596/1.256, allocations: 51.98 kB / 0.8741 GB, free: 8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03489/1.29, allocations: 15.37 MB / 0.8892 GB, free: 8.488 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.29, allocations: 7.953 kB / 0.8892 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3066/1.597, allocations: 14.62 MB / 0.9034 GB, free: 165.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008695/1.598, allocations: 417.9 kB / 0.9038 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/1.598, allocations: 45.84 kB / 0.9039 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.601, allocations: 398.9 kB / 0.9043 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001927/1.603, allocations: 0.5556 MB / 0.9048 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.604, allocations: 66.81 kB / 0.9049 GB, free: 165.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001994/1.606, allocations: 1.439 MB / 0.9063 GB, free: 165.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.606, allocations: 1.125 kB / 0.9063 GB, free: 165.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003559/1.609, allocations: 1.792 MB / 0.908 GB, free: 165.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000386/1.61, allocations: 187.4 kB / 0.9082 GB, free: 165.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02404/1.634, allocations: 10.34 MB / 0.9183 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.634, allocations: 0 / 0.9183 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/1.644, allocations: 4.073 MB / 0.9223 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.646, allocations: 233.5 kB / 0.9225 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/1.653, allocations: 4.355 MB / 0.9268 GB, free: 162 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.654, allocations: 1.906 MB / 0.9286 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001865/1.656, allocations: 457.2 kB / 0.9291 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/1.656, allocations: 124.6 kB / 0.9292 GB, free: 161.2 MB / 0.573 GB Notification: Performance of SimCode: time 6.81e-07/1.656, allocations: 0 / 0.9292 GB, free: 161.2 MB / 0.573 GB Notification: Performance of Templates: time 0.09401/1.75, allocations: 77.81 MB / 1.005 GB, free: 103.7 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)