Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008921/0.0008922, allocations: 87.06 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07144/0.07144, allocations: 12.59 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2829/0.2829, allocations: 78.05 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.3e-05/1.306e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 69.33 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.4783, allocations: 99.94 MB / 0.68 GB, free: 8.082 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.4785, allocations: 84.88 kB / 0.6801 GB, free: 8.035 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07933/0.5579, allocations: 30.09 MB / 0.7095 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5579, allocations: 4 kB / 0.7095 GB, free: 15.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001084/0.5581, allocations: 24 kB / 0.7095 GB, free: 15.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005034/0.5631, allocations: 1.736 MB / 0.7112 GB, free: 13.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5632, allocations: 8.031 kB / 0.7112 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.5668, allocations: 0.568 MB / 0.7118 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.5689, allocations: 0.8183 MB / 0.7126 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.5691, allocations: 201.5 kB / 0.7127 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.5695, allocations: 48 kB / 0.7128 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/0.5711, allocations: 0.814 MB / 0.7136 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5727, allocations: 0.8554 MB / 0.7144 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.5728, allocations: 0 / 0.7144 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.5729, allocations: 0 / 0.7144 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.5729, allocations: 20 kB / 0.7144 GB, free: 10.91 MB / 458.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.007362/0.5803, allocations: 3.819 MB / 0.7182 GB, free: 7.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007376/0.5877, allocations: 2.604 MB / 0.7207 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/0.5886, allocations: 0.528 MB / 0.7212 GB, free: 5.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.5888, allocations: 25.06 kB / 0.7213 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5888, allocations: 42.47 kB / 0.7213 GB, free: 5.133 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.5888, allocations: 4 kB / 0.7213 GB, free: 5.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01209/0.6009, allocations: 3.829 MB / 0.725 GB, free: 1.812 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.601, allocations: 145 kB / 0.7252 GB, free: 1.645 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.6024, allocations: 0.8582 MB / 0.726 GB, free: 1.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.6026, allocations: 25.7 kB / 0.726 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.603, allocations: 0.5108 MB / 0.7265 GB, free: 0.707 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.6034, allocations: 325.7 kB / 0.7268 GB, free: 432 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.6035, allocations: 0 / 0.7268 GB, free: 432 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6036, allocations: 349.9 kB / 0.7272 GB, free: 92 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.6043, allocations: 444.8 kB / 0.7276 GB, free: 15.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.6051, allocations: 0.5669 MB / 0.7282 GB, free: 15.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.6059, allocations: 498.2 kB / 0.7286 GB, free: 15.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6059, allocations: 0 / 0.7286 GB, free: 15.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01214/0.6181, allocations: 4.037 MB / 0.7326 GB, free: 11.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005559/0.6186, allocations: 1.207 MB / 0.7338 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6187, allocations: 4 kB / 0.7338 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/0.6243, allocations: 1.533 MB / 0.7353 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.6252, allocations: 166.2 kB / 0.7354 GB, free: 8.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.6395, allocations: 7.711 MB / 0.7429 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.6412, allocations: 171.2 kB / 0.7431 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.6414, allocations: 39.98 kB / 0.7431 GB, free: 1.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6414, allocations: 4 kB / 0.7432 GB, free: 1.566 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01215/0.6536, allocations: 3.876 MB / 0.7469 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.6537, allocations: 4 kB / 0.7469 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00564/0.6593, allocations: 1.528 MB / 0.7484 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.6602, allocations: 147.8 kB / 0.7486 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.6749, allocations: 7.719 MB / 0.7561 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.6767, allocations: 171.3 kB / 0.7563 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.677, allocations: 35.98 kB / 0.7563 GB, free: 3.836 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005189/0.6775, allocations: 162.9 kB / 0.7565 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.678, allocations: 126.4 kB / 0.7566 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.6898, allocations: 3.949 MB / 0.7604 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.6899, allocations: 8 kB / 0.7605 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.6899, allocations: 8 kB / 0.7605 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.6899, allocations: 3.984 kB / 0.7605 GB, free: 15.55 MB / 0.4948 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.01456/0.7045, allocations: 5.524 MB / 0.7659 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7046, allocations: 0 / 0.7659 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/0.7054, allocations: 123.8 kB / 0.766 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004511/0.71, allocations: 1.402 MB / 0.7673 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/0.7102, allocations: 8 kB / 0.7674 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.7214, allocations: 5.618 MB / 0.7728 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7215, allocations: 4 kB / 0.7728 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.7347, allocations: 4.706 MB / 0.7774 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.7353, allocations: 231.2 kB / 0.7777 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.7357, allocations: 4 kB / 0.7777 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.7372, allocations: 119.9 kB / 0.7778 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/0.7378, allocations: 185 kB / 0.778 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7379, allocations: 24 kB / 0.778 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001062/0.739, allocations: 0.6536 MB / 0.7786 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.739, allocations: 3.938 kB / 0.7786 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002278/0.7413, allocations: 0.6241 MB / 0.7792 GB, free: 12.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.7416, allocations: 143 kB / 0.7794 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009297/0.7509, allocations: 3.779 MB / 0.7831 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.751, allocations: 0.75 kB / 0.7831 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/0.7548, allocations: 1.431 MB / 0.7845 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7558, allocations: 100.5 kB / 0.7845 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.7598, allocations: 1.911 MB / 0.7864 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.7606, allocations: 1.17 MB / 0.7876 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009281/0.7615, allocations: 202.1 kB / 0.7877 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.7618, allocations: 55.44 kB / 0.7878 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.7618, allocations: 3.938 kB / 0.7878 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of Templates: time 0.03956/0.8013, allocations: 26.68 MB / 0.8139 GB, free: 8.391 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)