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.00151/0.00151, allocations: 80.75 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.022/1.022, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001287/0.001287, allocations: 159.4 kB / 257 MB, free: 12.8 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.4285/0.4285, allocations: 83.32 MB / 343.6 MB, free: 6.668 MB / 314.7 MB " [Timeout remaining time 180] 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.382e-06/1.382e-06, allocations: 0 / 387.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.345e-05, allocations: 5.406 kB / 387.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.00904/0.009064, allocations: 12.62 MB / 400.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007511/0.01657, allocations: 3.889 MB / 404.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.01857, allocations: 28 kB / 404.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.0198, allocations: 0.5418 MB / 405 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.0233, allocations: 1.653 MB / 406.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.02564, allocations: 1.415 MB / 408.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005306/0.03095, allocations: 4.192 MB / 412.3 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.03198, allocations: 0.6689 MB / 413 MB, free: 1.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.03536, allocations: 2.342 MB / 415.3 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.03726, allocations: 1.6 MB / 416.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006241/0.03789, allocations: 380 kB / 417.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.03875, allocations: 0.5427 MB / 417.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.03923, allocations: 0.8753 MB / 418.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.04025, allocations: 1.188 MB / 419.9 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.04333, allocations: 2.934 MB / 422.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.04333, allocations: 0 / 422.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.04334, allocations: 0 / 422.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.914e-05/0.04341, allocations: 4 kB / 422.8 MB, free: 7.633 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.008621/0.05204, allocations: 5.453 MB / 428.3 MB, free: 2.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.05208, allocations: 12.03 kB / 428.3 MB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/0.05872, allocations: 2.056 MB / 430.3 MB, free: 24 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.06107, allocations: 1.306 MB / 431.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.06144, allocations: 0.6334 MB / 432.3 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.06169, allocations: 219.9 kB / 432.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.06359, allocations: 1.604 MB / 434.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.06362, allocations: 0 / 434.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.06375, allocations: 80 kB / 434.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.06377, allocations: 44 kB / 434.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.06491, allocations: 0.788 MB / 435 MB, free: 11.12 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.008/0.07291, allocations: 4.57 MB / 439.6 MB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.076, allocations: 2.02 MB / 441.6 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.07669, allocations: 0.6104 MB / 442.2 MB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.07684, allocations: 50 kB / 442.3 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.07799, allocations: 1.123 MB / 443.4 MB, free: 2.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 5.75e-06/0.07799, allocations: 0 / 443.4 MB, free: 2.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.2123/0.2903, allocations: 13.38 MB / 456.7 MB, free: 57.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.2903, allocations: 234.6 kB / 457 MB, free: 57.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.292, allocations: 1.974 MB / 459 MB, free: 57.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002616/0.2922, allocations: 75.77 kB / 459 MB, free: 57.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.2926, allocations: 0.759 MB / 459.8 MB, free: 56.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005358/0.2931, allocations: 0.9324 MB / 460.7 MB, free: 56.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/0.2937, allocations: 0.587 MB / 461.3 MB, free: 56.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.672e-05/0.2937, allocations: 305.1 kB / 461.6 MB, free: 55.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009845/0.2947, allocations: 0.7787 MB / 462.4 MB, free: 55.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.2957, allocations: 1.113 MB / 463.5 MB, free: 54.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.2987, allocations: 3.083 MB / 466.6 MB, free: 52.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.2987, allocations: 4 kB / 466.6 MB, free: 52.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007515/0.3063, allocations: 4.801 MB / 471.4 MB, free: 47.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.3063, allocations: 172.1 kB / 471.6 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3063, allocations: 8 kB / 471.6 MB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006969/0.3133, allocations: 3.044 MB / 474.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.3156, allocations: 0.8148 MB / 475.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.3267, allocations: 9.441 MB / 484.9 MB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.3289, allocations: 347.8 kB / 485.2 MB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.329, allocations: 87.95 kB / 485.3 MB, free: 34 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.0007039/0.3297, allocations: 379.7 kB / 485.7 MB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.3301, allocations: 263.7 kB / 485.9 MB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006947/0.337, allocations: 4.5 MB / 490.4 MB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.3371, allocations: 32 kB / 490.4 MB, free: 28.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3371, allocations: 0 / 490.4 MB, free: 28.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.3371, allocations: 15.94 kB / 490.5 MB, free: 28.7 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.009638/0.3467, allocations: 6.344 MB / 496.8 MB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.3467, allocations: 0 / 496.8 MB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.3475, allocations: 278.5 kB / 497.1 MB, free: 22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008029/0.3555, allocations: 3.69 MB / 0.489 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000407/0.3559, allocations: 60.64 kB / 0.4891 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.3678, allocations: 11.32 MB / 0.5001 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3678, allocations: 0 / 0.5001 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008257/0.3761, allocations: 5.187 MB / 0.5052 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007631/0.3768, allocations: 309.2 kB / 0.5055 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.3771, allocations: 48 kB / 0.5055 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.378, allocations: 161.2 kB / 0.5057 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008044/0.3788, allocations: 394.3 kB / 0.5061 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/0.3789, allocations: 55.97 kB / 0.5061 GB, free: 352 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009367/0.3798, allocations: 1.061 MB / 0.5072 GB, free: 15.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3798, allocations: 0 / 0.5072 GB, free: 15.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002349/0.3822, allocations: 1.063 MB / 0.5082 GB, free: 14.25 MB / 426.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.0003435/0.3825, allocations: 181.9 kB / 0.5084 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005202/0.3877, allocations: 3.684 MB / 0.512 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-05/0.3878, allocations: 32.56 kB / 0.512 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00356/0.3913, allocations: 2.672 MB / 0.5146 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3928, allocations: 336.8 kB / 0.5149 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.3997, allocations: 5.039 MB / 0.5199 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.4002, allocations: 0.5493 MB / 0.5204 GB, free: 1.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007746/0.401, allocations: 264.2 kB / 0.5206 GB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/0.4017, allocations: 375.3 kB / 0.521 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/0.4017, allocations: 0 / 0.521 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of Templates: time 0.07317/0.4748, allocations: 64.93 MB / 0.5844 GB, free: 328 kB / 490.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6792391003109515]