Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 174.6 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.38/1.38, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008742/0.0008741, allocations: 79.34 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4812/0.4812, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.545e-05, allocations: 0 / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 69.51 MB / 0.5491 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4247, allocations: 101.5 MB / 0.6482 GB, free: 14.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.425, allocations: 79.95 kB / 0.6483 GB, free: 14.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4603/0.8853, allocations: 71.39 MB / 0.718 GB, free: 90.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.8853, allocations: 0 / 0.718 GB, free: 90.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001429/0.8855, allocations: 59.94 kB / 0.718 GB, free: 90.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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0114/0.8969, allocations: 4.083 MB / 0.722 GB, free: 86.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8969, allocations: 15.97 kB / 0.722 GB, free: 86.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009511/0.9065, allocations: 1.607 MB / 0.7236 GB, free: 84.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.9098, allocations: 1.655 MB / 0.7252 GB, free: 82.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005469/0.9104, allocations: 0.7486 MB / 0.726 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/0.9108, allocations: 227.9 kB / 0.7262 GB, free: 81.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/0.9151, allocations: 2.58 MB / 0.7287 GB, free: 79.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.9152, allocations: 0 / 0.7287 GB, free: 79.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.9154, allocations: 80 kB / 0.7288 GB, free: 79.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.9155, allocations: 52 kB / 0.7288 GB, free: 79.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.9192, allocations: 2.34 MB / 0.7311 GB, free: 76.69 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.01625/0.9354, allocations: 10.01 MB / 0.7409 GB, free: 66.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/0.944, allocations: 4.227 MB / 0.745 GB, free: 61.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/0.9464, allocations: 1.551 MB / 0.7465 GB, free: 60.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.9468, allocations: 37.97 kB / 0.7466 GB, free: 60.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/0.9493, allocations: 1.82 MB / 0.7483 GB, free: 58.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.268e-06/0.9493, allocations: 0 / 0.7483 GB, free: 58.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03597/0.9853, allocations: 12.59 MB / 0.7606 GB, free: 45.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.9854, allocations: 184.2 kB / 0.7608 GB, free: 45.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.9884, allocations: 1.891 MB / 0.7626 GB, free: 43.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006497/0.9891, allocations: 69.7 kB / 0.7627 GB, free: 43.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/0.9897, allocations: 1.212 MB / 0.7639 GB, free: 42.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009186/0.9906, allocations: 0.8663 MB / 0.7647 GB, free: 41.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.9908, allocations: 55.94 kB / 0.7648 GB, free: 41.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.9909, allocations: 407 kB / 0.7652 GB, free: 41.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.9929, allocations: 1.278 MB / 0.7664 GB, free: 39.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.995, allocations: 1.575 MB / 0.768 GB, free: 38.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.9972, allocations: 1.506 MB / 0.7694 GB, free: 36.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.9972, allocations: 4 kB / 0.7694 GB, free: 36.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03546/1.033, allocations: 12.72 MB / 0.7819 GB, free: 23.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/1.033, allocations: 110.8 kB / 0.782 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.033, allocations: 9.562 kB / 0.782 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01645/1.049, allocations: 5.35 MB / 0.7872 GB, free: 18.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.052, allocations: 415.4 kB / 0.7876 GB, free: 17.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03856/1.09, allocations: 19.25 MB / 0.8064 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/1.095, allocations: 0.5444 MB / 0.8069 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/1.095, allocations: 83.98 kB / 0.807 GB, free: 13.66 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real 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 order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007658/1.096, allocations: 301.2 kB / 0.8073 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009767/1.097, allocations: 308.2 kB / 0.8076 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03955/1.137, allocations: 12.94 MB / 0.8202 GB, free: 16 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/1.137, allocations: 24.05 kB / 0.8203 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/1.137, allocations: 20 kB / 0.8203 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.678e-05/1.137, allocations: 15.86 kB / 0.8203 GB, free: 15.96 MB / 0.5105 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.04502/1.182, allocations: 16.53 MB / 0.8364 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.182, allocations: 0 / 0.8364 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.184, allocations: 247.7 kB / 0.8367 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/1.2, allocations: 5.008 MB / 0.8416 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005989/1.201, allocations: 47.98 kB / 0.8416 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04126/1.242, allocations: 19.32 MB / 0.8605 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.242, allocations: 0 / 0.8605 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04442/1.286, allocations: 14.92 MB / 0.875 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.287, allocations: 416.9 kB / 0.8754 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006686/1.288, allocations: 47.95 kB / 0.8755 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.291, allocations: 419.6 kB / 0.8759 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002187/1.294, allocations: 0.5798 MB / 0.8765 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000289/1.294, allocations: 67.98 kB / 0.8765 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002371/1.296, allocations: 1.449 MB / 0.8779 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.296, allocations: 0 / 0.8779 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003448/1.3, allocations: 1.127 MB / 0.879 GB, free: 2.957 MB / 0.5573 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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004454/1.3, allocations: 186.9 kB / 0.8792 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.316, allocations: 5.931 MB / 0.885 GB, free: 12.72 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.316, allocations: 4.062 kB / 0.885 GB, free: 12.72 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/1.329, allocations: 4.403 MB / 0.8893 GB, free: 8.242 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.331, allocations: 234.9 kB / 0.8895 GB, free: 8.012 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/1.34, allocations: 4.271 MB / 0.8937 GB, free: 3.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.341, allocations: 1.876 MB / 0.8955 GB, free: 1.773 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001232/1.342, allocations: 219.7 kB / 0.8957 GB, free: 1.555 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/1.343, allocations: 139.4 kB / 0.8959 GB, free: 1.422 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/1.343, allocations: 0 / 0.8959 GB, free: 1.422 MB / 0.573 GB Notification: Performance of Templates: time 0.3299/1.673, allocations: 56.06 MB / 0.9506 GB, free: 152.5 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)