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.0008398/0.0008398, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1.013/1.013, allocations: 177.1 MB / 200.3 MB, free: 5.664 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.00146/0.00146, allocations: 152.6 kB / 257 MB, free: 12.95 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.4007/0.4007, allocations: 80.25 MB / 340.5 MB, free: 9.617 MB / 314.7 MB " [Timeout remaining time 180] 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.363e-06/1.363e-06, allocations: 0 / 383.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.438e-05, allocations: 2.312 kB / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009612/0.009636, allocations: 12.56 MB / 396.3 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008157/0.01779, allocations: 3.882 MB / 400.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.01922, allocations: 27.94 kB / 400.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.02021, allocations: 0.5418 MB / 400.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.02286, allocations: 1.672 MB / 402.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.02488, allocations: 1.408 MB / 403.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003491/0.02837, allocations: 4.188 MB / 408.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.02919, allocations: 0.665 MB / 408.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.03157, allocations: 2.342 MB / 411.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.03315, allocations: 1.608 MB / 412.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.03347, allocations: 380 kB / 413 MB, free: 1.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.03407, allocations: 0.5271 MB / 413.6 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.03471, allocations: 0.8753 MB / 414.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007593/0.03547, allocations: 1.184 MB / 415.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.03759, allocations: 2.926 MB / 418.6 MB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.03759, allocations: 4 kB / 418.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03759, allocations: 3.938 kB / 418.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.03761, allocations: 4 kB / 418.6 MB, free: 11.71 MB / 394.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.00734/0.04495, allocations: 5.441 MB / 424 MB, free: 6.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.04498, allocations: 12.03 kB / 424 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.05006, allocations: 2.064 MB / 426.1 MB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.05173, allocations: 1.302 MB / 427.4 MB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005036/0.05224, allocations: 0.6412 MB / 428 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.05247, allocations: 208 kB / 428.2 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.05414, allocations: 1.6 MB / 429.8 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.05417, allocations: 0 / 429.8 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.0543, allocations: 79.98 kB / 429.9 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.05432, allocations: 48 kB / 429.9 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.05539, allocations: 0.7919 MB / 430.7 MB, free: 15.2 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.006529/0.06191, allocations: 4.636 MB / 435.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.06485, allocations: 2.013 MB / 437.4 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.06546, allocations: 0.6105 MB / 438 MB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.06561, allocations: 49.98 kB / 438 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.06662, allocations: 1.134 MB / 439.2 MB, free: 6.539 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 4.359e-06/0.06662, allocations: 0 / 439.2 MB, free: 6.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.2202/0.2868, allocations: 13.45 MB / 452.6 MB, free: 63.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.2868, allocations: 236.5 kB / 452.9 MB, free: 63.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.2884, allocations: 1.969 MB / 454.8 MB, free: 63.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.2885, allocations: 75.81 kB / 454.9 MB, free: 63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.2889, allocations: 0.7578 MB / 455.7 MB, free: 62.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/0.2894, allocations: 0.9356 MB / 456.6 MB, free: 62.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005652/0.2899, allocations: 0.5824 MB / 457.2 MB, free: 62.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.29, allocations: 309 kB / 457.5 MB, free: 61.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/0.2909, allocations: 0.7802 MB / 458.3 MB, free: 61.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.292, allocations: 1.106 MB / 459.4 MB, free: 61.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.2951, allocations: 3.086 MB / 462.5 MB, free: 59.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.2951, allocations: 0 / 462.5 MB, free: 59.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007204/0.3023, allocations: 4.799 MB / 467.3 MB, free: 55.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.3024, allocations: 174.1 kB / 467.4 MB, free: 55.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3024, allocations: 4.562 kB / 467.4 MB, free: 55.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006825/0.3092, allocations: 3.046 MB / 470.5 MB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3105, allocations: 0.6017 MB / 471.1 MB, free: 51.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.3208, allocations: 9.358 MB / 480.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.3225, allocations: 343.8 kB / 480.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.3226, allocations: 91.89 kB / 480.9 MB, free: 42.11 MB / 410.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.0007207/0.3233, allocations: 373.3 kB / 481.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.3236, allocations: 263.7 kB / 481.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006845/0.3305, allocations: 4.495 MB / 486 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3305, allocations: 28.77 kB / 486 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3305, allocations: 0 / 486 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.3305, allocations: 15.95 kB / 486 MB, free: 36.82 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 postOpt removeSimpleEquations (simulation): time 0.009069/0.3396, allocations: 6.368 MB / 492.4 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3396, allocations: 0 / 492.4 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.3402, allocations: 239.7 kB / 492.6 MB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007605/0.3478, allocations: 3.688 MB / 496.3 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.3479, allocations: 58.98 kB / 496.4 MB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.3591, allocations: 11.23 MB / 0.4957 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3591, allocations: 11.92 kB / 0.4957 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008052/0.3671, allocations: 5.184 MB / 0.5008 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/0.3678, allocations: 304.6 kB / 0.5011 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.3681, allocations: 51.94 kB / 0.5011 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.369, allocations: 163.9 kB / 0.5013 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005923/0.3696, allocations: 398.2 kB / 0.5017 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/0.3697, allocations: 51.98 kB / 0.5017 GB, free: 8.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008075/0.3705, allocations: 1.057 MB / 0.5027 GB, free: 7.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3705, allocations: 0.5469 kB / 0.5027 GB, free: 7.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00217/0.3726, allocations: 1.068 MB / 0.5038 GB, free: 6.457 MB / 410.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.0003151/0.373, allocations: 169.1 kB / 0.5039 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004276/0.3772, allocations: 3.682 MB / 0.5075 GB, free: 2.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/0.3773, allocations: 29.81 kB / 0.5076 GB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00294/0.3802, allocations: 2.687 MB / 0.5102 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.3813, allocations: 326.5 kB / 0.5105 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.3886, allocations: 5.078 MB / 0.5155 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.3891, allocations: 0.5531 MB / 0.516 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005726/0.3896, allocations: 251.8 kB / 0.5162 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/0.3903, allocations: 363.3 kB / 0.5166 GB, free: 8.953 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3903, allocations: 0 / 0.5166 GB, free: 8.953 MB / 426.7 MB Notification: Performance of Templates: time 0.07308/0.4634, allocations: 63.76 MB / 0.5789 GB, free: 9.676 MB / 490.7 MB " [Timeout remaining time 660] 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: 6.117697970941663]