Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.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.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006216/0.006216, allocations: 169.1 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.514/1.514, 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.001021/0.001021, allocations: 98.86 kB / 269.6 MB, free: 13.34 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.08047/0.08047, allocations: 12.59 MB / 330.4 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4482/0.4482, allocations: 78.51 MB / 460 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005004, allocations: 18.25 kB / 0.5285 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1361, allocations: 69.33 MB / 0.5962 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4389/0.575, allocations: 106.8 MB / 0.7004 GB, free: 100.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5753, allocations: 76.42 kB / 0.7005 GB, free: 100.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.319/0.8943, allocations: 135.8 MB / 0.8331 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8944, allocations: 4 kB / 0.8331 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006706/0.8951, allocations: 111.9 kB / 0.8332 GB, free: 6.297 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.02882/0.9239, allocations: 8.001 MB / 0.841 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.924, allocations: 11.98 kB / 0.841 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/0.9403, allocations: 2.408 MB / 0.8434 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.9515, allocations: 3.39 MB / 0.8467 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/0.9526, allocations: 0.9729 MB / 0.8476 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.9544, allocations: 371.7 kB / 0.848 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.967, allocations: 5.085 MB / 0.853 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/0.967, allocations: 4 kB / 0.853 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004706/0.9676, allocations: 140 kB / 0.8531 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/0.9676, allocations: 84 kB / 0.8532 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.9788, allocations: 4.849 MB / 0.8579 GB, free: 12.59 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.04334/1.022, allocations: 17.61 MB / 0.8751 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.044, allocations: 11 MB / 0.8859 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008445/1.045, allocations: 68.23 kB / 0.8859 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008951/1.054, allocations: 3.926 MB / 0.8898 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=476): time 7.264e-06/1.054, allocations: 0 / 0.8898 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=476): time 0.07007/1.124, allocations: 23.23 MB / 0.9124 GB, free: 3.344 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/1.124, allocations: 368.1 kB / 0.9128 GB, free: 2.91 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.359/1.483, allocations: 4.03 MB / 0.9167 GB, free: 106 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00161/1.485, allocations: 110.2 kB / 0.9168 GB, free: 106 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002444/1.487, allocations: 2.193 MB / 0.919 GB, free: 105.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003248/1.491, allocations: 1.655 MB / 0.9206 GB, free: 105.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/1.491, allocations: 96.09 kB / 0.9207 GB, free: 105.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003369/1.491, allocations: 485 kB / 0.9211 GB, free: 104.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00615/1.498, allocations: 2.966 MB / 0.924 GB, free: 104.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007333/1.505, allocations: 3.409 MB / 0.9274 GB, free: 104.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008025/1.513, allocations: 3.478 MB / 0.9308 GB, free: 104 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/1.513, allocations: 2.25 kB / 0.9308 GB, free: 104 MB / 0.573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05844/1.572, allocations: 19.28 MB / 0.9496 GB, free: 103 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.572, allocations: 281.4 kB / 0.9499 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.572, allocations: 7.344 kB / 0.9499 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03599/1.608, allocations: 14.05 MB / 0.9636 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/1.613, allocations: 0.7453 MB / 0.9643 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1004/1.713, allocations: 44.08 MB / 1.007 GB, free: 85.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009144/1.722, allocations: 0.7905 MB / 1.008 GB, free: 84.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.724, allocations: 166.3 kB / 1.008 GB, free: 84.61 MB / 0.573 GB Warning: Assuming fixed start value for the following 11 variables: groupBus1_1.Syn1.e2d:VARIABLE(start = groupBus1_1.Syn1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e2q:VARIABLE(start = groupBus1_1.Syn1.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e1q:VARIABLE(start = groupBus1_1.Syn1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real groupBus1_1.Syn1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus1_1.Syn1.delta:VARIABLE(start = groupBus1_1.Syn1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real groupBus8_1.Syn4.e2d:VARIABLE(start = groupBus8_1.Syn4.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real groupBus8_1.Syn4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus8_1.Syn4.delta:VARIABLE(start = groupBus8_1.Syn4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real groupBus6_1.Syn5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus3_1.Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus2_1.Syn3.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: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 10 * 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 {94 113} Notification: Performance of prepare postOptimizeDAE: time 0.003354/1.727, allocations: 0.9597 MB / 1.009 GB, free: 83.69 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.729, allocations: 0.5594 MB / 1.01 GB, free: 83.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05331/1.782, allocations: 19.69 MB / 1.029 GB, free: 67.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/1.782, allocations: 54.72 kB / 1.029 GB, free: 67.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.782, allocations: 2.625 kB / 1.029 GB, free: 67.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/1.782, allocations: 29.22 kB / 1.029 GB, free: 67.78 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.06593/1.848, allocations: 29.08 MB / 1.057 GB, free: 44.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.848, allocations: 4.156 kB / 1.057 GB, free: 44.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/1.851, allocations: 403.1 kB / 1.058 GB, free: 44.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03004/1.881, allocations: 11.47 MB / 1.069 GB, free: 35.08 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001584/1.883, allocations: 114.8 kB / 1.069 GB, free: 34.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09866/1.982, allocations: 45.99 MB / 1.114 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.982, allocations: 7.844 kB / 1.114 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06895/2.051, allocations: 24.14 MB / 1.138 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/2.053, allocations: 0.7837 MB / 1.138 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002166/2.056, allocations: 92 kB / 1.139 GB, free: 6.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006076/2.062, allocations: 0.5503 MB / 1.139 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003563/2.065, allocations: 0.8245 MB / 1.14 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005881/2.066, allocations: 124 kB / 1.14 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.006092/2.072, allocations: 3.108 MB / 1.143 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.01e-07/2.072, allocations: 3 kB / 1.143 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.319/2.391, allocations: 2.056 MB / 1.145 GB, free: 128.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (groupBus2_1.aVR1TypeII1.ExcitationSystem.x_scaled[1],groupBus2_1.aVR1TypeII1.derivativeBlock.x,groupBus2_1.aVR1TypeII1.firstOrder2.y,groupBus2_1.aVR1TypeII1.simpleLagLim.state,groupBus2_1.Syn3.delta,groupBus2_1.Syn3.w,groupBus2_1.Syn3.e1q,groupBus2_1.Syn3.e1d,groupBus2_1.Syn3.e2q,groupBus2_1.Syn3.e2d,groupBus3_1.aVR2TypeII2.ExcitationSystem.x_scaled[1],groupBus3_1.aVR2TypeII2.derivativeBlock.x,groupBus3_1.aVR2TypeII2.firstOrder2.y,groupBus3_1.aVR2TypeII2.simpleLagLim.state,groupBus3_1.Syn2.delta,groupBus3_1.Syn2.w,groupBus3_1.Syn2.e1q,groupBus3_1.Syn2.e1d,groupBus3_1.Syn2.e2q,groupBus3_1.Syn2.e2d,groupBus6_1.aVR4TypeII1.ExcitationSystem.x_scaled[1],groupBus6_1.aVR4TypeII1.derivativeBlock.x,groupBus6_1.aVR4TypeII1.firstOrder2.y,groupBus6_1.aVR4TypeII1.simpleLagLim.state,groupBus6_1.Syn5.delta,groupBus6_1.Syn5.w,groupBus6_1.Syn5.e1q,groupBus6_1.Syn5.e1d,groupBus6_1.Syn5.e2q,groupBus6_1.Syn5.e2d,groupBus8_1.aVR3TypeII2.ExcitationSystem.x_scaled[1],groupBus8_1.aVR3TypeII2.derivativeBlock.x,groupBus8_1.aVR3TypeII2.firstOrder2.y,groupBus8_1.aVR3TypeII2.simpleLagLim.state,groupBus8_1.Syn4.delta,groupBus8_1.Syn4.w,groupBus8_1.Syn4.e1q,groupBus8_1.Syn4.e1d,groupBus8_1.Syn4.e2q,groupBus8_1.Syn4.e2d,groupBus1_1.AVR1.ExcitationSystem.x_scaled[1],groupBus1_1.AVR1.derivativeBlock.x,groupBus1_1.AVR1.firstOrder2.y,groupBus1_1.AVR1.simpleLagLim.state,groupBus1_1.Syn1.delta,groupBus1_1.Syn1.w,groupBus1_1.Syn1.e1q,groupBus1_1.Syn1.e2q,groupBus1_1.Syn1.e2d) * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {110 94,1 6,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002018/2.393, allocations: 262.6 kB / 1.145 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03011/2.423, allocations: 11.27 MB / 1.156 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.423, allocations: 1.219 kB / 1.156 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02283/2.446, allocations: 8.363 MB / 1.164 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005608/2.452, allocations: 474.5 kB / 1.165 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/2.478, allocations: 13.34 MB / 1.178 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/2.48, allocations: 2.963 MB / 1.181 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002384/2.483, allocations: 381.6 kB / 1.181 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.484, allocations: 235.8 kB / 1.181 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/2.484, allocations: 0 / 1.181 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.1522/2.636, allocations: 110 MB / 1.289 GB, free: 71.25 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)