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") [: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.002536/0.002536, allocations: 175.2 kB / 7.451 MB, free: 2.504 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.184/1.184, allocations: 221.4 MB / 229.3 MB, free: 3.137 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.0009348/0.0009349, allocations: 97.14 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4082/0.4082, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.269e-06, allocations: 0 / 484.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2867, allocations: 69.36 MB / 0.5407 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4039, allocations: 101.5 MB / 0.6398 GB, free: 3.211 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4041, allocations: 75.97 kB / 0.6399 GB, free: 3.137 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3936/0.7977, allocations: 70.11 MB / 0.7084 GB, free: 95.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.798, allocations: 58.59 kB / 0.7084 GB, free: 95.5 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.009018/0.807, allocations: 3.437 MB / 0.7118 GB, free: 93.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.807, allocations: 8.938 kB / 0.7118 GB, free: 93.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007716/0.8148, allocations: 1.223 MB / 0.713 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/0.8184, allocations: 1.743 MB / 0.7147 GB, free: 91.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.8188, allocations: 414.7 kB / 0.7151 GB, free: 91.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.8191, allocations: 116.4 kB / 0.7152 GB, free: 91.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003553/0.8227, allocations: 1.869 MB / 0.717 GB, free: 90.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.8259, allocations: 1.891 MB / 0.7189 GB, free: 88.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.826, allocations: 4 kB / 0.7189 GB, free: 88.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.8262, allocations: 0 / 0.7189 GB, free: 88.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.8262, allocations: 44 kB / 0.7189 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.8403, allocations: 8.7 MB / 0.7274 GB, free: 79.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.8426, allocations: 1.427 MB / 0.7288 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.8442, allocations: 1.23 MB / 0.73 GB, free: 77.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.8444, allocations: 45.8 kB / 0.7301 GB, free: 77.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/0.8464, allocations: 1.408 MB / 0.7314 GB, free: 75.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 3.898e-06/0.8464, allocations: 0 / 0.7314 GB, free: 75.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02284/0.8693, allocations: 7.489 MB / 0.7387 GB, free: 68.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.8693, allocations: 231.6 kB / 0.739 GB, free: 67.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.872, allocations: 1.867 MB / 0.7408 GB, free: 66.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003779/0.8724, allocations: 33.69 kB / 0.7408 GB, free: 66.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.8727, allocations: 0.6342 MB / 0.7414 GB, free: 65.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.8738, allocations: 0.7851 MB / 0.7422 GB, free: 64.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.874, allocations: 0 / 0.7422 GB, free: 64.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8741, allocations: 394.9 kB / 0.7426 GB, free: 64.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.8757, allocations: 1.024 MB / 0.7436 GB, free: 63.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.8775, allocations: 1.278 MB / 0.7448 GB, free: 61.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.8794, allocations: 1.158 MB / 0.746 GB, free: 60.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8794, allocations: 0 / 0.746 GB, free: 60.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01941/0.8988, allocations: 6.72 MB / 0.7525 GB, free: 53.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.8988, allocations: 4 kB / 0.7525 GB, free: 53.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.8989, allocations: 8.031 kB / 0.7525 GB, free: 53.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.9096, allocations: 2.79 MB / 0.7553 GB, free: 51.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.9125, allocations: 471.4 kB / 0.7557 GB, free: 50.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02619/0.9387, allocations: 15.23 MB / 0.7706 GB, free: 34.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/0.9426, allocations: 366 kB / 0.7709 GB, free: 34.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/0.9432, allocations: 88.03 kB / 0.771 GB, free: 34.37 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.0009506/0.9441, allocations: 245.5 kB / 0.7713 GB, free: 34.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/0.945, allocations: 296.3 kB / 0.7715 GB, free: 33.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.023/0.968, allocations: 7.687 MB / 0.779 GB, free: 26.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.9681, allocations: 24 kB / 0.7791 GB, free: 26.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9681, allocations: 4.188 kB / 0.7791 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/0.9681, allocations: 11.95 kB / 0.7791 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/0.9964, allocations: 11.22 MB / 0.79 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.9965, allocations: 0 / 0.79 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.9981, allocations: 231.8 kB / 0.7903 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/1.01, allocations: 3.332 MB / 0.7935 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004242/1.01, allocations: 23.89 kB / 0.7935 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03158/1.042, allocations: 16.05 MB / 0.8092 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.042, allocations: 0 / 0.8092 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02757/1.069, allocations: 9.356 MB / 0.8183 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.07, allocations: 432.8 kB / 0.8188 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008558/1.071, allocations: 15.98 kB / 0.8188 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003169/1.074, allocations: 247.8 kB / 0.819 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/1.075, allocations: 233.5 kB / 0.8192 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.075, allocations: 71.91 kB / 0.8193 GB, free: 300 kB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002326/1.078, allocations: 1.391 MB / 0.8207 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003277/1.081, allocations: 0.8308 MB / 0.8215 GB, free: 14.07 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.0004204/1.081, allocations: 164.5 kB / 0.8216 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.092, allocations: 4.608 MB / 0.8261 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.092, allocations: 0 / 0.8261 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008563/1.101, allocations: 3.168 MB / 0.8292 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.103, allocations: 197.1 kB / 0.8294 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.116, allocations: 4.349 MB / 0.8337 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/1.118, allocations: 1.93 MB / 0.8355 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of SimCode: time 6.52e-07/1.118, allocations: 0 / 0.8355 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.0766/1.195, allocations: 45.89 MB / 0.8804 GB, free: 1.684 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)