Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.006701/0.006702, allocations: 170.3 kB / 15.11 MB, free: 5.582 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.301/1.301, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008578, allocations: 111.3 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4826/0.4826, allocations: 78.58 MB / 419.9 MB, free: 44.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 12 kB / 499.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4326, allocations: 69.35 MB / 0.5558 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5796, allocations: 105.2 MB / 0.6585 GB, free: 1.352 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5798, allocations: 71.97 kB / 0.6585 GB, free: 1.281 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7363/1.316, allocations: 139.4 MB / 0.7946 GB, free: 91.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.064e-06/1.316, allocations: 0 / 0.7946 GB, free: 91.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0007204/1.317, allocations: 105.9 kB / 0.7947 GB, free: 91.2 MB / 0.5573 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.02988/1.347, allocations: 8.002 MB / 0.8025 GB, free: 88.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.347, allocations: 9.562 kB / 0.8026 GB, free: 88.37 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/1.364, allocations: 2.405 MB / 0.8049 GB, free: 88.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/1.377, allocations: 3.394 MB / 0.8082 GB, free: 87.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/1.379, allocations: 0.9729 MB / 0.8092 GB, free: 86.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/1.381, allocations: 366.5 kB / 0.8095 GB, free: 86.54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/1.398, allocations: 5.089 MB / 0.8145 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.589e-05/1.399, allocations: 0 / 0.8145 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005237/1.399, allocations: 148.3 kB / 0.8146 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.604e-05/1.399, allocations: 83.94 kB / 0.8147 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/1.412, allocations: 4.845 MB / 0.8194 GB, free: 86.23 MB / 0.5573 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.04485/1.457, allocations: 17.61 MB / 0.8366 GB, free: 81.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/1.478, allocations: 11.01 MB / 0.8474 GB, free: 75.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.479, allocations: 73.02 kB / 0.8475 GB, free: 75.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00986/1.489, allocations: 3.918 MB / 0.8513 GB, free: 74.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=476): time 1.133e-05/1.489, allocations: 4 kB / 0.8513 GB, free: 74.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=476): time 0.0693/1.558, allocations: 23.22 MB / 0.874 GB, free: 68.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.559, allocations: 369.2 kB / 0.8743 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007159/1.566, allocations: 4.039 MB / 0.8783 GB, free: 66.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001417/1.567, allocations: 107.1 kB / 0.8784 GB, free: 66.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.568, allocations: 2.202 MB / 0.8805 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00219/1.571, allocations: 1.647 MB / 0.8821 GB, free: 63.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/1.571, allocations: 97.91 kB / 0.8822 GB, free: 63.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.571, allocations: 486.6 kB / 0.8827 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005365/1.577, allocations: 2.964 MB / 0.8856 GB, free: 62.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005692/1.582, allocations: 3.414 MB / 0.8889 GB, free: 60.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/1.588, allocations: 3.478 MB / 0.8923 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.588, allocations: 3.625 kB / 0.8923 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05235/1.641, allocations: 19.27 MB / 0.9111 GB, free: 43.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/1.641, allocations: 276.8 kB / 0.9114 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.641, allocations: 9.484 kB / 0.9114 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03396/1.675, allocations: 14.05 MB / 0.9251 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.679, allocations: 0.7473 MB / 0.9258 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1004/1.78, allocations: 44.45 MB / 0.9693 GB, free: 9.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008342/1.788, allocations: 0.7928 MB / 0.97 GB, free: 8.363 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.79, allocations: 164 kB / 0.9702 GB, free: 8.203 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.003691/1.793, allocations: 0.9515 MB / 0.9711 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001993/1.795, allocations: 0.5633 MB / 0.9717 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05639/1.852, allocations: 19.7 MB / 0.9909 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/1.852, allocations: 48 kB / 0.991 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.852, allocations: 10.05 kB / 0.991 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001442/1.852, allocations: 23.91 kB / 0.991 GB, free: 2.797 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.3778/2.23, allocations: 29.07 MB / 1.019 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/2.23, allocations: 10.95 kB / 1.019 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/2.233, allocations: 405 kB / 1.02 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0337/2.267, allocations: 11.47 MB / 1.031 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001555/2.268, allocations: 109.7 kB / 1.031 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09118/2.359, allocations: 45.37 MB / 1.075 GB, free: 93.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/2.359, allocations: 11.84 kB / 1.075 GB, free: 93.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06062/2.42, allocations: 23.97 MB / 1.099 GB, free: 86.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/2.423, allocations: 0.7911 MB / 1.1 GB, free: 85.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/2.425, allocations: 97.94 kB / 1.1 GB, free: 85.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005887/2.431, allocations: 0.5478 MB / 1.1 GB, free: 85.76 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003463/2.434, allocations: 0.8263 MB / 1.101 GB, free: 85.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000616/2.435, allocations: 127.7 kB / 1.101 GB, free: 85.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005608/2.44, allocations: 3.103 MB / 1.104 GB, free: 84.47 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/2.44, allocations: 0 / 1.104 GB, free: 84.47 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009267/2.45, allocations: 2.054 MB / 1.106 GB, free: 84.22 MB / 0.5886 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.001409/2.451, allocations: 274.5 kB / 1.106 GB, free: 84.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02837/2.48, allocations: 11.26 MB / 1.117 GB, free: 75.17 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.48, allocations: 8 kB / 1.117 GB, free: 75.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02087/2.5, allocations: 8.354 MB / 1.126 GB, free: 67.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/2.505, allocations: 471.7 kB / 1.126 GB, free: 67.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/2.526, allocations: 13.34 MB / 1.139 GB, free: 55.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/2.528, allocations: 2.949 MB / 1.142 GB, free: 52.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002454/2.53, allocations: 387.2 kB / 1.142 GB, free: 52.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/2.531, allocations: 238.3 kB / 1.143 GB, free: 52.48 MB / 0.5886 GB Notification: Performance of SimCode: time 1.804e-06/2.531, allocations: 0 / 1.143 GB, free: 52.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.452/2.983, allocations: 110 MB / 1.25 GB, free: 120.5 MB / 0.6042 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)