Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.005437/0.005437, allocations: 171.2 kB / 15.11 MB, free: 5.969 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.327/1.327, allocations: 223.2 MB / 239 MB, free: 1.773 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.001018/0.001018, allocations: 101.9 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4563/0.4563, allocations: 78.59 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 12 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4194, allocations: 69.36 MB / 0.5558 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5522, allocations: 103.7 MB / 0.657 GB, free: 2.789 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5525, allocations: 75.97 kB / 0.6571 GB, free: 2.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1929/0.7454, allocations: 73.65 MB / 0.729 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7455, allocations: 0 / 0.729 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002634/0.7458, allocations: 68.12 kB / 0.7291 GB, free: 8.5 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.01359/0.7593, allocations: 4.215 MB / 0.7332 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.7594, allocations: 11.97 kB / 0.7332 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007825/0.7672, allocations: 1.213 MB / 0.7344 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005945/0.7732, allocations: 1.892 MB / 0.7363 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005751/0.7738, allocations: 0.4984 MB / 0.7368 GB, free: 440 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006892/0.7745, allocations: 203.9 kB / 0.7369 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.7798, allocations: 2.538 MB / 0.7394 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.7799, allocations: 7.953 kB / 0.7394 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.7801, allocations: 76 kB / 0.7395 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.7801, allocations: 48 kB / 0.7396 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.785, allocations: 2.365 MB / 0.7419 GB, free: 11.17 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.01832/0.8033, allocations: 9.237 MB / 0.7509 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.8144, allocations: 5.149 MB / 0.7559 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/0.8149, allocations: 38.2 kB / 0.7559 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004355/0.8192, allocations: 1.923 MB / 0.7578 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=245): time 4.508e-06/0.8192, allocations: 0 / 0.7578 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=245): time 0.4341/1.253, allocations: 22.2 MB / 0.7795 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/1.253, allocations: 247.4 kB / 0.7797 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/1.258, allocations: 2.258 MB / 0.782 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008505/1.259, allocations: 70.77 kB / 0.782 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.26, allocations: 1.217 MB / 0.7832 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.262, allocations: 0.8427 MB / 0.784 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/1.262, allocations: 51.69 kB / 0.7841 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.262, allocations: 401.4 kB / 0.7845 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002901/1.265, allocations: 1.396 MB / 0.7858 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/1.268, allocations: 1.671 MB / 0.7875 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/1.271, allocations: 1.667 MB / 0.7891 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.271, allocations: 6.625 kB / 0.7891 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02273/1.293, allocations: 8.173 MB / 0.7971 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.293, allocations: 173.2 kB / 0.7972 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.294, allocations: 5.375 kB / 0.7972 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/1.307, allocations: 3.462 MB / 0.8006 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/1.31, allocations: 467.7 kB / 0.8011 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04519/1.356, allocations: 20.13 MB / 0.8207 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/1.36, allocations: 434.3 kB / 0.8211 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000447/1.36, allocations: 90.14 kB / 0.8212 GB, free: 108.9 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.001609/1.362, allocations: 0.5835 MB / 0.8218 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/1.363, allocations: 317.6 kB / 0.8221 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0235/1.386, allocations: 8.729 MB / 0.8306 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/1.387, allocations: 25.88 kB / 0.8307 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.387, allocations: 12.98 kB / 0.8307 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/1.387, allocations: 10.92 kB / 0.8307 GB, free: 106.1 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.03082/1.418, allocations: 13.2 MB / 0.8436 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/1.418, allocations: 0 / 0.8436 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.419, allocations: 237.6 kB / 0.8438 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/1.431, allocations: 3.917 MB / 0.8476 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006742/1.432, allocations: 56.02 kB / 0.8477 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0406/1.473, allocations: 21.85 MB / 0.869 GB, free: 87.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.473, allocations: 3.953 kB / 0.869 GB, free: 87.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/1.5, allocations: 10.73 MB / 0.8795 GB, free: 78.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.502, allocations: 467.5 kB / 0.8799 GB, free: 78.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008513/1.503, allocations: 52 kB / 0.88 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.506, allocations: 295.7 kB / 0.8803 GB, free: 78.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/1.507, allocations: 394.5 kB / 0.8806 GB, free: 78.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.507, allocations: 73.38 kB / 0.8807 GB, free: 77.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002899/1.51, allocations: 1.746 MB / 0.8824 GB, free: 76.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.51, allocations: 0 / 0.8824 GB, free: 76.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004383/1.514, allocations: 1.007 MB / 0.8834 GB, free: 75.51 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.0005478/1.515, allocations: 205.9 kB / 0.8836 GB, free: 75.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.527, allocations: 5.408 MB / 0.8889 GB, free: 70.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.527, allocations: 0 / 0.8889 GB, free: 70.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008706/1.536, allocations: 3.924 MB / 0.8927 GB, free: 66.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.538, allocations: 259.9 kB / 0.893 GB, free: 66.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009851/1.548, allocations: 6.798 MB / 0.8996 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.549, allocations: 1.896 MB / 0.9015 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001386/1.551, allocations: 233.4 kB / 0.9017 GB, free: 58.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/1.551, allocations: 138.6 kB / 0.9018 GB, free: 58.67 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/1.551, allocations: 0 / 0.9018 GB, free: 58.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.07649/1.628, allocations: 50.43 MB / 0.9511 GB, free: 14.23 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)