Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001635/0.001635, allocations: 185.2 kB / 7.46 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 229.3 MB, free: 8.402 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 106.3 kB / 280.1 MB, free: 7.719 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4024/0.4024, allocations: 78.06 MB / 408.9 MB, free: 5.273 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.185e-06, allocations: 0 / 484.3 MB, free: 10.19 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2812, allocations: 69.35 MB / 0.5407 GB, free: 15.78 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3973, allocations: 102.9 MB / 0.6412 GB, free: 8.719 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.3976, allocations: 71.97 kB / 0.6413 GB, free: 8.648 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.4002/0.7978, allocations: 72.37 MB / 0.7119 GB, free: 80.59 MB / 482.8 MB Notification: Performance of Transformations before backend: time 0.0002407/0.7981, allocations: 59.94 kB / 0.712 GB, free: 80.53 MB / 482.8 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.009296/0.8074, allocations: 3.591 MB / 0.7155 GB, free: 76.88 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.8074, allocations: 8.031 kB / 0.7155 GB, free: 76.87 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007751/0.8152, allocations: 1.237 MB / 0.7167 GB, free: 75.62 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/0.8191, allocations: 1.821 MB / 0.7185 GB, free: 73.8 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.8195, allocations: 438.4 kB / 0.7189 GB, free: 73.3 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.82, allocations: 123.9 kB / 0.719 GB, free: 73.18 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0035/0.8235, allocations: 1.921 MB / 0.7209 GB, free: 71.26 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.827, allocations: 1.965 MB / 0.7228 GB, free: 69.27 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.827, allocations: 0 / 0.7228 GB, free: 69.27 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.8273, allocations: 0 / 0.7228 GB, free: 69.27 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.8273, allocations: 44 kB / 0.7229 GB, free: 69.23 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.8428, allocations: 9.157 MB / 0.7318 GB, free: 59.83 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.8455, allocations: 1.474 MB / 0.7332 GB, free: 58.33 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.8473, allocations: 1.263 MB / 0.7345 GB, free: 57.06 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.8475, allocations: 42.19 kB / 0.7345 GB, free: 57.02 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/0.8498, allocations: 1.466 MB / 0.736 GB, free: 55.53 MB / 482.8 MB Notification: Performance of pre-optimization done (n=245): time 4.799e-06/0.8498, allocations: 4 kB / 0.736 GB, free: 55.53 MB / 482.8 MB Notification: Performance of matching and sorting (n=245): time 0.02402/0.8738, allocations: 7.701 MB / 0.7435 GB, free: 47.79 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.8739, allocations: 239.6 kB / 0.7437 GB, free: 47.5 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/0.8774, allocations: 1.959 MB / 0.7456 GB, free: 45.54 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004245/0.8778, allocations: 29.7 kB / 0.7456 GB, free: 45.5 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.8782, allocations: 0.6585 MB / 0.7463 GB, free: 44.83 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/0.8796, allocations: 0.8159 MB / 0.7471 GB, free: 44 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.8799, allocations: 0 / 0.7471 GB, free: 44 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8801, allocations: 399.1 kB / 0.7475 GB, free: 43.61 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.882, allocations: 1.064 MB / 0.7485 GB, free: 42.54 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.884, allocations: 1.322 MB / 0.7498 GB, free: 41.14 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.886, allocations: 1.172 MB / 0.7509 GB, free: 39.95 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.886, allocations: 3.906 kB / 0.7509 GB, free: 39.95 MB / 482.8 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02101/0.907, allocations: 7.253 MB / 0.758 GB, free: 32.64 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9071, allocations: 7.984 kB / 0.758 GB, free: 32.63 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.9071, allocations: 4.562 kB / 0.758 GB, free: 32.62 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.9179, allocations: 2.878 MB / 0.7609 GB, free: 29.73 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/0.9207, allocations: 471.3 kB / 0.7613 GB, free: 29.27 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02869/0.9494, allocations: 14.6 MB / 0.7756 GB, free: 14.29 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/0.9534, allocations: 393.8 kB / 0.7759 GB, free: 13.9 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004916/0.9539, allocations: 87.97 kB / 0.776 GB, free: 13.82 MB / 482.8 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.000746/0.9547, allocations: 240.7 kB / 0.7763 GB, free: 13.56 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007706/0.9555, allocations: 308.2 kB / 0.7765 GB, free: 13.25 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/0.9795, allocations: 7.917 MB / 0.7843 GB, free: 5.301 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.9795, allocations: 24 kB / 0.7843 GB, free: 5.277 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9795, allocations: 3.906 kB / 0.7843 GB, free: 5.273 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.618e-05/0.9796, allocations: 15.95 kB / 0.7843 GB, free: 5.258 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/1.011, allocations: 11.54 MB / 0.7956 GB, free: 9.566 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.011, allocations: 0 / 0.7956 GB, free: 9.566 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.012, allocations: 243.6 kB / 0.7958 GB, free: 9.328 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01233/1.025, allocations: 3.435 MB / 0.7992 GB, free: 5.879 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003706/1.025, allocations: 23.98 kB / 0.7992 GB, free: 5.855 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03497/1.06, allocations: 16.57 MB / 0.8154 GB, free: 4.793 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.06, allocations: 7.938 kB / 0.8154 GB, free: 4.785 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02965/1.09, allocations: 9.647 MB / 0.8248 GB, free: 11.06 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.091, allocations: 456.5 kB / 0.8252 GB, free: 10.59 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.092, allocations: 19.92 kB / 0.8253 GB, free: 10.57 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00374/1.096, allocations: 271.8 kB / 0.8255 GB, free: 10.3 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009439/1.097, allocations: 241.6 kB / 0.8258 GB, free: 10.07 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/1.098, allocations: 67.92 kB / 0.8258 GB, free: 10 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.002807/1.1, allocations: 1.465 MB / 0.8272 GB, free: 8.539 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.003993/1.104, allocations: 0.8659 MB / 0.8281 GB, free: 7.672 MB / 0.5183 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.0005703/1.105, allocations: 173.3 kB / 0.8283 GB, free: 7.492 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.116, allocations: 4.344 MB / 0.8325 GB, free: 3.082 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.116, allocations: 192 / 0.8325 GB, free: 3.082 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.009419/1.126, allocations: 3.255 MB / 0.8357 GB, free: 15.77 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/1.128, allocations: 221.7 kB / 0.8359 GB, free: 15.55 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.142, allocations: 4.626 MB / 0.8404 GB, free: 10.85 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/1.145, allocations: 1.992 MB / 0.8424 GB, free: 8.832 MB / 0.5339 GB Notification: Performance of SimCode: time 6.21e-07/1.145, allocations: 0 / 0.8424 GB, free: 8.832 MB / 0.5339 GB Notification: Performance of Templates: time 0.2498/1.394, allocations: 48.33 MB / 0.8896 GB, free: 196.6 MB / 0.5652 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)