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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 176.2 kB / 7.46 MB, free: 2.488 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.029/1.029, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0008119/0.0008119, allocations: 103.2 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3498/0.3498, allocations: 78.11 MB / 409 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.719e-06, allocations: 0 / 484.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2148, allocations: 69.35 MB / 0.5407 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09798/0.3128, allocations: 101.5 MB / 0.6399 GB, free: 3.387 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.3131, allocations: 67.97 kB / 0.6399 GB, free: 3.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3186/0.6316, allocations: 70.12 MB / 0.7084 GB, free: 95.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.6318, allocations: 58.91 kB / 0.7085 GB, free: 95.7 MB / 490.7 MB 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.00724/0.6391, allocations: 3.437 MB / 0.7118 GB, free: 93.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.6391, allocations: 12.84 kB / 0.7118 GB, free: 93.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006454/0.6456, allocations: 1.216 MB / 0.713 GB, free: 92.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.6488, allocations: 1.749 MB / 0.7147 GB, free: 91.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.6491, allocations: 415.3 kB / 0.7151 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.6494, allocations: 116.9 kB / 0.7152 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003041/0.6524, allocations: 1.869 MB / 0.7171 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.6553, allocations: 1.887 MB / 0.7189 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.6553, allocations: 7.938 kB / 0.7189 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.6555, allocations: 3.984 kB / 0.7189 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.6555, allocations: 44 kB / 0.719 GB, free: 89.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.6677, allocations: 8.698 MB / 0.7275 GB, free: 80.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.6697, allocations: 1.427 MB / 0.7289 GB, free: 78.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.6711, allocations: 1.219 MB / 0.73 GB, free: 77.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.6713, allocations: 45.72 kB / 0.7301 GB, free: 77.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/0.6731, allocations: 1.411 MB / 0.7315 GB, free: 76.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 3.707e-06/0.6731, allocations: 0 / 0.7315 GB, free: 76.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02007/0.6932, allocations: 7.481 MB / 0.7388 GB, free: 68.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.6933, allocations: 235.6 kB / 0.739 GB, free: 68.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.6958, allocations: 1.871 MB / 0.7408 GB, free: 66.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004074/0.6962, allocations: 33.69 kB / 0.7409 GB, free: 66.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.6965, allocations: 0.6341 MB / 0.7415 GB, free: 65.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008972/0.6974, allocations: 0.789 MB / 0.7422 GB, free: 64.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.6976, allocations: 0 / 0.7422 GB, free: 64.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.6977, allocations: 394.9 kB / 0.7426 GB, free: 64.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.6991, allocations: 1.024 MB / 0.7436 GB, free: 63.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.7007, allocations: 1.278 MB / 0.7449 GB, free: 62.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.7023, allocations: 1.154 MB / 0.746 GB, free: 60.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.7023, allocations: 0 / 0.746 GB, free: 60.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01695/0.7193, allocations: 6.727 MB / 0.7526 GB, free: 54.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7193, allocations: 6.031 kB / 0.7526 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.7193, allocations: 4 kB / 0.7526 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009411/0.7287, allocations: 2.791 MB / 0.7553 GB, free: 51.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.731, allocations: 463.4 kB / 0.7557 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.7532, allocations: 15.23 MB / 0.7706 GB, free: 35.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.7563, allocations: 370 kB / 0.771 GB, free: 34.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.7565, allocations: 88.03 kB / 0.7711 GB, free: 34.65 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "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 () * 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.0004705/0.7569, allocations: 247.8 kB / 0.7713 GB, free: 34.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.7573, allocations: 300.3 kB / 0.7716 GB, free: 34.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/0.7773, allocations: 7.682 MB / 0.7791 GB, free: 26.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.7773, allocations: 28 kB / 0.7791 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7774, allocations: 4 kB / 0.7791 GB, free: 26.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.7774, allocations: 11.95 kB / 0.7791 GB, free: 26.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/0.8, allocations: 11.21 MB / 0.7901 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.8, allocations: 4.078 kB / 0.7901 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.8012, allocations: 227.7 kB / 0.7903 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009717/0.811, allocations: 3.331 MB / 0.7935 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.8112, allocations: 23.89 kB / 0.7936 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02669/0.8379, allocations: 16.06 MB / 0.8092 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.8379, allocations: 0 / 0.8092 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02338/0.8613, allocations: 9.361 MB / 0.8184 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007934/0.8621, allocations: 432.8 kB / 0.8188 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/0.8626, allocations: 12 kB / 0.8188 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/0.8651, allocations: 255.8 kB / 0.8191 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005374/0.8657, allocations: 233.5 kB / 0.8193 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.8659, allocations: 67.97 kB / 0.8193 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001902/0.8678, allocations: 1.387 MB / 0.8207 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00229/0.8701, allocations: 0.8269 MB / 0.8215 GB, free: 14.34 MB / 0.5105 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 () * 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.0003379/0.8704, allocations: 158.9 kB / 0.8217 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009402/0.8799, allocations: 4.607 MB / 0.8262 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8799, allocations: 0 / 0.8262 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007301/0.8872, allocations: 3.168 MB / 0.8292 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.8883, allocations: 202.3 kB / 0.8294 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/0.8973, allocations: 4.337 MB / 0.8337 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/0.899, allocations: 1.934 MB / 0.8356 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/0.899, allocations: 0 / 0.8356 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.05883/0.9579, allocations: 45.9 MB / 0.8804 GB, free: 1.938 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)