Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_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.004476/0.004476, allocations: 170.4 kB / 15.11 MB, free: 5.969 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.184/1.184, allocations: 223.2 MB / 239 MB, free: 1.762 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.0008325/0.0008325, allocations: 101.6 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4093/0.4093, allocations: 78.51 MB / 419.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8 kB / 499.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 69.36 MB / 0.5557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3966, allocations: 102.3 MB / 0.6556 GB, free: 4.004 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.3969, allocations: 75.97 kB / 0.6557 GB, free: 3.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.168/0.5649, allocations: 71.37 MB / 0.7254 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5649, allocations: 0 / 0.7254 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001563/0.5651, allocations: 52 kB / 0.7255 GB, free: 12 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.00881/0.5739, allocations: 4.042 MB / 0.7294 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5739, allocations: 8.031 kB / 0.7294 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/0.5802, allocations: 1.194 MB / 0.7306 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.5835, allocations: 1.823 MB / 0.7324 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.5839, allocations: 472.6 kB / 0.7328 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.5842, allocations: 187.9 kB / 0.733 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.5883, allocations: 2.458 MB / 0.7354 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.5884, allocations: 0 / 0.7354 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.5886, allocations: 79.98 kB / 0.7355 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.5886, allocations: 43.95 kB / 0.7355 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.5926, allocations: 2.31 MB / 0.7378 GB, free: 15.13 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.0131/0.6057, allocations: 8.902 MB / 0.7465 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009549/0.6153, allocations: 4.926 MB / 0.7513 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.6155, allocations: 41.95 kB / 0.7513 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003008/0.6185, allocations: 1.846 MB / 0.7531 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=236): time 4.088e-06/0.6185, allocations: 0 / 0.7531 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=236): time 0.2878/0.9063, allocations: 18.54 MB / 0.7712 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.9064, allocations: 240.5 kB / 0.7715 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/0.9098, allocations: 2.139 MB / 0.7735 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004442/0.9103, allocations: 69.33 kB / 0.7736 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000649/0.9109, allocations: 1.147 MB / 0.7747 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/0.9116, allocations: 0.8172 MB / 0.7755 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.9117, allocations: 48.41 kB / 0.7756 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.9118, allocations: 393.1 kB / 0.7759 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.9142, allocations: 1.36 MB / 0.7773 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.9166, allocations: 1.629 MB / 0.7789 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.919, allocations: 1.642 MB / 0.7805 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.9191, allocations: 2.969 kB / 0.7805 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01782/0.9369, allocations: 7.67 MB / 0.788 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.937, allocations: 172.2 kB / 0.7881 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.937, allocations: 3 kB / 0.7881 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.9473, allocations: 3.324 MB / 0.7914 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.9494, allocations: 474.7 kB / 0.7918 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03173/0.9812, allocations: 20.02 MB / 0.8114 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.9844, allocations: 405.9 kB / 0.8118 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.9846, allocations: 85.03 kB / 0.8119 GB, free: 110.3 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.001169/0.9858, allocations: 0.5926 MB / 0.8124 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.9862, allocations: 301.9 kB / 0.8127 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/1.008, allocations: 8.482 MB / 0.821 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.008, allocations: 27.81 kB / 0.821 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.008, allocations: 0 / 0.821 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/1.008, allocations: 11.62 kB / 0.821 GB, free: 108.2 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.02518/1.034, allocations: 12.43 MB / 0.8332 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.034, allocations: 0 / 0.8332 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.035, allocations: 236.9 kB / 0.8334 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/1.046, allocations: 3.811 MB / 0.8371 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/1.046, allocations: 56.31 kB / 0.8372 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03437/1.08, allocations: 21.23 MB / 0.8579 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.08, allocations: 3.938 kB / 0.8579 GB, free: 91.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/1.104, allocations: 10.46 MB / 0.8681 GB, free: 88.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/1.105, allocations: 453.9 kB / 0.8686 GB, free: 87.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/1.105, allocations: 47.84 kB / 0.8686 GB, free: 87.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.107, allocations: 278.1 kB / 0.8689 GB, free: 87.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/1.108, allocations: 380 kB / 0.8692 GB, free: 87.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.108, allocations: 63.23 kB / 0.8693 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002179/1.111, allocations: 1.646 MB / 0.8709 GB, free: 85.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.111, allocations: 3.938 kB / 0.8709 GB, free: 85.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002354/1.113, allocations: 0.9544 MB / 0.8718 GB, free: 84.88 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.0003364/1.113, allocations: 194.7 kB / 0.872 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009593/1.123, allocations: 5.63 MB / 0.8775 GB, free: 79.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.123, allocations: 4.188 kB / 0.8775 GB, free: 79.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006997/1.13, allocations: 3.83 MB / 0.8813 GB, free: 76.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.131, allocations: 259.1 kB / 0.8815 GB, free: 75.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/1.138, allocations: 6.413 MB / 0.8878 GB, free: 69.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/1.139, allocations: 1.837 MB / 0.8896 GB, free: 68.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008187/1.14, allocations: 217.7 kB / 0.8898 GB, free: 68.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/1.14, allocations: 131.3 kB / 0.8899 GB, free: 68.25 MB / 0.5573 GB Notification: Performance of SimCode: time 5.72e-07/1.14, allocations: 0 / 0.8899 GB, free: 68.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.06034/1.201, allocations: 47.99 MB / 0.9368 GB, free: 28.77 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)