Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004531/0.004531, allocations: 170.2 kB / 15.11 MB, free: 6.039 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.263/1.263, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 99.56 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4528/0.4528, allocations: 78.59 MB / 419.9 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003873, allocations: 8 kB / 499.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 69.36 MB / 0.5558 GB, free: 1.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5068, allocations: 100.7 MB / 0.6541 GB, free: 1.473 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.5071, allocations: 83.2 kB / 0.6542 GB, free: 1.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1804/0.6875, allocations: 70.33 MB / 0.7229 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6875, allocations: 0 / 0.7229 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003038/0.6878, allocations: 59.94 kB / 0.723 GB, free: 11.43 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01581/0.7036, allocations: 4.692 MB / 0.7275 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.7037, allocations: 12.03 kB / 0.7276 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.7142, allocations: 1.619 MB / 0.7291 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/0.7195, allocations: 1.713 MB / 0.7308 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008421/0.7203, allocations: 0.7448 MB / 0.7315 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.7214, allocations: 208 kB / 0.7317 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00904/0.7304, allocations: 3.215 MB / 0.7349 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.7305, allocations: 4 kB / 0.7349 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.7309, allocations: 83.95 kB / 0.735 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.7309, allocations: 52 kB / 0.735 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006438/0.7374, allocations: 2.987 MB / 0.7379 GB, free: 11.73 MB / 0.5261 GB 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.02012/0.7575, allocations: 9.959 MB / 0.7476 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.7693, allocations: 4.885 MB / 0.7524 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.7699, allocations: 45.89 kB / 0.7525 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005297/0.7752, allocations: 2.423 MB / 0.7548 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 4.248e-06/0.7752, allocations: 0 / 0.7548 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.116/0.8911, allocations: 31.93 MB / 0.786 GB, free: 9.812 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8913, allocations: 182.2 kB / 0.7862 GB, free: 9.598 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.8948, allocations: 1.964 MB / 0.7881 GB, free: 7.621 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007065/0.8955, allocations: 69.69 kB / 0.7882 GB, free: 7.547 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008898/0.8964, allocations: 1.212 MB / 0.7893 GB, free: 6.324 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009757/0.8974, allocations: 0.847 MB / 0.7902 GB, free: 5.465 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.8976, allocations: 48 kB / 0.7902 GB, free: 5.418 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8978, allocations: 403.2 kB / 0.7906 GB, free: 5.02 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/0.9017, allocations: 1.891 MB / 0.7925 GB, free: 3.125 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/0.9058, allocations: 2.206 MB / 0.7946 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2573/1.163, allocations: 2.109 MB / 0.7967 GB, free: 123.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/1.163, allocations: 3 kB / 0.7967 GB, free: 123.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.0443/1.208, allocations: 14.49 MB / 0.8108 GB, free: 122.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.208, allocations: 115.7 kB / 0.8109 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/1.208, allocations: 7.469 kB / 0.8109 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01967/1.227, allocations: 6.496 MB / 0.8173 GB, free: 122.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/1.23, allocations: 432.6 kB / 0.8177 GB, free: 122.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06132/1.291, allocations: 26.43 MB / 0.8435 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.296, allocations: 0.5377 MB / 0.844 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/1.296, allocations: 89.52 kB / 0.8441 GB, free: 120.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001377/1.297, allocations: 0.5169 MB / 0.8446 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006009/1.298, allocations: 301.3 kB / 0.8449 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04081/1.339, allocations: 14.77 MB / 0.8593 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/1.339, allocations: 23.19 kB / 0.8594 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/1.339, allocations: 21.56 kB / 0.8594 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/1.339, allocations: 13.73 kB / 0.8594 GB, free: 118.4 MB / 0.573 GB 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.04302/1.382, allocations: 18.32 MB / 0.8773 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/1.382, allocations: 0.75 kB / 0.8773 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.384, allocations: 249.7 kB / 0.8775 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01727/1.401, allocations: 6.261 MB / 0.8836 GB, free: 112.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006161/1.402, allocations: 51.19 kB / 0.8837 GB, free: 112.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05283/1.455, allocations: 26.87 MB / 0.9099 GB, free: 90.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.455, allocations: 4 kB / 0.9099 GB, free: 90.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04343/1.498, allocations: 17.37 MB / 0.9269 GB, free: 76.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.499, allocations: 421.6 kB / 0.9273 GB, free: 76.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.5, allocations: 48 kB / 0.9273 GB, free: 76.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.503, allocations: 409.2 kB / 0.9277 GB, free: 75.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001886/1.505, allocations: 0.5851 MB / 0.9283 GB, free: 75.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.505, allocations: 64.92 kB / 0.9284 GB, free: 75.53 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002018/1.507, allocations: 1.511 MB / 0.9298 GB, free: 74.26 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.61e-07/1.507, allocations: 0 / 0.9298 GB, free: 74.26 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003031/1.51, allocations: 1.133 MB / 0.9309 GB, free: 73.17 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003948/1.51, allocations: 184.8 kB / 0.9311 GB, free: 73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01588/1.526, allocations: 7.085 MB / 0.938 GB, free: 66.81 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.526, allocations: 0 / 0.938 GB, free: 66.81 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0124/1.539, allocations: 5.107 MB / 0.943 GB, free: 62.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.541, allocations: 225.6 kB / 0.9432 GB, free: 62.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008692/1.549, allocations: 6.574 MB / 0.9497 GB, free: 56.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.551, allocations: 1.878 MB / 0.9515 GB, free: 54.63 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001167/1.552, allocations: 215.7 kB / 0.9517 GB, free: 54.49 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/1.552, allocations: 135.2 kB / 0.9518 GB, free: 54.37 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/1.552, allocations: 4 kB / 0.9518 GB, free: 54.37 MB / 0.573 GB Notification: Performance of Templates: time 0.07063/1.623, allocations: 55.78 MB / 1.006 GB, free: 1.102 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)