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.001305/0.001305, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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 0.9698/0.9698, allocations: 177.2 MB / 200.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.001179/0.001179, allocations: 164.3 kB / 257 MB, free: 13.05 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.3009/0.3009, allocations: 80.24 MB / 393.7 MB, free: 3.258 MB / 362.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 2.144e-06/2.144e-06, allocations: 0 / 489.8 MB, free: 63.47 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.408e-05, allocations: 7.109 kB / 489.8 MB, free: 63.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01183/0.01186, allocations: 12.79 MB / 0.4908 GB, free: 50.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009033/0.02089, allocations: 3.701 MB / 0.4944 GB, free: 46.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.02384, allocations: 28.81 kB / 0.4944 GB, free: 46.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.02571, allocations: 0.527 MB / 0.495 GB, free: 46.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.03027, allocations: 1.627 MB / 0.4965 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.03282, allocations: 1.414 MB / 0.4979 GB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.03743, allocations: 4.204 MB / 0.502 GB, free: 39.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.03851, allocations: 0.6259 MB / 0.5026 GB, free: 38.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.04176, allocations: 2.324 MB / 0.5049 GB, free: 36.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.04354, allocations: 1.593 MB / 0.5065 GB, free: 34.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007076/0.04424, allocations: 380 kB / 0.5068 GB, free: 34.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009261/0.04517, allocations: 0.5349 MB / 0.5073 GB, free: 33.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.04571, allocations: 0.8766 MB / 0.5082 GB, free: 32.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.04688, allocations: 1.18 MB / 0.5094 GB, free: 31.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.05005, allocations: 2.93 MB / 0.5122 GB, free: 28.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.05006, allocations: 1.094 kB / 0.5122 GB, free: 28.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.05006, allocations: 0 / 0.5122 GB, free: 28.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.947e-05/0.05012, allocations: 0 / 0.5122 GB, free: 28.63 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: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.009785/0.0599, allocations: 7.099 MB / 0.5192 GB, free: 21.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.05995, allocations: 9.219 kB / 0.5192 GB, free: 21.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.06632, allocations: 1.993 MB / 0.5211 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.06896, allocations: 1.917 MB / 0.523 GB, free: 17.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.06924, allocations: 0.6295 MB / 0.5236 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.06953, allocations: 215.9 kB / 0.5238 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.07173, allocations: 1.741 MB / 0.5255 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.07176, allocations: 0 / 0.5255 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.07191, allocations: 80 kB / 0.5256 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.07193, allocations: 48 kB / 0.5256 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.07362, allocations: 1.143 MB / 0.5267 GB, free: 13.46 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.008955/0.08257, allocations: 6.548 MB / 0.5331 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005/0.08757, allocations: 2.277 MB / 0.5354 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.08921, allocations: 0.8285 MB / 0.5362 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.08937, allocations: 49.98 kB / 0.5362 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/0.09137, allocations: 1.238 MB / 0.5374 GB, free: 2.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 6.001e-06/0.09137, allocations: 0 / 0.5374 GB, free: 2.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.05385/0.1452, allocations: 14.49 MB / 0.5516 GB, free: 3.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1453, allocations: 239.6 kB / 0.5518 GB, free: 3.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.1477, allocations: 2.208 MB / 0.554 GB, free: 1.172 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.148, allocations: 73.7 kB / 0.554 GB, free: 1.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.1487, allocations: 1.253 MB / 0.5552 GB, free: 15.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000687/0.1494, allocations: 0.918 MB / 0.5561 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007018/0.1501, allocations: 0.6085 MB / 0.5567 GB, free: 14.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1502, allocations: 476.8 kB / 0.5572 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.1514, allocations: 0.891 MB / 0.5581 GB, free: 12.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.1529, allocations: 1.307 MB / 0.5593 GB, free: 11.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.157, allocations: 3.416 MB / 0.5627 GB, free: 7.805 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.157, allocations: 7.75 kB / 0.5627 GB, free: 7.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.009971/0.167, allocations: 5.611 MB / 0.5682 GB, free: 2.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/0.167, allocations: 170.2 kB / 0.5683 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1671, allocations: 4 kB / 0.5683 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008816/0.1759, allocations: 3.226 MB / 0.5715 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.1775, allocations: 0.6163 MB / 0.5721 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/0.1953, allocations: 12.57 MB / 0.5844 GB, free: 1.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.1977, allocations: 354.1 kB / 0.5847 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.1979, allocations: 116 kB / 0.5848 GB, free: 0.6055 MB / 458.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 (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.0008602/0.1988, allocations: 417.6 kB / 0.5852 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/0.1994, allocations: 402.1 kB / 0.5856 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.2096, allocations: 5.174 MB / 0.5906 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.2096, allocations: 24 kB / 0.5907 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2096, allocations: 4 kB / 0.5907 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.2096, allocations: 15.95 kB / 0.5907 GB, free: 10.45 MB / 474.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.01343/0.223, allocations: 8.125 MB / 0.5986 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.223, allocations: 0 / 0.5986 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.2238, allocations: 243.7 kB / 0.5989 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009799/0.2336, allocations: 3.809 MB / 0.6026 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.2337, allocations: 59.97 kB / 0.6026 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2276/0.4614, allocations: 14.85 MB / 0.6171 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4614, allocations: 4.281 kB / 0.6171 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.4742, allocations: 6.122 MB / 0.6231 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009973/0.4752, allocations: 392.1 kB / 0.6235 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/0.4756, allocations: 53.67 kB / 0.6235 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4767, allocations: 160.8 kB / 0.6237 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009541/0.4776, allocations: 401.2 kB / 0.6241 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.4777, allocations: 70.17 kB / 0.6241 GB, free: 134.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00194/0.4797, allocations: 1.344 MB / 0.6255 GB, free: 133.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4797, allocations: 0 / 0.6255 GB, free: 133.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002608/0.4823, allocations: 1.06 MB / 0.6265 GB, free: 133.9 MB / 490.7 MB 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.0004169/0.4827, allocations: 196.6 kB / 0.6267 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005833/0.4885, allocations: 4.21 MB / 0.6308 GB, free: 132.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4885, allocations: 0 / 0.6308 GB, free: 132.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004173/0.4927, allocations: 3.121 MB / 0.6338 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.4945, allocations: 330 kB / 0.6341 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/0.5028, allocations: 5.224 MB / 0.6392 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.5034, allocations: 0.5518 MB / 0.6398 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008162/0.5042, allocations: 271 kB / 0.64 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.5047, allocations: 177.8 kB / 0.6402 GB, free: 125 MB / 490.7 MB Notification: Performance of SimCode: time 2.575e-06/0.5047, allocations: 0 / 0.6402 GB, free: 125 MB / 490.7 MB Notification: Performance of Templates: time 0.06738/0.572, allocations: 63.14 MB / 0.7019 GB, free: 63.71 MB / 490.7 MB " [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: 7.2787416419014335]