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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004034/0.004034, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 96.81 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3888/0.3888, allocations: 78.51 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 15.97 kB / 499.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3037, allocations: 69.35 MB / 0.5557 GB, free: 38.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.4112, allocations: 103.7 MB / 0.657 GB, free: 2.695 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.4114, allocations: 79.95 kB / 0.6571 GB, free: 2.617 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1783/0.5897, allocations: 73.65 MB / 0.729 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5897, allocations: 3.938 kB / 0.729 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002879/0.59, allocations: 56 kB / 0.729 GB, free: 8.41 MB / 0.5261 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.01117/0.6012, allocations: 4.226 MB / 0.7332 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.6013, allocations: 8.031 kB / 0.7332 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/0.6081, allocations: 1.213 MB / 0.7344 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.6125, allocations: 1.899 MB / 0.7362 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.613, allocations: 0.4945 MB / 0.7367 GB, free: 336 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/0.6136, allocations: 199.8 kB / 0.7369 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.6185, allocations: 2.538 MB / 0.7394 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.6186, allocations: 3.953 kB / 0.7394 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.6188, allocations: 79.98 kB / 0.7395 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.6189, allocations: 44 kB / 0.7395 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00431/0.6232, allocations: 2.376 MB / 0.7418 GB, free: 11.07 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 preOpt removeSimpleEquations (simulation): time 0.01442/0.6376, allocations: 9.233 MB / 0.7508 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009798/0.6474, allocations: 5.145 MB / 0.7559 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.6476, allocations: 34.2 kB / 0.7559 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003407/0.651, allocations: 1.924 MB / 0.7578 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=245): time 4.619e-06/0.651, allocations: 0 / 0.7578 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=245): time 0.2862/0.9372, allocations: 22.21 MB / 0.7795 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.9373, allocations: 239 kB / 0.7797 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.9405, allocations: 2.261 MB / 0.7819 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.9407, allocations: 71.38 kB / 0.782 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000796/0.9415, allocations: 1.219 MB / 0.7831 GB, free: 116 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/0.9421, allocations: 0.8451 MB / 0.784 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.9423, allocations: 51.56 kB / 0.784 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.9424, allocations: 398.7 kB / 0.7844 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.9446, allocations: 1.404 MB / 0.7858 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.947, allocations: 1.67 MB / 0.7874 GB, free: 115 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.9494, allocations: 1.67 MB / 0.789 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.9494, allocations: 0 / 0.789 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01945/0.9688, allocations: 8.178 MB / 0.797 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.9689, allocations: 171.6 kB / 0.7972 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9689, allocations: 6.312 kB / 0.7972 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.9795, allocations: 3.459 MB / 0.8006 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/0.9817, allocations: 460.2 kB / 0.801 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03774/1.019, allocations: 20.15 MB / 0.8207 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/1.023, allocations: 430.7 kB / 0.8211 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/1.023, allocations: 89.25 kB / 0.8212 GB, free: 108.1 MB / 0.5573 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.00136/1.024, allocations: 0.5767 MB / 0.8217 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/1.025, allocations: 320.8 kB / 0.822 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/1.047, allocations: 8.733 MB / 0.8306 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.047, allocations: 25.41 kB / 0.8306 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.047, allocations: 3.953 kB / 0.8306 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/1.047, allocations: 14.84 kB / 0.8306 GB, free: 105.3 MB / 0.5573 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.02603/1.073, allocations: 13.2 MB / 0.8435 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.073, allocations: 3.188 kB / 0.8435 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.074, allocations: 243.4 kB / 0.8437 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/1.085, allocations: 3.915 MB / 0.8476 GB, free: 99.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/1.085, allocations: 55.44 kB / 0.8476 GB, free: 99.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03658/1.122, allocations: 21.85 MB / 0.869 GB, free: 87.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.122, allocations: 3.953 kB / 0.869 GB, free: 87.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/1.145, allocations: 10.73 MB / 0.8794 GB, free: 78.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/1.146, allocations: 469.1 kB / 0.8799 GB, free: 77.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/1.146, allocations: 54 kB / 0.8799 GB, free: 77.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/1.149, allocations: 297.5 kB / 0.8802 GB, free: 77.33 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009685/1.15, allocations: 398.6 kB / 0.8806 GB, free: 77.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.15, allocations: 63.61 kB / 0.8807 GB, free: 77.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002762/1.153, allocations: 1.745 MB / 0.8824 GB, free: 75.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/1.153, allocations: 4 kB / 0.8824 GB, free: 75.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002874/1.156, allocations: 1.012 MB / 0.8834 GB, free: 74.6 MB / 0.5573 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.0003946/1.156, allocations: 199.4 kB / 0.8836 GB, free: 74.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009756/1.166, allocations: 5.401 MB / 0.8888 GB, free: 69.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.166, allocations: 0 / 0.8888 GB, free: 69.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007131/1.173, allocations: 3.922 MB / 0.8927 GB, free: 66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.175, allocations: 264.7 kB / 0.8929 GB, free: 65.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/1.183, allocations: 6.795 MB / 0.8995 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.184, allocations: 1.898 MB / 0.9014 GB, free: 58.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008831/1.185, allocations: 229.1 kB / 0.9016 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/1.186, allocations: 143.1 kB / 0.9018 GB, free: 57.78 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/1.186, allocations: 4 kB / 0.9018 GB, free: 57.78 MB / 0.5573 GB Notification: Performance of Templates: time 0.05906/1.245, allocations: 50.42 MB / 0.951 GB, free: 13.39 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)