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.001432/0.001432, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.44/1.44, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008616/0.000862, allocations: 99.55 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4359/0.4359, allocations: 78.12 MB / 409.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.41e-05, allocations: 7.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 69.36 MB / 0.5413 GB, free: 6.965 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4664, allocations: 104.4 MB / 0.6433 GB, free: 11.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.4666, allocations: 74.03 kB / 0.6433 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6001/1.067, allocations: 137.6 MB / 0.7778 GB, free: 87.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/1.067, allocations: 0 / 0.7778 GB, free: 87.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003861/1.067, allocations: 105.5 kB / 0.7779 GB, free: 87.75 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.01788/1.085, allocations: 6.568 MB / 0.7843 GB, free: 85.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.085, allocations: 10.09 kB / 0.7843 GB, free: 85.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/1.1, allocations: 2.379 MB / 0.7866 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008982/1.109, allocations: 3.241 MB / 0.7898 GB, free: 84.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/1.11, allocations: 0.8465 MB / 0.7906 GB, free: 83.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/1.112, allocations: 226 kB / 0.7908 GB, free: 83.78 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009664/1.121, allocations: 3.93 MB / 0.7946 GB, free: 83.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/1.133, allocations: 3.891 MB / 0.7984 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-05/1.133, allocations: 5.484 kB / 0.7984 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004436/1.133, allocations: 6.219 kB / 0.7985 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/1.133, allocations: 84.16 kB / 0.7985 GB, free: 83.57 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.03146/1.165, allocations: 17.02 MB / 0.8152 GB, free: 79.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/1.182, allocations: 10.05 MB / 0.825 GB, free: 76.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003989/1.186, allocations: 2.78 MB / 0.8277 GB, free: 76 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/1.186, allocations: 68.86 kB / 0.8277 GB, free: 75.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004244/1.19, allocations: 3.097 MB / 0.8308 GB, free: 75.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=476): time 6.111e-06/1.19, allocations: 1.094 kB / 0.8308 GB, free: 75.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=476): time 0.04685/1.237, allocations: 16.62 MB / 0.847 GB, free: 74.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/1.237, allocations: 366.6 kB / 0.8474 GB, free: 73.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005081/1.242, allocations: 3.567 MB / 0.8508 GB, free: 72.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001079/1.244, allocations: 33.42 kB / 0.8509 GB, free: 72.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.245, allocations: 2.174 MB / 0.853 GB, free: 70.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001713/1.247, allocations: 1.598 MB / 0.8545 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/1.247, allocations: 0 / 0.8545 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.247, allocations: 485.3 kB / 0.855 GB, free: 68.97 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/1.25, allocations: 2.187 MB / 0.8571 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003249/1.253, allocations: 2.606 MB / 0.8597 GB, free: 66.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/1.257, allocations: 2.439 MB / 0.8621 GB, free: 65.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.257, allocations: 0 / 0.8621 GB, free: 65.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.0446/1.301, allocations: 16.57 MB / 0.8783 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.302, allocations: 283.9 kB / 0.8785 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.302, allocations: 8.688 kB / 0.8785 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02853/1.33, allocations: 9.141 MB / 0.8875 GB, free: 58.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.334, allocations: 0.7417 MB / 0.8882 GB, free: 57.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06119/1.396, allocations: 33.46 MB / 0.9209 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006609/1.402, allocations: 0.6965 MB / 0.9215 GB, free: 27.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006838/1.403, allocations: 163.2 kB / 0.9217 GB, free: 27.18 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.0009539/1.404, allocations: 352 kB / 0.922 GB, free: 26.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.405, allocations: 0.5547 MB / 0.9226 GB, free: 26.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04533/1.45, allocations: 17.1 MB / 0.9393 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.567e-05/1.451, allocations: 48 kB / 0.9393 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.451, allocations: 0 / 0.9393 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/1.451, allocations: 29.45 kB / 0.9393 GB, free: 12.98 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.05684/1.508, allocations: 26.1 MB / 0.9648 GB, free: 8.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.508, allocations: 4.703 kB / 0.9648 GB, free: 8.156 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/1.51, allocations: 409.2 kB / 0.9652 GB, free: 7.801 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02889/1.539, allocations: 10.1 MB / 0.9751 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001137/1.541, allocations: 43.78 kB / 0.9751 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3418/1.882, allocations: 35.94 MB / 1.01 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.882, allocations: 0 / 1.01 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05591/1.938, allocations: 20.72 MB / 1.03 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.94, allocations: 0.7751 MB / 1.031 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/1.942, allocations: 22.19 kB / 1.031 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006113/1.948, allocations: 489.1 kB / 1.032 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00335/1.952, allocations: 0.8199 MB / 1.033 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004922/1.952, allocations: 127.5 kB / 1.033 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004359/1.957, allocations: 2.646 MB / 1.035 GB, free: 106 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/1.957, allocations: 2.516 kB / 1.035 GB, free: 106 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007211/1.964, allocations: 1.847 MB / 1.037 GB, free: 105.9 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.0007713/1.965, allocations: 196.3 kB / 1.037 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02143/1.986, allocations: 9.513 MB / 1.047 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.986, allocations: 3.969 kB / 1.047 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01872/2.005, allocations: 7.32 MB / 1.054 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/2.009, allocations: 373.5 kB / 1.054 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/2.024, allocations: 8.911 MB / 1.063 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/2.026, allocations: 2.956 MB / 1.066 GB, free: 99.44 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001848/2.027, allocations: 387 kB / 1.066 GB, free: 99.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/2.028, allocations: 234.7 kB / 1.066 GB, free: 99.39 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/2.028, allocations: 4.844 kB / 1.066 GB, free: 99.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.1238/2.152, allocations: 102.2 MB / 1.166 GB, free: 46.45 MB / 0.5886 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)