Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [: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.001742/0.001742, allocations: 183.6 kB / 7.458 MB, free: 2.512 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.031/1.031, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.000864/0.0008641, allocations: 97.61 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.3558/0.3558, allocations: 78.09 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-06/4.649e-06, allocations: 0 / 484.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2168, allocations: 69.34 MB / 0.5407 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0994/0.3163, allocations: 102.9 MB / 0.6412 GB, free: 2.051 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.3165, allocations: 71.95 kB / 0.6413 GB, free: 1.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3298/0.6463, allocations: 72.38 MB / 0.712 GB, free: 93.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001955/0.6465, allocations: 55.91 kB / 0.712 GB, free: 93.66 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: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.007883/0.6544, allocations: 3.582 MB / 0.7155 GB, free: 91.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6545, allocations: 9.281 kB / 0.7155 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006706/0.6612, allocations: 1.236 MB / 0.7167 GB, free: 90.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.6644, allocations: 1.82 MB / 0.7185 GB, free: 89.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.6648, allocations: 436.8 kB / 0.7189 GB, free: 89.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/0.6651, allocations: 120.8 kB / 0.719 GB, free: 89.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002955/0.6681, allocations: 1.924 MB / 0.7209 GB, free: 87.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.671, allocations: 1.961 MB / 0.7228 GB, free: 85.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.671, allocations: 4 kB / 0.7228 GB, free: 85.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.6712, allocations: 3.984 kB / 0.7229 GB, free: 85.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.6713, allocations: 44 kB / 0.7229 GB, free: 85.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.6838, allocations: 9.157 MB / 0.7318 GB, free: 75.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.6859, allocations: 1.466 MB / 0.7333 GB, free: 74.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.6874, allocations: 1.265 MB / 0.7345 GB, free: 73.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.6876, allocations: 45.72 kB / 0.7345 GB, free: 73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.6894, allocations: 1.47 MB / 0.736 GB, free: 71.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 3.466e-06/0.6894, allocations: 4 kB / 0.736 GB, free: 71.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.02041/0.7098, allocations: 7.707 MB / 0.7435 GB, free: 63.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.7099, allocations: 231.6 kB / 0.7437 GB, free: 63.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.712, allocations: 1.963 MB / 0.7456 GB, free: 61.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.7122, allocations: 29.69 kB / 0.7457 GB, free: 61.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.7124, allocations: 0.6546 MB / 0.7463 GB, free: 60.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008348/0.7133, allocations: 0.8236 MB / 0.7471 GB, free: 60.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.7134, allocations: 0 / 0.7471 GB, free: 60.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.7135, allocations: 403.2 kB / 0.7475 GB, free: 59.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.715, allocations: 1.06 MB / 0.7485 GB, free: 58.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.7166, allocations: 1.317 MB / 0.7498 GB, free: 57.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.7182, allocations: 1.176 MB / 0.751 GB, free: 55.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7182, allocations: 7.906 kB / 0.751 GB, free: 55.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01778/0.736, allocations: 7.252 MB / 0.7581 GB, free: 48.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.736, allocations: 4 kB / 0.7581 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7361, allocations: 7.938 kB / 0.7581 GB, free: 48.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009254/0.7453, allocations: 2.878 MB / 0.7609 GB, free: 45.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.7475, allocations: 471.3 kB / 0.7613 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/0.7715, allocations: 14.6 MB / 0.7756 GB, free: 30.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.7743, allocations: 397.8 kB / 0.776 GB, free: 29.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.7745, allocations: 87.97 kB / 0.7761 GB, free: 29.89 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004308/0.775, allocations: 234.9 kB / 0.7763 GB, free: 29.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.7753, allocations: 312.2 kB / 0.7766 GB, free: 29.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/0.7956, allocations: 7.908 MB / 0.7843 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.7957, allocations: 28 kB / 0.7843 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.7957, allocations: 3.906 kB / 0.7843 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.7957, allocations: 11.95 kB / 0.7843 GB, free: 21.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/0.8189, allocations: 11.54 MB / 0.7956 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.819, allocations: 3.938 kB / 0.7956 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.8202, allocations: 243.8 kB / 0.7959 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009956/0.8302, allocations: 3.443 MB / 0.7992 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/0.8304, allocations: 19.98 kB / 0.7992 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02867/0.859, allocations: 16.56 MB / 0.8154 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8591, allocations: 0 / 0.8154 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02417/0.8832, allocations: 9.663 MB / 0.8248 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.8839, allocations: 452.5 kB / 0.8253 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/0.8843, allocations: 8 kB / 0.8253 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/0.8869, allocations: 271.8 kB / 0.8255 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005749/0.8875, allocations: 241.6 kB / 0.8258 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.8877, allocations: 71.98 kB / 0.8258 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00195/0.8896, allocations: 1.457 MB / 0.8273 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002241/0.8919, allocations: 0.8814 MB / 0.8281 GB, free: 7.938 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,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: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 138 * 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 {43 49,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003404/0.8922, allocations: 170.2 kB / 0.8283 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008755/0.901, allocations: 4.352 MB / 0.8325 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.901, allocations: 0 / 0.8325 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007239/0.9083, allocations: 3.243 MB / 0.8357 GB, free: 48 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9094, allocations: 220.2 kB / 0.8359 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009118/0.9185, allocations: 4.641 MB / 0.8404 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/0.9203, allocations: 1.988 MB / 0.8424 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.9203, allocations: 3.938 kB / 0.8424 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of Templates: time 0.19/1.11, allocations: 48.34 MB / 0.8896 GB, free: 193.8 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)