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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.8782/0.8782, allocations: 177.2 MB / 200 MB, free: 3.965 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.001164/0.001164, allocations: 162.5 kB / 256.6 MB, free: 176 kB / 234.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.3792/0.3792, allocations: 80.21 MB / 393.4 MB, free: 9.961 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.433e-06/1.433e-06, allocations: 0 / 489.8 MB, free: 9.891 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.575e-05, allocations: 6.25 kB / 489.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.1744/0.1744, allocations: 12.8 MB / 0.4908 GB, free: 44.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.1811, allocations: 3.714 MB / 0.4944 GB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.1831, allocations: 29.81 kB / 0.4945 GB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.1844, allocations: 0.5249 MB / 0.495 GB, free: 43.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.188, allocations: 1.662 MB / 0.4966 GB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.1903, allocations: 1.409 MB / 0.498 GB, free: 41.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.1943, allocations: 4.199 MB / 0.5021 GB, free: 39.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009357/0.1953, allocations: 0.6257 MB / 0.5027 GB, free: 39.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.198, allocations: 2.335 MB / 0.505 GB, free: 38.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.1997, allocations: 1.597 MB / 0.5065 GB, free: 37.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008299/0.2005, allocations: 381.3 kB / 0.5069 GB, free: 37.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.2014, allocations: 0.5391 MB / 0.5074 GB, free: 37.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.2018, allocations: 0.8733 MB / 0.5083 GB, free: 36.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.2032, allocations: 1.179 MB / 0.5094 GB, free: 36.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.2061, allocations: 2.932 MB / 0.5123 GB, free: 34.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2061, allocations: 0 / 0.5123 GB, free: 34.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2061, allocations: 0 / 0.5123 GB, free: 34.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001296/0.2062, allocations: 3.938 kB / 0.5123 GB, free: 34.51 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.009309/0.2155, allocations: 7.095 MB / 0.5192 GB, free: 31.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2156, allocations: 9.062 kB / 0.5192 GB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00559/0.2212, allocations: 1.991 MB / 0.5212 GB, free: 30.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.2238, allocations: 1.913 MB / 0.523 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003217/0.2241, allocations: 0.6343 MB / 0.5237 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.2243, allocations: 208.7 kB / 0.5239 GB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.2268, allocations: 1.747 MB / 0.5256 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.2268, allocations: 1.406 kB / 0.5256 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.227, allocations: 78.91 kB / 0.5256 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.227, allocations: 44.91 kB / 0.5257 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2288, allocations: 1.138 MB / 0.5268 GB, free: 27.93 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.009375/0.2382, allocations: 6.567 MB / 0.5332 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004343/0.2426, allocations: 2.265 MB / 0.5354 GB, free: 23.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.2438, allocations: 0.8255 MB / 0.5362 GB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.2439, allocations: 49.36 kB / 0.5363 GB, free: 23.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/0.2456, allocations: 1.244 MB / 0.5375 GB, free: 23.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 6.883e-06/0.2456, allocations: 0 / 0.5375 GB, free: 23.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.03601/0.2816, allocations: 14.47 MB / 0.5516 GB, free: 13.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.2817, allocations: 235.6 kB / 0.5518 GB, free: 13.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2838, allocations: 2.208 MB / 0.554 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003232/0.2842, allocations: 77.7 kB / 0.5541 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.2847, allocations: 1.256 MB / 0.5553 GB, free: 9.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/0.2853, allocations: 0.9218 MB / 0.5562 GB, free: 8.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006736/0.286, allocations: 0.6086 MB / 0.5568 GB, free: 8.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.286, allocations: 480.8 kB / 0.5573 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2872, allocations: 0.8954 MB / 0.5581 GB, free: 6.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.2884, allocations: 1.296 MB / 0.5594 GB, free: 5.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/0.292, allocations: 3.409 MB / 0.5627 GB, free: 1.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.292, allocations: 7.938 kB / 0.5627 GB, free: 1.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01011/0.3022, allocations: 5.606 MB / 0.5682 GB, free: 11.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.3022, allocations: 174.2 kB / 0.5684 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3023, allocations: 4 kB / 0.5684 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009026/0.3113, allocations: 3.228 MB / 0.5715 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.3133, allocations: 0.6163 MB / 0.5721 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.3301, allocations: 12.57 MB / 0.5844 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.3323, allocations: 346.2 kB / 0.5847 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.3325, allocations: 120 kB / 0.5848 GB, free: 10.53 MB / 442.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.0007835/0.3333, allocations: 418.7 kB / 0.5852 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.3339, allocations: 405.9 kB / 0.5856 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/0.3438, allocations: 5.174 MB / 0.5907 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.3438, allocations: 28 kB / 0.5907 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3438, allocations: 0 / 0.5907 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-05/0.3439, allocations: 15.52 kB / 0.5907 GB, free: 4.367 MB / 442.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.01489/0.3588, allocations: 8.125 MB / 0.5987 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.3588, allocations: 4 kB / 0.5987 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.3596, allocations: 239.7 kB / 0.5989 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01001/0.3696, allocations: 3.813 MB / 0.6026 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/0.3699, allocations: 55.98 kB / 0.6027 GB, free: 7.938 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.3874, allocations: 14.86 MB / 0.6172 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3874, allocations: 0 / 0.6172 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.3991, allocations: 6.12 MB / 0.6232 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.4, allocations: 393.2 kB / 0.6235 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.4003, allocations: 52 kB / 0.6236 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4014, allocations: 167.8 kB / 0.6237 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008744/0.4022, allocations: 402.2 kB / 0.6241 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/0.4025, allocations: 71.97 kB / 0.6242 GB, free: 1.207 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001428/0.4039, allocations: 1.343 MB / 0.6255 GB, free: 15.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4039, allocations: 0 / 0.6255 GB, free: 15.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002413/0.4063, allocations: 1.058 MB / 0.6265 GB, free: 14.8 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.0003888/0.4067, allocations: 189.9 kB / 0.6267 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005985/0.4127, allocations: 4.223 MB / 0.6308 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4127, allocations: 0 / 0.6308 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004274/0.4169, allocations: 3.111 MB / 0.6339 GB, free: 6.914 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.4184, allocations: 330.3 kB / 0.6342 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.4258, allocations: 5.244 MB / 0.6393 GB, free: 1.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.4264, allocations: 0.5491 MB / 0.6399 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007614/0.4271, allocations: 271.1 kB / 0.6401 GB, free: 412 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.4276, allocations: 176.4 kB / 0.6403 GB, free: 236 kB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4276, allocations: 0 / 0.6403 GB, free: 236 kB / 490.7 MB Notification: Performance of Templates: time 0.2191/0.6466, allocations: 64.87 MB / 0.7036 GB, free: 155.7 MB / 0.5261 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: 6.666777807753533]