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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 164.5 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4863/0.4863, allocations: 80.25 MB / 393 MB, free: 2.23 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 489.1 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.411e-05, allocations: 2.312 kB / 489.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01861/0.01865, allocations: 12.74 MB / 0.49 GB, free: 15.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.02897, allocations: 3.689 MB / 0.4937 GB, free: 11.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.0323, allocations: 28.5 kB / 0.4937 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.03472, allocations: 0.5269 MB / 0.4942 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.04152, allocations: 1.654 MB / 0.4958 GB, free: 9.277 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.04567, allocations: 1.41 MB / 0.4972 GB, free: 7.883 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007903/0.05357, allocations: 4.196 MB / 0.5013 GB, free: 3.668 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.05563, allocations: 0.6267 MB / 0.5019 GB, free: 2.984 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005848/0.06148, allocations: 2.322 MB / 0.5042 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.0651, allocations: 1.59 MB / 0.5057 GB, free: 15.06 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.06628, allocations: 380 kB / 0.5061 GB, free: 14.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.06789, allocations: 0.5435 MB / 0.5066 GB, free: 14.15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009882/0.06888, allocations: 0.8753 MB / 0.5075 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.07089, allocations: 1.185 MB / 0.5086 GB, free: 12.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.07864, allocations: 4.77 MB / 0.5133 GB, free: 7.297 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.07865, allocations: 0 / 0.5133 GB, free: 7.297 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.07865, allocations: 0.6562 kB / 0.5133 GB, free: 7.297 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001903/0.07884, allocations: 7.984 kB / 0.5133 GB, free: 7.289 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.02541/0.1042, allocations: 8.225 MB / 0.5213 GB, free: 14.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1043, allocations: 12.03 kB / 0.5213 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.1162, allocations: 1.992 MB / 0.5233 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/0.122, allocations: 2.029 MB / 0.5253 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000843/0.1229, allocations: 0.6371 MB / 0.5259 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008128/0.1237, allocations: 212 kB / 0.5261 GB, free: 9.879 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/0.1297, allocations: 2.597 MB / 0.5286 GB, free: 7.234 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.1297, allocations: 0 / 0.5286 GB, free: 7.234 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.13, allocations: 76 kB / 0.5287 GB, free: 7.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.13, allocations: 52 kB / 0.5287 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005464/0.1355, allocations: 2.226 MB / 0.5309 GB, free: 4.863 MB / 458.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.0213/0.1568, allocations: 8.066 MB / 0.5388 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.1671, allocations: 3.033 MB / 0.5418 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004119/0.1712, allocations: 1.469 MB / 0.5432 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.1717, allocations: 49.92 kB / 0.5432 GB, free: 8.055 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005648/0.1773, allocations: 1.968 MB / 0.5452 GB, free: 6.043 MB / 474.7 MB Notification: Performance of pre-optimization done (n=251): time 7.855e-06/0.1773, allocations: 0 / 0.5452 GB, free: 6.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=251): time 0.08501/0.2624, allocations: 16.77 MB / 0.5615 GB, free: 5.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.2626, allocations: 231.6 kB / 0.5618 GB, free: 4.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00707/0.2696, allocations: 3.059 MB / 0.5647 GB, free: 1.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008413/0.2705, allocations: 73.7 kB / 0.5648 GB, free: 1.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.2723, allocations: 1.405 MB / 0.5662 GB, free: 316 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002079/0.2744, allocations: 0.9924 MB / 0.5672 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002617/0.277, allocations: 0.7335 MB / 0.5679 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000254/0.2772, allocations: 480.8 kB / 0.5683 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/0.2809, allocations: 1.653 MB / 0.5699 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/0.2853, allocations: 2.167 MB / 0.5721 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.2971, allocations: 5.973 MB / 0.5779 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.2971, allocations: 4 kB / 0.5779 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02475/0.3218, allocations: 7.513 MB / 0.5852 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.322, allocations: 172.6 kB / 0.5854 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.322, allocations: 4 kB / 0.5854 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02117/0.3432, allocations: 3.917 MB / 0.5892 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/0.3472, allocations: 0.6124 MB / 0.5898 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.283/0.6302, allocations: 19.71 MB / 0.6091 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/0.6344, allocations: 348.1 kB / 0.6094 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005279/0.635, allocations: 120 kB / 0.6095 GB, free: 154.5 MB / 0.5105 GB 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 (337): * Single equations (assignments): 328 * 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.001449/0.6364, allocations: 0.6441 MB / 0.6101 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009971/0.6374, allocations: 406.9 kB / 0.6105 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/0.6604, allocations: 6.864 MB / 0.6172 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/0.6605, allocations: 26.16 kB / 0.6173 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6605, allocations: 0.875 kB / 0.6173 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.378e-05/0.6606, allocations: 13.88 kB / 0.6173 GB, free: 152.1 MB / 0.5105 GB 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.02752/0.6881, allocations: 10.67 MB / 0.6277 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/0.6881, allocations: 0 / 0.6277 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.6897, allocations: 245.8 kB / 0.6279 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01984/0.7095, allocations: 4.536 MB / 0.6324 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008629/0.7104, allocations: 55.28 kB / 0.6324 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04106/0.7514, allocations: 22.29 MB / 0.6542 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7514, allocations: 4 kB / 0.6542 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02529/0.7767, allocations: 8.909 MB / 0.6629 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.7779, allocations: 392.2 kB / 0.6633 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/0.779, allocations: 48 kB / 0.6633 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/0.782, allocations: 171.7 kB / 0.6635 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/0.7835, allocations: 426.2 kB / 0.6639 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/0.7839, allocations: 71.97 kB / 0.6639 GB, free: 115 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003111/0.787, allocations: 1.847 MB / 0.6658 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.787, allocations: 0 / 0.6658 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004552/0.7916, allocations: 1.065 MB / 0.6668 GB, free: 112.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 145 * 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.0006918/0.7923, allocations: 187.6 kB / 0.667 GB, free: 112 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01241/0.8047, allocations: 5.726 MB / 0.6726 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.8047, allocations: 0.9844 kB / 0.6726 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009537/0.8142, allocations: 3.826 MB / 0.6763 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/0.8177, allocations: 345 kB / 0.6766 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.8291, allocations: 5.749 MB / 0.6822 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.8306, allocations: 1.288 MB / 0.6835 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001406/0.832, allocations: 259.1 kB / 0.6837 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009236/0.833, allocations: 184.4 kB / 0.6839 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/0.833, allocations: 0.7656 kB / 0.6839 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.0835/0.9165, allocations: 63.1 MB / 0.7455 GB, free: 31.36 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.816779035027139]