Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008433/0.008433, allocations: 171.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009208, allocations: 98.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07296/0.07296, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4309/0.4309, allocations: 78.51 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.00051, allocations: 22.53 kB / 0.5285 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1445, allocations: 69.33 MB / 0.5962 GB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6117, allocations: 105.4 MB / 0.6991 GB, free: 37.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.612, allocations: 71.8 kB / 0.6992 GB, free: 37.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2138/0.8258, allocations: 71.79 MB / 0.7693 GB, free: 16.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.771e-06/0.8258, allocations: 0 / 0.7693 GB, free: 16.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005188/0.8264, allocations: 66.12 kB / 0.7693 GB, free: 16.64 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.0177/0.8441, allocations: 4.224 MB / 0.7735 GB, free: 14.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.8442, allocations: 15.77 kB / 0.7735 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.855, allocations: 1.197 MB / 0.7746 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007784/0.8628, allocations: 1.896 MB / 0.7765 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007263/0.8635, allocations: 0.4944 MB / 0.777 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.8648, allocations: 201.4 kB / 0.7772 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009096/0.8739, allocations: 2.547 MB / 0.7796 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.874, allocations: 0 / 0.7796 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006681/0.8747, allocations: 77.56 kB / 0.7797 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.8748, allocations: 46.88 kB / 0.7798 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007176/0.8819, allocations: 2.372 MB / 0.7821 GB, free: 11.45 MB / 474.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.02463/0.9066, allocations: 9.221 MB / 0.7911 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.9204, allocations: 5.159 MB / 0.7961 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.9209, allocations: 37.97 kB / 0.7962 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006614/0.9275, allocations: 1.918 MB / 0.798 GB, free: 13.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 1.338e-05/0.9276, allocations: 0 / 0.798 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.1219/1.05, allocations: 22.22 MB / 0.8197 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.05, allocations: 231.6 kB / 0.82 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/1.054, allocations: 2.267 MB / 0.8222 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007883/1.055, allocations: 65.7 kB / 0.8222 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009764/1.056, allocations: 1.218 MB / 0.8234 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.057, allocations: 0.847 MB / 0.8242 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/1.057, allocations: 52 kB / 0.8243 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.058, allocations: 403 kB / 0.8247 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.06, allocations: 1.403 MB / 0.8261 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/1.063, allocations: 1.666 MB / 0.8277 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/1.066, allocations: 1.67 MB / 0.8293 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.066, allocations: 4 kB / 0.8293 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02227/1.089, allocations: 8.165 MB / 0.8373 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/1.089, allocations: 174.2 kB / 0.8375 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.089, allocations: 8.031 kB / 0.8375 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/1.1, allocations: 3.463 MB / 0.8408 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/1.103, allocations: 463.4 kB / 0.8413 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04426/1.148, allocations: 20.14 MB / 0.861 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004485/1.152, allocations: 425.8 kB / 0.8614 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/1.153, allocations: 91.97 kB / 0.8615 GB, free: 11.62 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 ($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 initialization (235): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002615/1.156, allocations: 0.586 MB / 0.862 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.157, allocations: 320.1 kB / 0.8623 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02586/1.183, allocations: 8.73 MB / 0.8709 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/1.183, allocations: 28 kB / 0.8709 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.183, allocations: 4 kB / 0.8709 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.078e-05/1.183, allocations: 15.95 kB / 0.8709 GB, free: 1.859 MB / 0.5417 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.0364/1.22, allocations: 13.2 MB / 0.8838 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.22, allocations: 4.094 kB / 0.8838 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.221, allocations: 239.7 kB / 0.884 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/1.235, allocations: 3.91 MB / 0.8878 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008805/1.236, allocations: 55.98 kB / 0.8879 GB, free: 204 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04977/1.286, allocations: 21.85 MB / 0.9092 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.286, allocations: 4 kB / 0.9092 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3627/1.648, allocations: 10.72 MB / 0.9197 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.65, allocations: 470 kB / 0.9202 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007912/1.65, allocations: 54.7 kB / 0.9202 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/1.653, allocations: 293.6 kB / 0.9205 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/1.654, allocations: 395.2 kB / 0.9209 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.655, allocations: 66.45 kB / 0.9209 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002829/1.657, allocations: 1.746 MB / 0.9226 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.657, allocations: 0 / 0.9226 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003385/1.661, allocations: 1.008 MB / 0.9236 GB, free: 161.4 MB / 0.5886 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 (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 48,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004163/1.661, allocations: 203.9 kB / 0.9238 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.674, allocations: 5.4 MB / 0.9291 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.674, allocations: 0.9375 kB / 0.9291 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01156/1.685, allocations: 3.923 MB / 0.9329 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/1.689, allocations: 262.5 kB / 0.9332 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.703, allocations: 6.796 MB / 0.9398 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.704, allocations: 1.896 MB / 0.9417 GB, free: 156 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001347/1.706, allocations: 226.6 kB / 0.9419 GB, free: 156 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/1.706, allocations: 141.6 kB / 0.942 GB, free: 156 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/1.706, allocations: 0 / 0.942 GB, free: 156 MB / 0.5886 GB Notification: Performance of Templates: time 0.07473/1.781, allocations: 50.44 MB / 0.9913 GB, free: 147.5 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)