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.0009406/0.0009406, allocations: 175.4 kB / 7.648 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007804/0.0007804, allocations: 74.72 kB / 261.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06256/0.06256, allocations: 12.59 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4322/0.4322, allocations: 78.05 MB / 450.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.638e-05, allocations: 2.625 kB / 0.5147 GB, free: 41.74 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 69.32 MB / 0.5824 GB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.237, allocations: 104.6 MB / 0.6846 GB, free: 7.566 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.2372, allocations: 75.95 kB / 0.6846 GB, free: 7.492 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4138/0.651, allocations: 70.88 MB / 0.7539 GB, free: 57.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.651, allocations: 0 / 0.7539 GB, free: 57.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001755/0.6512, allocations: 63.94 kB / 0.7539 GB, free: 57.32 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.00718/0.6584, allocations: 3.475 MB / 0.7573 GB, free: 53.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6585, allocations: 12.03 kB / 0.7573 GB, free: 53.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006176/0.6646, allocations: 1.194 MB / 0.7585 GB, free: 52.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.6672, allocations: 1.802 MB / 0.7603 GB, free: 50.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.6676, allocations: 438.4 kB / 0.7607 GB, free: 50.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.6678, allocations: 123.9 kB / 0.7608 GB, free: 50.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002849/0.6707, allocations: 1.921 MB / 0.7627 GB, free: 48.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.6737, allocations: 1.957 MB / 0.7646 GB, free: 46.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.6738, allocations: 0 / 0.7646 GB, free: 46.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.674, allocations: 3.984 kB / 0.7646 GB, free: 46.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.674, allocations: 48 kB / 0.7646 GB, free: 46.11 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01216/0.6861, allocations: 8.912 MB / 0.7733 GB, free: 36.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0083/0.6945, allocations: 4.702 MB / 0.7779 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.6959, allocations: 1.276 MB / 0.7792 GB, free: 30.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.6961, allocations: 42.19 kB / 0.7792 GB, free: 30.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/0.6982, allocations: 1.538 MB / 0.7807 GB, free: 29.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 3.747e-06/0.6982, allocations: 0 / 0.7807 GB, free: 29.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=245): time 0.02018/0.7184, allocations: 7.31 MB / 0.7879 GB, free: 21.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.7185, allocations: 247.6 kB / 0.7881 GB, free: 21.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.7207, allocations: 1.955 MB / 0.79 GB, free: 19.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.7209, allocations: 29.7 kB / 0.79 GB, free: 19.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.7216, allocations: 1.209 MB / 0.7912 GB, free: 18.15 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005744/0.7222, allocations: 0.8159 MB / 0.792 GB, free: 17.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.7224, allocations: 0 / 0.792 GB, free: 17.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.7225, allocations: 399.1 kB / 0.7924 GB, free: 16.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.7239, allocations: 1.044 MB / 0.7934 GB, free: 15.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.7256, allocations: 1.3 MB / 0.7947 GB, free: 14.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.7272, allocations: 1.156 MB / 0.7958 GB, free: 13.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.7272, allocations: 0 / 0.7958 GB, free: 13.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01767/0.7449, allocations: 6.918 MB / 0.8026 GB, free: 6.352 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.745, allocations: 173.5 kB / 0.8027 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.745, allocations: 8.562 kB / 0.8027 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008955/0.754, allocations: 2.789 MB / 0.8055 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.7561, allocations: 467.4 kB / 0.8059 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02776/0.7839, allocations: 15.58 MB / 0.8211 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.7875, allocations: 377.8 kB / 0.8215 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.7878, allocations: 91.97 kB / 0.8216 GB, free: 2.449 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "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 () * 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.0005847/0.7884, allocations: 243.1 kB / 0.8218 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.7889, allocations: 316.1 kB / 0.8221 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02227/0.8112, allocations: 7.529 MB / 0.8295 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/0.8112, allocations: 28 kB / 0.8295 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8113, allocations: 0 / 0.8295 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.739e-05/0.8113, allocations: 11.95 kB / 0.8295 GB, free: 10.27 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.02839/0.8397, allocations: 11.81 MB / 0.841 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.8398, allocations: 4 kB / 0.841 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.8413, allocations: 231.7 kB / 0.8412 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/0.8521, allocations: 3.33 MB / 0.8445 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003884/0.8526, allocations: 23.98 kB / 0.8445 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03122/0.8838, allocations: 17.49 MB / 0.8616 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.8838, allocations: 7.938 kB / 0.8616 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/0.9089, allocations: 9.243 MB / 0.8706 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.91, allocations: 456.6 kB / 0.8711 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/0.9106, allocations: 11.95 kB / 0.8711 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/0.9132, allocations: 255.7 kB / 0.8713 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/0.9144, allocations: 394.1 kB / 0.8717 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.9146, allocations: 67.98 kB / 0.8718 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002202/0.9168, allocations: 1.461 MB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9168, allocations: 0 / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0028/0.9196, allocations: 0.9048 MB / 0.8741 GB, free: 11.79 MB / 0.5417 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 () * 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.00039/0.92, allocations: 165.2 kB / 0.8742 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009544/0.9295, allocations: 4.565 MB / 0.8787 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9296, allocations: 0 / 0.8787 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008005/0.9376, allocations: 3.453 MB / 0.8821 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.9398, allocations: 221.7 kB / 0.8823 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.9484, allocations: 4.502 MB / 0.8867 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.9498, allocations: 1.9 MB / 0.8885 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001042/0.9509, allocations: 224 kB / 0.8887 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.9514, allocations: 139.4 kB / 0.8889 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.9515, allocations: 0 / 0.8889 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.3232/1.275, allocations: 46.51 MB / 0.9343 GB, free: 147.6 MB / 0.5573 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)