Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008764/0.008764, allocations: 168.7 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.382/1.382, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.000963/0.0009629, allocations: 90.8 kB / 269.6 MB, free: 13.36 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.07981/0.07981, allocations: 12.59 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4502/0.4502, allocations: 78.51 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004988, allocations: 19.41 kB / 0.5285 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.6049, allocations: 102.7 MB / 0.6965 GB, free: 35.89 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.6052, allocations: 84.8 kB / 0.6965 GB, free: 35.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2208/0.826, allocations: 95.83 MB / 0.7901 GB, free: 4.316 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.826, allocations: 4 kB / 0.7901 GB, free: 4.312 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002238/0.8262, allocations: 91.94 kB / 0.7902 GB, free: 4.223 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02037/0.8466, allocations: 6.536 MB / 0.7966 GB, free: 14.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8467, allocations: 11.98 kB / 0.7966 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.8649, allocations: 2.806 MB / 0.7993 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007722/0.8726, allocations: 2.295 MB / 0.8016 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/0.8738, allocations: 0.96 MB / 0.8025 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.8755, allocations: 340.6 kB / 0.8028 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.8881, allocations: 4.945 MB / 0.8077 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/0.8882, allocations: 0 / 0.8077 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.8886, allocations: 144 kB / 0.8078 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.8887, allocations: 84 kB / 0.8079 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.9001, allocations: 4.501 MB / 0.8123 GB, free: 15.25 MB / 0.4948 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.04456/0.9447, allocations: 18.62 MB / 0.8305 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/0.9598, allocations: 5.647 MB / 0.836 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.961, allocations: 74.88 kB / 0.8361 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.9611, allocations: 73.47 kB / 0.8361 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=379): time 9.357e-06/0.9612, allocations: 4 kB / 0.8361 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of matching and sorting (n=379): time 0.3022/1.263, allocations: 76.59 MB / 0.9109 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.264, allocations: 175.4 kB / 0.9111 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007044/1.271, allocations: 2.702 MB / 0.9137 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/1.272, allocations: 89.7 kB / 0.9138 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.274, allocations: 1.994 MB / 0.9158 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002783/1.277, allocations: 1.29 MB / 0.917 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.278, allocations: 75.94 kB / 0.9171 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004708/1.279, allocations: 441.5 kB / 0.9175 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.328/1.607, allocations: 2.652 MB / 0.9201 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006473/1.613, allocations: 3.231 MB / 0.9233 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/1.619, allocations: 2.896 MB / 0.9261 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.619, allocations: 4 kB / 0.9261 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.0599/1.679, allocations: 20.1 MB / 0.9457 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.00136/1.681, allocations: 6.682 MB / 0.9522 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.681, allocations: 16.56 kB / 0.9523 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02528/1.706, allocations: 8.495 MB / 0.9606 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/1.709, allocations: 0.5433 MB / 0.9611 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07993/1.789, allocations: 36.88 MB / 0.9971 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006417/1.795, allocations: 0.6884 MB / 0.9978 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007746/1.796, allocations: 131.6 kB / 0.9979 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.796, allocations: 8 kB / 0.9979 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05278/1.849, allocations: 19.66 MB / 1.017 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/1.849, allocations: 16 kB / 1.017 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.026/1.875, allocations: 8.502 MB / 1.025 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.878, allocations: 0.5368 MB / 1.026 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0836/1.962, allocations: 36.85 MB / 1.062 GB, free: 69.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/1.969, allocations: 0.653 MB / 1.063 GB, free: 68.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008454/1.969, allocations: 131.4 kB / 1.063 GB, free: 68.87 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.00254/1.972, allocations: 0.7228 MB / 1.063 GB, free: 68.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.973, allocations: 458.3 kB / 1.064 GB, free: 67.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0523/2.026, allocations: 20.43 MB / 1.084 GB, free: 51.94 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/2.026, allocations: 40 kB / 1.084 GB, free: 51.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-05/2.026, allocations: 31.05 kB / 1.084 GB, free: 51.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.026, allocations: 19.12 kB / 1.084 GB, free: 51.87 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.0623/2.088, allocations: 25.67 MB / 1.109 GB, free: 27.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/2.088, allocations: 0 / 1.109 GB, free: 27.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/2.091, allocations: 407.5 kB / 1.109 GB, free: 27.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02436/2.115, allocations: 8.55 MB / 1.118 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001188/2.117, allocations: 71.98 kB / 1.118 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07993/2.197, allocations: 32.25 MB / 1.149 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.197, allocations: 0 / 1.149 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4278/2.624, allocations: 24.06 MB / 1.173 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/2.626, allocations: 0.5538 MB / 1.173 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/2.628, allocations: 66.53 kB / 1.173 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005045/2.633, allocations: 488.4 kB / 1.174 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003218/2.636, allocations: 0.7726 MB / 1.175 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005405/2.637, allocations: 93.39 kB / 1.175 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003325/2.64, allocations: 2.072 MB / 1.177 GB, free: 143 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/2.64, allocations: 1.5 kB / 1.177 GB, free: 143 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01095/2.651, allocations: 2.861 MB / 1.179 GB, free: 142.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009876/2.652, allocations: 213.9 kB / 1.18 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04542/2.698, allocations: 16.91 MB / 1.196 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/2.698, allocations: 0 / 1.196 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02161/2.719, allocations: 6.896 MB / 1.203 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005043/2.724, allocations: 315.2 kB / 1.203 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/2.746, allocations: 9.639 MB / 1.213 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/2.748, allocations: 2.585 MB / 1.215 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002201/2.751, allocations: 358.3 kB / 1.216 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008113/2.752, allocations: 197.7 kB / 1.216 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.315e-06/2.752, allocations: 7.781 kB / 1.216 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.1457/2.897, allocations: 105.7 MB / 1.319 GB, free: 58.46 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)