Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006093/0.006093, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07003/0.07003, allocations: 12.59 MB / 330.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4135/0.4135, allocations: 78.52 MB / 460 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004994, allocations: 24.16 kB / 0.5285 GB, free: 35.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 69.34 MB / 0.5962 GB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5389, allocations: 104.2 MB / 0.698 GB, free: 36.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5392, allocations: 80.98 kB / 0.6981 GB, free: 36.78 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.296/0.8352, allocations: 98.13 MB / 0.7939 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.8353, allocations: 3.938 kB / 0.7939 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002184/0.8355, allocations: 91.94 kB / 0.794 GB, free: 0.7617 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02116/0.8567, allocations: 6.613 MB / 0.8004 GB, free: 10.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8567, allocations: 15.98 kB / 0.8004 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/0.8743, allocations: 2.811 MB / 0.8032 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/0.8809, allocations: 2.289 MB / 0.8054 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/0.882, allocations: 0.9902 MB / 0.8064 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/0.8835, allocations: 348.5 kB / 0.8067 GB, free: 4.965 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.8962, allocations: 4.951 MB / 0.8116 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.004e-05/0.8964, allocations: 0 / 0.8116 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000531/0.8969, allocations: 140.1 kB / 0.8117 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-05/0.897, allocations: 87.95 kB / 0.8118 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.908, allocations: 4.498 MB / 0.8162 GB, free: 11.32 MB / 0.4949 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.04289/0.951, allocations: 18.63 MB / 0.8344 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.9656, allocations: 5.682 MB / 0.8399 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008903/0.9665, allocations: 78.91 kB / 0.84 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009393/0.9759, allocations: 3.427 MB / 0.8433 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=384): time 1.007e-05/0.976, allocations: 0 / 0.8433 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=384): time 0.3011/1.277, allocations: 77 MB / 0.9185 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.277, allocations: 145.8 kB / 0.9187 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2756/1.553, allocations: 2.739 MB / 0.9213 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/1.554, allocations: 90.7 kB / 0.9214 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.556, allocations: 2.005 MB / 0.9234 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/1.557, allocations: 1.304 MB / 0.9247 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.558, allocations: 71.62 kB / 0.9247 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.558, allocations: 446.5 kB / 0.9252 GB, free: 136 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/1.563, allocations: 2.666 MB / 0.9278 GB, free: 136 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005504/1.569, allocations: 3.254 MB / 0.9309 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006644/1.575, allocations: 2.923 MB / 0.9338 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.963e-05/1.575, allocations: 5.156 kB / 0.9338 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05586/1.631, allocations: 20.19 MB / 0.9535 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/1.631, allocations: 65.88 kB / 0.9536 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.982e-05/1.631, allocations: 17.86 kB / 0.9536 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02524/1.657, allocations: 8.55 MB / 0.9619 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/1.66, allocations: 0.5732 MB / 0.9625 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08354/1.744, allocations: 37.05 MB / 0.9987 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/1.75, allocations: 0.707 MB / 0.9994 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.751, allocations: 134.9 kB / 0.9995 GB, free: 124.1 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * 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: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.003599/1.755, allocations: 0.6516 MB / 1 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.757, allocations: 458.4 kB / 1.001 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05362/1.811, allocations: 20.58 MB / 1.021 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/1.811, allocations: 36 kB / 1.021 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/1.811, allocations: 32.75 kB / 1.021 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/1.811, allocations: 19.92 kB / 1.021 GB, free: 107.2 MB / 0.5886 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.06139/1.872, allocations: 25.54 MB / 1.046 GB, free: 87.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.872, allocations: 8.406 kB / 1.046 GB, free: 87.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/1.875, allocations: 387.8 kB / 1.046 GB, free: 87.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02376/1.899, allocations: 8.599 MB / 1.054 GB, free: 80.86 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009921/1.9, allocations: 71 kB / 1.055 GB, free: 80.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07393/1.974, allocations: 34.43 MB / 1.088 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.974, allocations: 0 / 1.088 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05966/2.033, allocations: 24.24 MB / 1.112 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/2.035, allocations: 0.5648 MB / 1.112 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/2.037, allocations: 60 kB / 1.112 GB, free: 25.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005948/2.043, allocations: 0.4917 MB / 1.113 GB, free: 25.47 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004027/2.047, allocations: 0.7802 MB / 1.114 GB, free: 24.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008998/2.048, allocations: 99.97 kB / 1.114 GB, free: 24.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004575/2.053, allocations: 2.094 MB / 1.116 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/2.053, allocations: 4 kB / 1.116 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009219/2.062, allocations: 1.773 MB / 1.118 GB, free: 20.71 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/2.064, allocations: 210.2 kB / 1.118 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0244/2.088, allocations: 9.964 MB / 1.127 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/2.088, allocations: 3.984 kB / 1.128 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01873/2.107, allocations: 7.032 MB / 1.134 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/2.111, allocations: 310.4 kB / 1.135 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/2.129, allocations: 9.758 MB / 1.144 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/2.132, allocations: 2.543 MB / 1.147 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002244/2.134, allocations: 296.7 kB / 1.147 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/2.136, allocations: 199.4 kB / 1.147 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/2.136, allocations: 0 / 1.147 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of Templates: time 0.3847/2.52, allocations: 78.79 MB / 1.224 GB, free: 142.6 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)