Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.002824/0.002823, allocations: 176.8 kB / 7.461 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.231/1.231, allocations: 221.4 MB / 229.3 MB, free: 3.246 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.0008644/0.0008646, allocations: 91.22 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3937/0.3937, allocations: 78.92 MB / 409.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.831e-06, allocations: 0 / 485.4 MB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 69.51 MB / 0.5419 GB, free: 20.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4486, allocations: 102.3 MB / 0.6418 GB, free: 1.562 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/0.4488, allocations: 67.97 kB / 0.6418 GB, free: 1.496 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3816/0.8304, allocations: 71.78 MB / 0.7119 GB, free: 93.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002775/0.8307, allocations: 57.56 kB / 0.712 GB, free: 93.84 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.01054/0.8413, allocations: 3.449 MB / 0.7153 GB, free: 91.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8413, allocations: 11.09 kB / 0.7154 GB, free: 91.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008364/0.8497, allocations: 1.213 MB / 0.7165 GB, free: 91.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/0.8551, allocations: 1.741 MB / 0.7182 GB, free: 89.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/0.8557, allocations: 412.5 kB / 0.7186 GB, free: 89.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.8568, allocations: 119.9 kB / 0.7187 GB, free: 89.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005195/0.862, allocations: 1.874 MB / 0.7206 GB, free: 87.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.8656, allocations: 1.881 MB / 0.7224 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.8657, allocations: 0 / 0.7224 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.8659, allocations: 3.984 kB / 0.7224 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.8659, allocations: 44 kB / 0.7225 GB, free: 85.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.8812, allocations: 8.776 MB / 0.731 GB, free: 76.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.8835, allocations: 1.414 MB / 0.7324 GB, free: 74.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.885, allocations: 1.23 MB / 0.7336 GB, free: 73.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.8852, allocations: 41.8 kB / 0.7337 GB, free: 73.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/0.8872, allocations: 1.404 MB / 0.735 GB, free: 72.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 4.669e-06/0.8872, allocations: 4 kB / 0.735 GB, free: 72.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02178/0.909, allocations: 7.469 MB / 0.7423 GB, free: 64.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.9091, allocations: 231.6 kB / 0.7425 GB, free: 64.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.912, allocations: 1.867 MB / 0.7444 GB, free: 62.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005247/0.9125, allocations: 33.69 kB / 0.7444 GB, free: 62.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.9128, allocations: 0.6303 MB / 0.745 GB, free: 61.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.914, allocations: 0.7889 MB / 0.7458 GB, free: 60.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.9141, allocations: 0 / 0.7458 GB, free: 60.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.9142, allocations: 402.9 kB / 0.7462 GB, free: 60.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.9158, allocations: 1.028 MB / 0.7472 GB, free: 59.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.9175, allocations: 1.274 MB / 0.7484 GB, free: 58.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.9193, allocations: 1.142 MB / 0.7495 GB, free: 57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.9193, allocations: 4 kB / 0.7495 GB, free: 56.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01825/0.9375, allocations: 6.715 MB / 0.7561 GB, free: 50.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9376, allocations: 4 kB / 0.7561 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.9376, allocations: 4 kB / 0.7561 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.9481, allocations: 2.795 MB / 0.7588 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.951, allocations: 471.3 kB / 0.7593 GB, free: 46.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.9758, allocations: 15.22 MB / 0.7741 GB, free: 31.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/0.9797, allocations: 378 kB / 0.7745 GB, free: 30.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/0.9801, allocations: 83.97 kB / 0.7746 GB, free: 30.7 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.000558/0.9807, allocations: 249 kB / 0.7748 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005734/0.9813, allocations: 296.3 kB / 0.7751 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.003, allocations: 7.688 MB / 0.7826 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.003, allocations: 24 kB / 0.7826 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.003, allocations: 192 / 0.7826 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.895e-05/1.003, allocations: 15.95 kB / 0.7827 GB, free: 22.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.03, allocations: 11.21 MB / 0.7936 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/1.03, allocations: 0 / 0.7936 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.032, allocations: 235.8 kB / 0.7938 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/1.043, allocations: 3.316 MB / 0.7971 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005615/1.043, allocations: 31.89 kB / 0.7971 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03108/1.075, allocations: 16.04 MB / 0.8128 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.075, allocations: 0 / 0.8128 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02712/1.102, allocations: 9.362 MB / 0.8219 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.103, allocations: 436.8 kB / 0.8223 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007463/1.104, allocations: 8 kB / 0.8223 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/1.107, allocations: 263.8 kB / 0.8226 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006631/1.107, allocations: 233.5 kB / 0.8228 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.108, allocations: 67.98 kB / 0.8229 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00216/1.11, allocations: 1.387 MB / 0.8242 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002899/1.113, allocations: 0.8308 MB / 0.825 GB, free: 10.39 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.0004054/1.113, allocations: 158.9 kB / 0.8252 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.124, allocations: 4.6 MB / 0.8297 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.124, allocations: 0 / 0.8297 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009179/1.133, allocations: 3.164 MB / 0.8328 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/1.136, allocations: 213.6 kB / 0.833 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.147, allocations: 4.333 MB / 0.8372 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/1.15, allocations: 1.933 MB / 0.8391 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of SimCode: time 6.12e-07/1.15, allocations: 0 / 0.8391 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.07792/1.228, allocations: 45.88 MB / 0.8839 GB, free: 13.91 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)