Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009203/0.0009203, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008345/0.0008345, allocations: 95.12 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4451/0.4451, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.167e-05/1.188e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 69.35 MB / 0.5413 GB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4818, allocations: 104.4 MB / 0.6432 GB, free: 11.12 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4821, allocations: 67.97 kB / 0.6433 GB, free: 11.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6366/1.119, allocations: 137.6 MB / 0.7777 GB, free: 87.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.204e-06/1.119, allocations: 0 / 0.7777 GB, free: 87.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006996/1.119, allocations: 111.6 kB / 0.7778 GB, free: 87.24 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.02048/1.14, allocations: 6.564 MB / 0.7842 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.14, allocations: 8.719 kB / 0.7842 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.156, allocations: 2.378 MB / 0.7866 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009803/1.165, allocations: 3.243 MB / 0.7897 GB, free: 83.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/1.166, allocations: 0.8464 MB / 0.7905 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/1.168, allocations: 227 kB / 0.7908 GB, free: 83.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009728/1.178, allocations: 3.926 MB / 0.7946 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/1.189, allocations: 3.897 MB / 0.7984 GB, free: 83.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.849e-05/1.189, allocations: 0 / 0.7984 GB, free: 83.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/1.189, allocations: 8.422 kB / 0.7984 GB, free: 83.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/1.189, allocations: 83.41 kB / 0.7985 GB, free: 83.06 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.03379/1.223, allocations: 17.02 MB / 0.8151 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/1.241, allocations: 10.05 MB / 0.8249 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00436/1.245, allocations: 2.785 MB / 0.8276 GB, free: 75.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/1.246, allocations: 67.44 kB / 0.8277 GB, free: 75.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004721/1.251, allocations: 3.094 MB / 0.8307 GB, free: 75.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=476): time 6.482e-06/1.251, allocations: 0 / 0.8307 GB, free: 75.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=476): time 0.04636/1.297, allocations: 16.62 MB / 0.847 GB, free: 73.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.297, allocations: 370.1 kB / 0.8473 GB, free: 73.37 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/1.303, allocations: 3.566 MB / 0.8508 GB, free: 71.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/1.304, allocations: 25.7 kB / 0.8508 GB, free: 71.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.305, allocations: 2.178 MB / 0.853 GB, free: 70.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/1.307, allocations: 1.588 MB / 0.8545 GB, free: 68.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/1.308, allocations: 3.062 kB / 0.8545 GB, free: 68.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.308, allocations: 486 kB / 0.855 GB, free: 68.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/1.311, allocations: 2.183 MB / 0.8571 GB, free: 67.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/1.314, allocations: 2.612 MB / 0.8597 GB, free: 66.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/1.318, allocations: 2.441 MB / 0.862 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.318, allocations: 1.312 kB / 0.862 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04501/1.363, allocations: 16.56 MB / 0.8782 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.363, allocations: 292.1 kB / 0.8785 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.363, allocations: 5.281 kB / 0.8785 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0278/1.391, allocations: 9.135 MB / 0.8874 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.395, allocations: 0.7465 MB / 0.8881 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06291/1.458, allocations: 33.47 MB / 0.9208 GB, free: 27.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007398/1.465, allocations: 0.6935 MB / 0.9215 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.466, allocations: 162.3 kB / 0.9217 GB, free: 26.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 11 variables: groupBus1_1.Syn1.e2d:VARIABLE(start = groupBus1_1.Syn1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e2q:VARIABLE(start = groupBus1_1.Syn1.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e1q:VARIABLE(start = groupBus1_1.Syn1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real groupBus1_1.Syn1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus1_1.Syn1.delta:VARIABLE(start = groupBus1_1.Syn1.delta0 unit = "rad" ) "Rotor angle" type: Real groupBus8_1.Syn4.e2d:VARIABLE(start = groupBus8_1.Syn4.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real groupBus8_1.Syn4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus8_1.Syn4.delta:VARIABLE(start = groupBus8_1.Syn4.delta0 unit = "rad" ) "Rotor angle" type: Real groupBus6_1.Syn5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus3_1.Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus2_1.Syn3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: lPQ3.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ2.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ4.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ9.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ5.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ12.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" 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 () * 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 {98 109} Notification: Performance of prepare postOptimizeDAE: time 0.001067/1.467, allocations: 338.5 kB / 0.922 GB, free: 26.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.469, allocations: 0.5556 MB / 0.9225 GB, free: 25.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04484/1.514, allocations: 17.11 MB / 0.9392 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/1.514, allocations: 49.41 kB / 0.9393 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.514, allocations: 0 / 0.9393 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001434/1.514, allocations: 28.84 kB / 0.9393 GB, free: 12.48 MB / 0.5573 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.06045/1.575, allocations: 26.11 MB / 0.9648 GB, free: 7.664 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.575, allocations: 3.953 kB / 0.9648 GB, free: 7.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/1.578, allocations: 403.4 kB / 0.9652 GB, free: 7.309 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02883/1.607, allocations: 10.1 MB / 0.9751 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001152/1.608, allocations: 43.88 kB / 0.9751 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.337/1.945, allocations: 35.71 MB / 1.01 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.945, allocations: 2.875 kB / 1.01 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05656/2.001, allocations: 20.72 MB / 1.03 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003017/2.004, allocations: 0.7754 MB / 1.031 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002235/2.007, allocations: 21.66 kB / 1.031 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006061/2.013, allocations: 484.2 kB / 1.031 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00357/2.016, allocations: 0.8262 MB / 1.032 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006726/2.017, allocations: 128.2 kB / 1.032 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004837/2.022, allocations: 2.648 MB / 1.035 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.61e-07/2.022, allocations: 0 / 1.035 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007864/2.03, allocations: 1.841 MB / 1.037 GB, free: 105.2 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 () * 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.0009423/2.031, allocations: 196.4 kB / 1.037 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02099/2.052, allocations: 9.51 MB / 1.046 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/2.052, allocations: 4.688 kB / 1.046 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01913/2.071, allocations: 7.312 MB / 1.053 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005419/2.076, allocations: 387 kB / 1.054 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/2.096, allocations: 8.911 MB / 1.062 GB, free: 99.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/2.098, allocations: 2.959 MB / 1.065 GB, free: 98.76 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00222/2.1, allocations: 383.7 kB / 1.066 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/2.101, allocations: 234.5 kB / 1.066 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of SimCode: time 6.82e-07/2.101, allocations: 0 / 1.066 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.1329/2.234, allocations: 102.2 MB / 1.166 GB, free: 45.85 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (rm -f OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)