Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 109.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4169/0.4169, allocations: 78.49 MB / 418.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 67.91 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.251, allocations: 68.12 MB / 0.5523 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.008735/0.2598, allocations: 14.38 MB / 0.5663 GB, free: 5.773 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005848/0.2657, allocations: 3.789 MB / 0.57 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.2669, allocations: 31.94 kB / 0.5701 GB, free: 1.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.2678, allocations: 401.2 kB / 0.5705 GB, free: 1.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.2703, allocations: 1.302 MB / 0.5717 GB, free: 256 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.2725, allocations: 1.249 MB / 0.573 GB, free: 15.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.276, allocations: 3.984 MB / 0.5768 GB, free: 11.01 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.277, allocations: 0.8816 MB / 0.5777 GB, free: 10.08 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.2786, allocations: 1.427 MB / 0.5791 GB, free: 8.645 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.2802, allocations: 1.831 MB / 0.5809 GB, free: 6.805 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.2806, allocations: 184 kB / 0.5811 GB, free: 6.625 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.2812, allocations: 319.9 kB / 0.5814 GB, free: 6.312 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005531/0.2818, allocations: 0.6725 MB / 0.582 GB, free: 5.637 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.283, allocations: 1.572 MB / 0.5836 GB, free: 4.055 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.2863, allocations: 4.375 MB / 0.5878 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2863, allocations: 0 / 0.5878 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2863, allocations: 0 / 0.5878 GB, free: 15.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.972e-05/0.2864, allocations: 0 / 0.5878 GB, free: 15.66 MB / 410.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.01608/0.3025, allocations: 5.532 MB / 0.5932 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3025, allocations: 11.97 kB / 0.5932 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0093/0.3118, allocations: 1.639 MB / 0.5948 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.3152, allocations: 2.073 MB / 0.5969 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.3157, allocations: 0.4906 MB / 0.5973 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.316, allocations: 199.9 kB / 0.5975 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/0.3203, allocations: 2.48 MB / 0.6 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.3203, allocations: 0 / 0.6 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.3205, allocations: 79.98 kB / 0.6 GB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.3206, allocations: 44 kB / 0.6001 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004263/0.3249, allocations: 2.275 MB / 0.6023 GB, free: 0.5742 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/0.3398, allocations: 9.365 MB / 0.6114 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.35, allocations: 4.598 MB / 0.6159 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.3528, allocations: 1.582 MB / 0.6175 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.353, allocations: 42.98 kB / 0.6175 GB, free: 368 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003205/0.3562, allocations: 1.834 MB / 0.6193 GB, free: 14.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 4.278e-06/0.3562, allocations: 0 / 0.6193 GB, free: 14.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=245): time 0.08345/0.4397, allocations: 19.07 MB / 0.6379 GB, free: 11.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.4398, allocations: 235.6 kB / 0.6382 GB, free: 11.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005026/0.4449, allocations: 2.656 MB / 0.6408 GB, free: 8.352 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000623/0.4455, allocations: 69.7 kB / 0.6408 GB, free: 8.277 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.4466, allocations: 1.182 MB / 0.642 GB, free: 7.086 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.4479, allocations: 0.8627 MB / 0.6428 GB, free: 6.211 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/0.4498, allocations: 0.5932 MB / 0.6434 GB, free: 5.609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.4499, allocations: 305.1 kB / 0.6437 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.4535, allocations: 1.619 MB / 0.6453 GB, free: 3.688 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/0.4574, allocations: 1.958 MB / 0.6472 GB, free: 1.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04664/0.5041, allocations: 11.14 MB / 0.6581 GB, free: 6.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/0.5041, allocations: 4 kB / 0.6581 GB, free: 6.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02868/0.5328, allocations: 7.934 MB / 0.6658 GB, free: 14.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.533, allocations: 172.5 kB / 0.666 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.5331, allocations: 4 kB / 0.666 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/0.5452, allocations: 3.073 MB / 0.669 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.5486, allocations: 0.6124 MB / 0.6696 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2882/0.8368, allocations: 17.97 MB / 0.6871 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.8409, allocations: 430.8 kB / 0.6875 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/0.8414, allocations: 118.2 kB / 0.6876 GB, free: 106 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(36,46), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.8427, allocations: 0.6021 MB / 0.6882 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/0.8433, allocations: 316.7 kB / 0.6885 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02423/0.8675, allocations: 7.474 MB / 0.6958 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.8676, allocations: 23.28 kB / 0.6959 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.8676, allocations: 4 kB / 0.6959 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/0.8677, allocations: 15.36 kB / 0.6959 GB, free: 103.6 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03048/0.8982, allocations: 12.19 MB / 0.7078 GB, free: 98.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.8983, allocations: 1.203 kB / 0.7078 GB, free: 98.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.8997, allocations: 230.6 kB / 0.708 GB, free: 98.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01183/0.9115, allocations: 3.554 MB / 0.7115 GB, free: 95.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005214/0.9121, allocations: 55.98 kB / 0.7115 GB, free: 95.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03893/0.9511, allocations: 19.62 MB / 0.7307 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9511, allocations: 0 / 0.7307 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1926/1.144, allocations: 72.96 MB / 0.8019 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006644/1.144, allocations: 456.5 kB / 0.8024 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/1.145, allocations: 51.98 kB / 0.8024 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.147, allocations: 235.7 kB / 0.8026 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/1.149, allocations: 390.2 kB / 0.803 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.149, allocations: 67.98 kB / 0.8031 GB, free: 228 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002741/1.151, allocations: 1.771 MB / 0.8048 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.151, allocations: 4 kB / 0.8048 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004665/1.156, allocations: 1.542 MB / 0.8063 GB, free: 12.91 MB / 0.4948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(43,48), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003962/1.157, allocations: 173.3 kB / 0.8065 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.169, allocations: 5.525 MB / 0.8119 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.169, allocations: 0 / 0.8119 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009405/1.179, allocations: 3.63 MB / 0.8154 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/1.181, allocations: 292.2 kB / 0.8157 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.2, allocations: 10.33 MB / 0.8258 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.202, allocations: 1.938 MB / 0.8277 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001377/1.203, allocations: 287.3 kB / 0.8279 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/1.204, allocations: 175.4 kB / 0.8281 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/1.204, allocations: 3.938 kB / 0.8281 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of Templates: time 0.4296/1.634, allocations: 79.08 MB / 0.9053 GB, free: 188.4 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)