Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_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.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005509/0.005508, allocations: 170.8 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.32/1.32, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008975/0.0008976, allocations: 91.59 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4656/0.4656, allocations: 78.58 MB / 419.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004017, allocations: 12 kB / 499.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4203, allocations: 69.35 MB / 0.5558 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5507, allocations: 102.3 MB / 0.6557 GB, free: 4.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.551, allocations: 83.89 kB / 0.6558 GB, free: 4.094 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1962/0.7472, allocations: 71.36 MB / 0.7255 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.569e-06/0.7472, allocations: 4 kB / 0.7255 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003998/0.7477, allocations: 52 kB / 0.7255 GB, free: 12.17 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01416/0.7618, allocations: 4.039 MB / 0.7295 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7619, allocations: 12.03 kB / 0.7295 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007867/0.7698, allocations: 1.194 MB / 0.7306 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006477/0.7763, allocations: 1.823 MB / 0.7324 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000651/0.777, allocations: 468.6 kB / 0.7329 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009898/0.778, allocations: 187.9 kB / 0.733 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007957/0.786, allocations: 2.458 MB / 0.7354 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/0.7861, allocations: 0 / 0.7354 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006173/0.7867, allocations: 76 kB / 0.7355 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-05/0.7868, allocations: 47.95 kB / 0.7356 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.7927, allocations: 2.306 MB / 0.7378 GB, free: 15.32 MB / 0.5417 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.02045/0.8132, allocations: 8.906 MB / 0.7465 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.8244, allocations: 4.929 MB / 0.7513 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.8249, allocations: 37.98 kB / 0.7514 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004261/0.8292, allocations: 1.852 MB / 0.7532 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=236): time 4.518e-06/0.8292, allocations: 0 / 0.7532 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=236): time 0.4374/1.267, allocations: 18.54 MB / 0.7713 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.267, allocations: 240.9 kB / 0.7715 GB, free: 119 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005787/1.273, allocations: 2.14 MB / 0.7736 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.274, allocations: 66.73 kB / 0.7737 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.275, allocations: 1.148 MB / 0.7748 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/1.276, allocations: 0.8196 MB / 0.7756 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/1.276, allocations: 50 kB / 0.7756 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.277, allocations: 397.2 kB / 0.776 GB, free: 118 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/1.279, allocations: 1.362 MB / 0.7773 GB, free: 118 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/1.282, allocations: 1.627 MB / 0.7789 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.285, allocations: 1.646 MB / 0.7805 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.285, allocations: 3 kB / 0.7805 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02101/1.306, allocations: 7.66 MB / 0.788 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.306, allocations: 170.8 kB / 0.7882 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.307, allocations: 5.25 kB / 0.7882 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/1.318, allocations: 3.33 MB / 0.7914 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.321, allocations: 462.3 kB / 0.7919 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03752/1.359, allocations: 20.03 MB / 0.8114 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.363, allocations: 413.4 kB / 0.8118 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006573/1.364, allocations: 84.17 kB / 0.8119 GB, free: 109.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($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 (237): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00181/1.366, allocations: 0.584 MB / 0.8125 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.367, allocations: 311.3 kB / 0.8128 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02758/1.395, allocations: 8.477 MB / 0.8211 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.395, allocations: 22.88 kB / 0.8211 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.395, allocations: 4.656 kB / 0.8211 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.966e-05/1.395, allocations: 15.09 kB / 0.8211 GB, free: 107.6 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 postOpt removeSimpleEquations (simulation): time 0.03142/1.426, allocations: 12.43 MB / 0.8332 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.427, allocations: 1.25 kB / 0.8332 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.428, allocations: 231.3 kB / 0.8335 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/1.44, allocations: 3.815 MB / 0.8372 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007263/1.441, allocations: 56.22 kB / 0.8372 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0398/1.48, allocations: 21.22 MB / 0.858 GB, free: 91.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.481, allocations: 2.781 kB / 0.858 GB, free: 91.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02669/1.507, allocations: 10.46 MB / 0.8682 GB, free: 87.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.509, allocations: 445.7 kB / 0.8686 GB, free: 87.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008174/1.509, allocations: 51.95 kB / 0.8687 GB, free: 87.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.512, allocations: 285 kB / 0.8689 GB, free: 86.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/1.513, allocations: 377 kB / 0.8693 GB, free: 86.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.514, allocations: 65.19 kB / 0.8693 GB, free: 86.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002727/1.516, allocations: 1.65 MB / 0.871 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.516, allocations: 0 / 0.871 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00357/1.52, allocations: 0.953 MB / 0.8719 GB, free: 84.28 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004412/1.52, allocations: 198.6 kB / 0.8721 GB, free: 84.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.532, allocations: 5.635 MB / 0.8776 GB, free: 78.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.532, allocations: 0 / 0.8776 GB, free: 78.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008565/1.54, allocations: 3.835 MB / 0.8813 GB, free: 75.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.543, allocations: 247.2 kB / 0.8816 GB, free: 75.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/1.552, allocations: 6.405 MB / 0.8878 GB, free: 69.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.554, allocations: 1.835 MB / 0.8896 GB, free: 67.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001358/1.555, allocations: 225.5 kB / 0.8898 GB, free: 67.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/1.555, allocations: 138.5 kB / 0.89 GB, free: 67.65 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/1.555, allocations: 0 / 0.89 GB, free: 67.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.07364/1.629, allocations: 47.99 MB / 0.9368 GB, free: 28.38 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)