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/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.001657/0.001657, allocations: 88.72 kB / 19.44 MB, free: 356 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.47/1.47, allocations: 177.1 MB / 199.7 MB, free: 5.828 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.001719/0.001719, allocations: 164.3 kB / 256.3 MB, free: 13.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4636/0.4636, allocations: 80.38 MB / 393.1 MB, free: 2.156 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 489.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.971e-05, allocations: 5.406 kB / 489.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01551/0.01554, allocations: 11.78 MB / 0.4892 GB, free: 72 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009336/0.02487, allocations: 3.667 MB / 0.4928 GB, free: 12.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.02734, allocations: 29.06 kB / 0.4929 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.02934, allocations: 0.5224 MB / 0.4934 GB, free: 11.87 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.03575, allocations: 1.649 MB / 0.495 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.03991, allocations: 1.415 MB / 0.4964 GB, free: 8.824 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007545/0.04746, allocations: 4.192 MB / 0.5004 GB, free: 4.613 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.04951, allocations: 0.6259 MB / 0.5011 GB, free: 3.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005908/0.05542, allocations: 2.324 MB / 0.5033 GB, free: 1.602 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.059, allocations: 1.579 MB / 0.5049 GB, free: 20 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.06049, allocations: 380 kB / 0.5052 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.06255, allocations: 0.5349 MB / 0.5058 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.06413, allocations: 0.8753 MB / 0.5066 GB, free: 14.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003175/0.06731, allocations: 1.18 MB / 0.5078 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007986/0.07529, allocations: 4.771 MB / 0.5124 GB, free: 8.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.0753, allocations: 0 / 0.5124 GB, free: 8.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.0753, allocations: 0 / 0.5124 GB, free: 8.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001874/0.07549, allocations: 0 / 0.5124 GB, free: 8.266 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.02295/0.09844, allocations: 6.926 MB / 0.5192 GB, free: 1.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.09849, allocations: 12.03 kB / 0.5192 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.1107, allocations: 1.976 MB / 0.5211 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/0.1168, allocations: 2.066 MB / 0.5231 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008544/0.1177, allocations: 0.6451 MB / 0.5238 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009415/0.1186, allocations: 211.9 kB / 0.524 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007338/0.126, allocations: 2.575 MB / 0.5265 GB, free: 9.539 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.126, allocations: 0 / 0.5265 GB, free: 9.539 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.1265, allocations: 80 kB / 0.5266 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.1265, allocations: 44 kB / 0.5266 GB, free: 9.418 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006053/0.1326, allocations: 2.37 MB / 0.5289 GB, free: 7.027 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.02109/0.1537, allocations: 7.184 MB / 0.5359 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.1656, allocations: 3.48 MB / 0.5393 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/0.1696, allocations: 1.505 MB / 0.5408 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.1699, allocations: 46 kB / 0.5408 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004875/0.1748, allocations: 1.941 MB / 0.5427 GB, free: 8.676 MB / 474.7 MB Notification: Performance of pre-optimization done (n=251): time 6.793e-06/0.1748, allocations: 3.938 kB / 0.5427 GB, free: 8.672 MB / 474.7 MB Notification: Performance of matching and sorting (n=251): time 0.09405/0.2688, allocations: 18.56 MB / 0.5609 GB, free: 6.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002196/0.2691, allocations: 235.6 kB / 0.5611 GB, free: 5.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006096/0.2752, allocations: 2.578 MB / 0.5636 GB, free: 3.145 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000794/0.276, allocations: 73.7 kB / 0.5637 GB, free: 3.066 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.2775, allocations: 1.199 MB / 0.5649 GB, free: 1.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00177/0.2793, allocations: 0.914 MB / 0.5657 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/0.2816, allocations: 0.5739 MB / 0.5663 GB, free: 364 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2818, allocations: 305.1 kB / 0.5666 GB, free: 56 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/0.2861, allocations: 1.777 MB / 0.5683 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/0.2907, allocations: 2.108 MB / 0.5704 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05065/0.3413, allocations: 11.45 MB / 0.5816 GB, free: 336 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/0.3413, allocations: 7.938 kB / 0.5816 GB, free: 328 kB / 0.4948 GB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02816/0.3695, allocations: 8.168 MB / 0.5896 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.3697, allocations: 174.3 kB / 0.5897 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/0.3698, allocations: 8 kB / 0.5897 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02287/0.3926, allocations: 4.388 MB / 0.594 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/0.397, allocations: 0.6163 MB / 0.5946 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2326/0.6296, allocations: 18.69 MB / 0.6129 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/0.634, allocations: 423.4 kB / 0.6133 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000492/0.6345, allocations: 123.7 kB / 0.6134 GB, free: 155.4 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.001366/0.6359, allocations: 0.603 MB / 0.614 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009326/0.6368, allocations: 411.4 kB / 0.6144 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02517/0.662, allocations: 7.567 MB / 0.6218 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.662, allocations: 30.23 kB / 0.6218 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.662, allocations: 3.906 kB / 0.6218 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-05/0.6621, allocations: 15.02 kB / 0.6218 GB, free: 152.8 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.02799/0.6901, allocations: 10.66 MB / 0.6322 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.6901, allocations: 0 / 0.6322 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.6916, allocations: 243.8 kB / 0.6324 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02183/0.7134, allocations: 5.083 MB / 0.6374 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007029/0.7141, allocations: 63.92 kB / 0.6375 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04/0.7541, allocations: 20.66 MB / 0.6576 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7541, allocations: 4 kB / 0.6577 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/0.7805, allocations: 9.64 MB / 0.6671 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.7817, allocations: 398.8 kB / 0.6674 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009713/0.7827, allocations: 56.98 kB / 0.6675 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/0.7857, allocations: 239.7 kB / 0.6677 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/0.7872, allocations: 416.5 kB / 0.6681 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/0.7874, allocations: 67.98 kB / 0.6682 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002746/0.7901, allocations: 1.718 MB / 0.6699 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.7901, allocations: 0 / 0.6699 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004399/0.7945, allocations: 1.085 MB / 0.6709 GB, free: 110.6 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.0005979/0.7951, allocations: 192.5 kB / 0.6711 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01207/0.8072, allocations: 5.559 MB / 0.6765 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.8072, allocations: 0 / 0.6765 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008659/0.8159, allocations: 3.649 MB / 0.6801 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.8186, allocations: 359 kB / 0.6804 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.8299, allocations: 5.782 MB / 0.6861 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.8311, allocations: 1.3 MB / 0.6874 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001365/0.8325, allocations: 271.1 kB / 0.6876 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.8332, allocations: 176.5 kB / 0.6878 GB, free: 92.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/0.8332, allocations: 0 / 0.6878 GB, free: 92.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.07917/0.9123, allocations: 61.13 MB / 0.7475 GB, free: 32.11 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.208796068909578]