Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004286/0.004286, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.181/1.181, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008449, allocations: 93.11 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4044/0.4044, allocations: 78.52 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12 kB / 499.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3103, allocations: 69.35 MB / 0.5557 GB, free: 38.69 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.422, allocations: 99.58 MB / 0.653 GB, free: 6.777 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4223, allocations: 79.95 kB / 0.653 GB, free: 6.699 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1633/0.5856, allocations: 69.39 MB / 0.7208 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5857, allocations: 4 kB / 0.7208 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001324/0.5858, allocations: 55.94 kB / 0.7209 GB, free: 0.8672 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01157/0.5974, allocations: 4.629 MB / 0.7254 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5974, allocations: 8.031 kB / 0.7254 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00894/0.6064, allocations: 1.615 MB / 0.727 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.6097, allocations: 1.689 MB / 0.7286 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006558/0.6103, allocations: 0.7448 MB / 0.7293 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.6107, allocations: 215.9 kB / 0.7296 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005806/0.6165, allocations: 3.199 MB / 0.7327 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.6166, allocations: 0 / 0.7327 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.6168, allocations: 84 kB / 0.7328 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.6168, allocations: 52 kB / 0.7328 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/0.6221, allocations: 2.975 MB / 0.7357 GB, free: 1.289 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.01571/0.6379, allocations: 9.9 MB / 0.7454 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.6482, allocations: 4.854 MB / 0.7501 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.6484, allocations: 45.95 kB / 0.7502 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004065/0.6525, allocations: 2.404 MB / 0.7525 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 3.957e-06/0.6525, allocations: 4 kB / 0.7525 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=247): time 0.3288/0.9813, allocations: 33.26 MB / 0.785 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.9814, allocations: 183.3 kB / 0.7852 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.9841, allocations: 1.928 MB / 0.7871 GB, free: 118 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004097/0.9845, allocations: 71.3 kB / 0.7871 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/0.9852, allocations: 1.207 MB / 0.7883 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006953/0.9859, allocations: 0.8514 MB / 0.7891 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.9861, allocations: 47.97 kB / 0.7892 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.9862, allocations: 400.1 kB / 0.7896 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.9896, allocations: 1.88 MB / 0.7914 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/0.9931, allocations: 2.187 MB / 0.7935 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.9967, allocations: 2.098 MB / 0.7956 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.9967, allocations: 1.375 kB / 0.7956 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03965/1.036, allocations: 14.46 MB / 0.8097 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/1.036, allocations: 116.7 kB / 0.8098 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.037, allocations: 7.328 kB / 0.8098 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.054, allocations: 6.374 MB / 0.816 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/1.056, allocations: 417.4 kB / 0.8164 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05082/1.106, allocations: 26.51 MB / 0.8423 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/1.11, allocations: 0.5418 MB / 0.8429 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.11, allocations: 89.55 kB / 0.8429 GB, free: 108.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001085/1.111, allocations: 0.5101 MB / 0.8434 GB, free: 108 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/1.112, allocations: 293.4 kB / 0.8437 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03508/1.147, allocations: 14.74 MB / 0.8581 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/1.147, allocations: 27.95 kB / 0.8581 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/1.147, allocations: 16 kB / 0.8582 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/1.147, allocations: 18.59 kB / 0.8582 GB, free: 100.6 MB / 0.5573 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.03932/1.186, allocations: 18.27 MB / 0.876 GB, free: 86.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.186, allocations: 3.828 kB / 0.876 GB, free: 86.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.188, allocations: 248 kB / 0.8762 GB, free: 86.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01564/1.203, allocations: 6.231 MB / 0.8823 GB, free: 81.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005534/1.204, allocations: 51.78 kB / 0.8824 GB, free: 81.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04963/1.254, allocations: 26.9 MB / 0.9087 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.254, allocations: 0 / 0.9087 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04103/1.295, allocations: 17.31 MB / 0.9256 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.296, allocations: 423.2 kB / 0.926 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.297, allocations: 47.95 kB / 0.926 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/1.301, allocations: 411.6 kB / 0.9264 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002442/1.303, allocations: 0.5838 MB / 0.927 GB, free: 38.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003937/1.304, allocations: 63.98 kB / 0.927 GB, free: 38.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00244/1.306, allocations: 1.492 MB / 0.9285 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.306, allocations: 0 / 0.9285 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003992/1.31, allocations: 1.113 MB / 0.9296 GB, free: 35.59 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0005514/1.311, allocations: 191.8 kB / 0.9298 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.327, allocations: 7.028 MB / 0.9366 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.327, allocations: 4 kB / 0.9366 GB, free: 28.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/1.338, allocations: 5.062 MB / 0.9416 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.341, allocations: 228.8 kB / 0.9418 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/1.35, allocations: 6.368 MB / 0.948 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/1.351, allocations: 1.867 MB / 0.9498 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009504/1.352, allocations: 217.4 kB / 0.95 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/1.352, allocations: 135.4 kB / 0.9502 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/1.352, allocations: 4 kB / 0.9502 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of Templates: time 0.2819/1.634, allocations: 55.37 MB / 1.004 GB, free: 139.4 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)