Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004377/0.004377, allocations: 169.9 kB / 15.11 MB, free: 5.984 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.168/1.168, allocations: 223.2 MB / 239 MB, free: 36 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000853/0.0008531, allocations: 102.8 kB / 290.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4062/0.4062, allocations: 79.43 MB / 420.8 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 8 kB / 0.489 GB, free: 6.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1053, allocations: 69.51 MB / 0.5569 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/0.3989, allocations: 105.8 MB / 0.6602 GB, free: 11.38 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3991, allocations: 77.05 kB / 0.6603 GB, free: 11.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.548/0.9472, allocations: 140.5 MB / 0.7976 GB, free: 84.58 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9473, allocations: 2.031 kB / 0.7976 GB, free: 84.58 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006437/0.9479, allocations: 110.6 kB / 0.7977 GB, free: 84.57 MB / 0.573 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.02398/0.9719, allocations: 8.006 MB / 0.8055 GB, free: 82.06 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.972, allocations: 9.25 kB / 0.8055 GB, free: 82.06 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.9859, allocations: 2.406 MB / 0.8079 GB, free: 81.71 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008814/0.9947, allocations: 3.396 MB / 0.8112 GB, free: 80.94 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000873/0.9956, allocations: 0.9769 MB / 0.8121 GB, free: 80.24 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.997, allocations: 369.4 kB / 0.8125 GB, free: 80.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/1.009, allocations: 5.086 MB / 0.8174 GB, free: 80.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/1.009, allocations: 0 / 0.8174 GB, free: 80.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/1.009, allocations: 145.6 kB / 0.8176 GB, free: 80.03 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/1.009, allocations: 84.12 kB / 0.8177 GB, free: 80.03 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/1.017, allocations: 4.843 MB / 0.8224 GB, free: 80 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 preOpt removeSimpleEquations (simulation): time 0.02519/1.042, allocations: 17.61 MB / 0.8396 GB, free: 76.27 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/1.063, allocations: 11 MB / 0.8503 GB, free: 72.47 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/1.063, allocations: 70.42 kB / 0.8504 GB, free: 72.47 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007677/1.071, allocations: 3.918 MB / 0.8542 GB, free: 72.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=476): time 6.682e-06/1.071, allocations: 0 / 0.8542 GB, free: 72.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=476): time 0.06216/1.133, allocations: 23.23 MB / 0.8769 GB, free: 70.28 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.133, allocations: 366.5 kB / 0.8773 GB, free: 69.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/1.139, allocations: 4.043 MB / 0.8812 GB, free: 68.59 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/1.141, allocations: 107.5 kB / 0.8813 GB, free: 68.49 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.142, allocations: 2.199 MB / 0.8835 GB, free: 66.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.143, allocations: 1.651 MB / 0.8851 GB, free: 65.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/1.144, allocations: 99.31 kB / 0.8852 GB, free: 65.38 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.144, allocations: 483.5 kB / 0.8856 GB, free: 65 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004884/1.149, allocations: 2.963 MB / 0.8885 GB, free: 63.89 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/1.154, allocations: 3.412 MB / 0.8918 GB, free: 62.41 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005131/1.159, allocations: 3.485 MB / 0.8953 GB, free: 60.59 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.159, allocations: 0 / 0.8953 GB, free: 60.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04912/1.208, allocations: 19.27 MB / 0.9141 GB, free: 55.85 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.208, allocations: 288.5 kB / 0.9143 GB, free: 55.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.208, allocations: 7.156 kB / 0.9144 GB, free: 55.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03347/1.242, allocations: 14.05 MB / 0.9281 GB, free: 51.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/1.246, allocations: 0.7461 MB / 0.9288 GB, free: 51.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08239/1.328, allocations: 44.07 MB / 0.9718 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/1.335, allocations: 0.8043 MB / 0.9726 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005671/1.336, allocations: 162.9 kB / 0.9728 GB, free: 12.28 MB / 0.573 GB Warning: Assuming fixed start value for the following 11 variables: gen1.Syn1.e2d:VARIABLE(start = gen1.Syn1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real gen1.Syn1.e2q:VARIABLE(start = gen1.Syn1.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real gen1.Syn1.e1q:VARIABLE(start = gen1.Syn1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.Syn1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.Syn1.delta:VARIABLE(start = gen1.Syn1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen8.Syn4.e2d:VARIABLE(start = gen8.Syn4.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real gen8.Syn4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen8.Syn4.delta:VARIABLE(start = gen8.Syn4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen6.Syn5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.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.002091/1.338, allocations: 0.9561 MB / 0.9737 GB, free: 11.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009828/1.339, allocations: 0.5634 MB / 0.9743 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05262/1.392, allocations: 19.75 MB / 0.9936 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/1.392, allocations: 48 kB / 0.9936 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.392, allocations: 5 kB / 0.9936 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-05/1.392, allocations: 24.47 kB / 0.9936 GB, free: 11.48 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.06337/1.455, allocations: 29.12 MB / 1.022 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/1.455, allocations: 10.62 kB / 1.022 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.458, allocations: 403.1 kB / 1.022 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2584/1.716, allocations: 12.27 MB / 1.034 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/1.718, allocations: 109.2 kB / 1.035 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08664/1.804, allocations: 45.36 MB / 1.079 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.804, allocations: 4.906 kB / 1.079 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06272/1.867, allocations: 23.97 MB / 1.102 GB, free: 93.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.869, allocations: 0.7867 MB / 1.103 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/1.871, allocations: 99.44 kB / 1.103 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005425/1.876, allocations: 0.5551 MB / 1.104 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003109/1.879, allocations: 0.8199 MB / 1.104 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003961/1.88, allocations: 132.1 kB / 1.105 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00456/1.884, allocations: 3.107 MB / 1.108 GB, free: 93.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.41e-07/1.884, allocations: 0 / 1.108 GB, free: 93.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00651/1.891, allocations: 2.052 MB / 1.11 GB, free: 93.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (gen2.aVR1TypeII1.ExcitationSystem.x_scaled[1],gen2.aVR1TypeII1.derivativeBlock.x,gen2.aVR1TypeII1.firstOrder2.y,gen2.aVR1TypeII1.simpleLagLim.state,gen2.Syn3.delta,gen2.Syn3.w,gen2.Syn3.e1q,gen2.Syn3.e1d,gen2.Syn3.e2q,gen2.Syn3.e2d,gen3.aVR2TypeII2.ExcitationSystem.x_scaled[1],gen3.aVR2TypeII2.derivativeBlock.x,gen3.aVR2TypeII2.firstOrder2.y,gen3.aVR2TypeII2.simpleLagLim.state,gen3.Syn2.delta,gen3.Syn2.w,gen3.Syn2.e1q,gen3.Syn2.e1d,gen3.Syn2.e2q,gen3.Syn2.e2d,gen6.aVR4TypeII1.ExcitationSystem.x_scaled[1],gen6.aVR4TypeII1.derivativeBlock.x,gen6.aVR4TypeII1.firstOrder2.y,gen6.aVR4TypeII1.simpleLagLim.state,gen6.Syn5.delta,gen6.Syn5.w,gen6.Syn5.e1q,gen6.Syn5.e1d,gen6.Syn5.e2q,gen6.Syn5.e2d,gen8.aVR3TypeII2.ExcitationSystem.x_scaled[1],gen8.aVR3TypeII2.derivativeBlock.x,gen8.aVR3TypeII2.firstOrder2.y,gen8.aVR3TypeII2.simpleLagLim.state,gen8.Syn4.delta,gen8.Syn4.w,gen8.Syn4.e1q,gen8.Syn4.e1d,gen8.Syn4.e2q,gen8.Syn4.e2d,gen1.AVR1.ExcitationSystem.x_scaled[1],gen1.AVR1.derivativeBlock.x,gen1.AVR1.firstOrder2.y,gen1.AVR1.simpleLagLim.state,gen1.Syn1.delta,gen1.Syn1.w,gen1.Syn1.e1q,gen1.Syn1.e2q,gen1.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.0007203/1.892, allocations: 266 kB / 1.11 GB, free: 92.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02475/1.916, allocations: 11.27 MB / 1.121 GB, free: 89.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.916, allocations: 0 / 1.121 GB, free: 89.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01949/1.936, allocations: 8.362 MB / 1.129 GB, free: 86.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/1.94, allocations: 463 kB / 1.129 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.961, allocations: 13.34 MB / 1.143 GB, free: 78.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/1.963, allocations: 2.954 MB / 1.145 GB, free: 77.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002072/1.965, allocations: 383.5 kB / 1.146 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.966, allocations: 238.7 kB / 1.146 GB, free: 77.58 MB / 0.6042 GB Notification: Performance of SimCode: time 6.92e-07/1.966, allocations: 1.125 kB / 1.146 GB, free: 77.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.1285/2.095, allocations: 109.6 MB / 1.253 GB, free: 7.297 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)