Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.0035/0.0035, allocations: 178.3 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.141/1.141, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008742/0.0008743, allocations: 94.34 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0639/0.0639, allocations: 12.59 MB / 321.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2753/0.2753, allocations: 78.04 MB / 450.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.242e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 69.31 MB / 0.5818 GB, free: 8.789 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.4353, allocations: 103.2 MB / 0.6826 GB, free: 5.355 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.4355, allocations: 78.25 kB / 0.6826 GB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1805/0.616, allocations: 68.25 MB / 0.7493 GB, free: 11.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002821/0.6163, allocations: 56 kB / 0.7493 GB, free: 11.68 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.009658/0.626, allocations: 3.447 MB / 0.7527 GB, free: 8.145 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.626, allocations: 11.97 kB / 0.7527 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007507/0.6336, allocations: 1.217 MB / 0.7539 GB, free: 6.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.6375, allocations: 1.753 MB / 0.7556 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004508/0.638, allocations: 408.6 kB / 0.756 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005482/0.6386, allocations: 115.9 kB / 0.7561 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003875/0.6425, allocations: 1.87 MB / 0.7579 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.6463, allocations: 1.893 MB / 0.7598 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.6463, allocations: 0 / 0.7598 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.6466, allocations: 3.984 kB / 0.7598 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.6466, allocations: 48 kB / 0.7598 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.6632, allocations: 8.696 MB / 0.7683 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.6659, allocations: 1.423 MB / 0.7697 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.6678, allocations: 1.227 MB / 0.7709 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.668, allocations: 45.95 kB / 0.771 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002292/0.6703, allocations: 1.408 MB / 0.7723 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=236): time 4.349e-06/0.6703, allocations: 0 / 0.7723 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.02381/0.6941, allocations: 7.49 MB / 0.7797 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.6943, allocations: 235.7 kB / 0.7799 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/0.6986, allocations: 1.867 MB / 0.7817 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004803/0.6991, allocations: 25.7 kB / 0.7817 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.6996, allocations: 0.6303 MB / 0.7823 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.7012, allocations: 0.789 MB / 0.7831 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.7015, allocations: 0 / 0.7831 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.7017, allocations: 402.8 kB / 0.7835 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.7037, allocations: 1.024 MB / 0.7845 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.7059, allocations: 1.279 MB / 0.7857 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.7083, allocations: 1.15 MB / 0.7869 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.7083, allocations: 4 kB / 0.7869 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02105/0.7293, allocations: 6.72 MB / 0.7934 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7294, allocations: 7.984 kB / 0.7934 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.7294, allocations: 8 kB / 0.7935 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/0.7407, allocations: 2.787 MB / 0.7962 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.7438, allocations: 475.4 kB / 0.7966 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03032/0.7741, allocations: 15.22 MB / 0.8115 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/0.7782, allocations: 374 kB / 0.8119 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006891/0.7789, allocations: 84.03 kB / 0.8119 GB, free: 10.03 MB / 0.5417 GB 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.001211/0.7802, allocations: 252.5 kB / 0.8122 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.7813, allocations: 296.2 kB / 0.8125 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/0.8057, allocations: 7.688 MB / 0.82 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.8058, allocations: 24 kB / 0.82 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.8058, allocations: 0 / 0.82 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/0.8059, allocations: 11.95 kB / 0.82 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/0.8367, allocations: 11.2 MB / 0.8309 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.8368, allocations: 0 / 0.8309 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.8384, allocations: 243.5 kB / 0.8312 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01165/0.8501, allocations: 3.32 MB / 0.8344 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004467/0.8506, allocations: 23.98 kB / 0.8344 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03267/0.8833, allocations: 16.05 MB / 0.8501 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.8833, allocations: 0 / 0.8501 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02733/0.9106, allocations: 9.355 MB / 0.8592 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.9119, allocations: 428.8 kB / 0.8597 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/0.913, allocations: 16 kB / 0.8597 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/0.9165, allocations: 259.8 kB / 0.8599 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008537/0.9173, allocations: 233.5 kB / 0.8601 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003553/0.9177, allocations: 63.98 kB / 0.8602 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.00259/0.9203, allocations: 1.391 MB / 0.8616 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003459/0.9238, allocations: 0.8269 MB / 0.8624 GB, free: 5.527 MB / 0.5886 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.0004967/0.9243, allocations: 179.7 kB / 0.8625 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01069/0.935, allocations: 4.595 MB / 0.867 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.935, allocations: 4.188 kB / 0.867 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.1609/1.096, allocations: 3.17 MB / 0.8701 GB, free: 236.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.098, allocations: 201.6 kB / 0.8703 GB, free: 236.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/1.106, allocations: 4.336 MB / 0.8745 GB, free: 235.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.108, allocations: 1.932 MB / 0.8764 GB, free: 235.1 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/1.108, allocations: 0 / 0.8764 GB, free: 235.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.0585/1.166, allocations: 45.9 MB / 0.9213 GB, free: 229.6 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)