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.001291/0.001291, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.985/0.985, allocations: 177.2 MB / 200.3 MB, free: 5.375 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.001252/0.001252, allocations: 163.3 kB / 257 MB, free: 12.82 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.5082/0.5082, allocations: 80.23 MB / 340.5 MB, free: 9.574 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.233e-06/1.233e-06, allocations: 0 / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.282e-05, allocations: 9.125 kB / 383.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009285/0.009298, allocations: 12.6 MB / 396.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007015/0.01631, allocations: 3.882 MB / 400.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008524/0.01717, allocations: 27.94 kB / 400.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.01794, allocations: 0.5496 MB / 400.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.02013, allocations: 1.656 MB / 402.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.02185, allocations: 1.412 MB / 403.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.02474, allocations: 4.185 MB / 408.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006614/0.0254, allocations: 0.665 MB / 408.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.02699, allocations: 2.338 MB / 411.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.02824, allocations: 1.6 MB / 412.7 MB, free: 1.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.02857, allocations: 380 kB / 413.1 MB, free: 1.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.02916, allocations: 0.5427 MB / 413.7 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007587/0.02992, allocations: 0.8792 MB / 414.5 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.03066, allocations: 1.184 MB / 415.7 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.03275, allocations: 2.93 MB / 418.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03276, allocations: 0 / 418.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03276, allocations: 0 / 418.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.03278, allocations: 0 / 418.6 MB, free: 11.66 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.007815/0.0406, allocations: 5.453 MB / 424.1 MB, free: 6.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.04063, allocations: 8.031 kB / 424.1 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.04613, allocations: 2.064 MB / 426.2 MB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.04774, allocations: 1.309 MB / 427.5 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.04809, allocations: 0.6373 MB / 428.1 MB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.04863, allocations: 208 kB / 428.3 MB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.05032, allocations: 1.604 MB / 429.9 MB, free: 84 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.05035, allocations: 0 / 429.9 MB, free: 84 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.05047, allocations: 79.98 kB / 430 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.05051, allocations: 52.03 kB / 430.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.0516, allocations: 0.784 MB / 430.8 MB, free: 15.14 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.006709/0.05831, allocations: 4.64 MB / 435.5 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.06128, allocations: 2.009 MB / 437.5 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.0619, allocations: 0.5988 MB / 438.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.06205, allocations: 57.92 kB / 438.1 MB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.06313, allocations: 1.119 MB / 439.3 MB, free: 6.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 4.008e-06/0.06313, allocations: 0 / 439.3 MB, free: 6.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.2374/0.3006, allocations: 13.46 MB / 452.7 MB, free: 64.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.3006, allocations: 237.8 kB / 452.9 MB, free: 64.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.3025, allocations: 1.965 MB / 454.9 MB, free: 63.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.3027, allocations: 80.8 kB / 455 MB, free: 63.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.3031, allocations: 0.763 MB / 455.8 MB, free: 63.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.3037, allocations: 0.9315 MB / 456.7 MB, free: 63.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006395/0.3043, allocations: 0.5882 MB / 457.3 MB, free: 63.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.3044, allocations: 305.1 kB / 457.6 MB, free: 62.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3055, allocations: 0.7758 MB / 458.3 MB, free: 62.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.3066, allocations: 1.11 MB / 459.5 MB, free: 61.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.3099, allocations: 3.082 MB / 462.5 MB, free: 60.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.3099, allocations: 0 / 462.5 MB, free: 60.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007586/0.3175, allocations: 4.802 MB / 467.3 MB, free: 56.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.3176, allocations: 172 kB / 467.5 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3176, allocations: 4 kB / 467.5 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007113/0.3247, allocations: 3.039 MB / 470.6 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.3267, allocations: 0.8241 MB / 471.4 MB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.3377, allocations: 9.436 MB / 480.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.3395, allocations: 346.1 kB / 481.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.3397, allocations: 87.95 kB / 481.2 MB, free: 42.54 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.0006383/0.3403, allocations: 372.4 kB / 481.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.3406, allocations: 260.3 kB / 481.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/0.3477, allocations: 4.503 MB / 486.4 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.3477, allocations: 28 kB / 486.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3477, allocations: 0 / 486.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.3477, allocations: 15.95 kB / 486.4 MB, free: 37.24 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.009514/0.3572, allocations: 6.368 MB / 492.8 MB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3572, allocations: 0 / 492.8 MB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.3579, allocations: 273.6 kB / 493 MB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008122/0.366, allocations: 3.69 MB / 496.7 MB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.3663, allocations: 51.98 kB / 496.8 MB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.3795, allocations: 11.33 MB / 0.4962 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3795, allocations: 0 / 0.4962 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.3902, allocations: 5.182 MB / 0.5013 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007953/0.391, allocations: 309.3 kB / 0.5016 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.3914, allocations: 54.25 kB / 0.5016 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.3925, allocations: 159.9 kB / 0.5018 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009611/0.3935, allocations: 402.2 kB / 0.5021 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.3936, allocations: 47.98 kB / 0.5022 GB, free: 8.742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.3947, allocations: 1.066 MB / 0.5032 GB, free: 7.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3947, allocations: 0 / 0.5032 GB, free: 7.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002442/0.3971, allocations: 1.069 MB / 0.5043 GB, free: 6.602 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.000359/0.3975, allocations: 158.8 kB / 0.5044 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005599/0.4031, allocations: 3.698 MB / 0.508 GB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/0.4031, allocations: 28.94 kB / 0.5081 GB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0039/0.407, allocations: 2.664 MB / 0.5107 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.4084, allocations: 348.8 kB / 0.511 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/0.417, allocations: 5.08 MB / 0.516 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.4175, allocations: 0.5506 MB / 0.5165 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008151/0.4183, allocations: 263.3 kB / 0.5167 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/0.4192, allocations: 383.3 kB / 0.5171 GB, free: 9.043 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4192, allocations: 0 / 0.5171 GB, free: 9.043 MB / 426.7 MB Notification: Performance of Templates: time 0.07147/0.4907, allocations: 64.92 MB / 0.5805 GB, free: 8.625 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.287469774950296]