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.001541/0.001541, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.271/1.271, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008/0.0008, allocations: 93.83 kB / 266.6 MB, free: 9.277 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.06521/0.06521, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2834/0.2834, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.789e-05, allocations: 8 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 69.34 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4753, allocations: 105.3 MB / 0.6923 GB, free: 10.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4755, allocations: 69.88 kB / 0.6924 GB, free: 10.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1888/0.6643, allocations: 71.69 MB / 0.7624 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.614e-06/0.6644, allocations: 0 / 0.7624 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002113/0.6646, allocations: 56 kB / 0.7624 GB, free: 12.84 MB / 0.4948 GB 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.009348/0.674, allocations: 3.487 MB / 0.7658 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.674, allocations: 15.97 kB / 0.7659 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007664/0.6817, allocations: 1.19 MB / 0.767 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.686, allocations: 1.802 MB / 0.7688 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005147/0.6866, allocations: 0.4945 MB / 0.7693 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004807/0.6871, allocations: 195.9 kB / 0.7694 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/0.6913, allocations: 2.223 MB / 0.7716 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.6914, allocations: 4 kB / 0.7716 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/0.6916, allocations: 79.98 kB / 0.7717 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.6916, allocations: 44 kB / 0.7717 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.6953, allocations: 2.018 MB / 0.7737 GB, free: 1.039 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 preOpt removeSimpleEquations (simulation): time 0.01717/0.7125, allocations: 9.248 MB / 0.7827 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009809/0.7223, allocations: 4.79 MB / 0.7874 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/0.7247, allocations: 1.343 MB / 0.7887 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.7249, allocations: 37.92 kB / 0.7888 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002607/0.7275, allocations: 1.611 MB / 0.7903 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 4.719e-06/0.7275, allocations: 0 / 0.7903 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.023/0.7505, allocations: 7.588 MB / 0.7977 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.7507, allocations: 235.7 kB / 0.798 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.7544, allocations: 2.151 MB / 0.8001 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.755, allocations: 65.7 kB / 0.8001 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009322/0.7559, allocations: 1.225 MB / 0.8013 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000997/0.7569, allocations: 0.847 MB / 0.8022 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.7571, allocations: 55.94 kB / 0.8022 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7573, allocations: 403 kB / 0.8026 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.7592, allocations: 1.095 MB / 0.8037 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.7612, allocations: 1.37 MB / 0.805 GB, free: 116 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.7634, allocations: 1.359 MB / 0.8063 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.7634, allocations: 4 kB / 0.8063 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02063/0.784, allocations: 7.307 MB / 0.8135 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.7842, allocations: 170.2 kB / 0.8136 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.7842, allocations: 7.953 kB / 0.8136 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.7949, allocations: 2.938 MB / 0.8165 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.7975, allocations: 463.4 kB / 0.817 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/0.8276, allocations: 16.09 MB / 0.8327 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/0.8313, allocations: 437.8 kB / 0.8331 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.8316, allocations: 91.97 kB / 0.8332 GB, free: 2.629 MB / 0.5573 GB 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.0005918/0.8322, allocations: 330.4 kB / 0.8335 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.8327, allocations: 320 kB / 0.8338 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02266/0.8554, allocations: 7.863 MB / 0.8415 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.8555, allocations: 31.94 kB / 0.8415 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8555, allocations: 0 / 0.8415 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/0.8556, allocations: 11.95 kB / 0.8415 GB, free: 10.01 MB / 0.573 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.02978/0.8854, allocations: 12.33 MB / 0.8536 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.8854, allocations: 0 / 0.8536 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.8871, allocations: 235.7 kB / 0.8538 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/0.8985, allocations: 3.365 MB / 0.8571 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005686/0.8991, allocations: 55.98 kB / 0.8571 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.31/1.209, allocations: 17.89 MB / 0.8746 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.209, allocations: 1.828 kB / 0.8746 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02672/1.236, allocations: 9.558 MB / 0.8839 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.237, allocations: 462.7 kB / 0.8844 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007834/1.238, allocations: 54.89 kB / 0.8844 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/1.241, allocations: 296.2 kB / 0.8847 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001576/1.243, allocations: 399.1 kB / 0.8851 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.243, allocations: 67.23 kB / 0.8851 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002995/1.246, allocations: 1.639 MB / 0.8867 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.242e-06/1.246, allocations: 6.531 kB / 0.8867 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004371/1.25, allocations: 1.017 MB / 0.8877 GB, free: 159.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 () * 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.0005636/1.251, allocations: 193 kB / 0.8879 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009903/1.261, allocations: 4.751 MB / 0.8926 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.261, allocations: 0 / 0.8926 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.008134/1.269, allocations: 3.57 MB / 0.8961 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.271, allocations: 267.5 kB / 0.8963 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008357/1.28, allocations: 4.637 MB / 0.9008 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.281, allocations: 1.9 MB / 0.9027 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00125/1.282, allocations: 229.3 kB / 0.9029 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/1.283, allocations: 143.3 kB / 0.903 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/1.283, allocations: 0 / 0.903 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.07282/1.356, allocations: 50.63 MB / 0.9525 GB, free: 139.8 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)