Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.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.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005181/0.005181, allocations: 171.1 kB / 15.11 MB, free: 5.977 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.216/1.216, allocations: 223.2 MB / 239 MB, free: 1.762 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.000846/0.0008461, allocations: 98.53 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4109/0.4109, allocations: 78.53 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 12 kB / 499.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3019, allocations: 69.34 MB / 0.5557 GB, free: 38.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.4071, allocations: 97.01 MB / 0.6504 GB, free: 9.379 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.4073, allocations: 75.97 kB / 0.6505 GB, free: 9.305 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0471/0.4544, allocations: 18.55 MB / 0.6686 GB, free: 6.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4544, allocations: 224 / 0.6686 GB, free: 6.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.4544, allocations: 15.94 kB / 0.6686 GB, free: 6.629 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.00331/0.4578, allocations: 1.444 MB / 0.67 GB, free: 5.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4578, allocations: 11.97 kB / 0.6701 GB, free: 5.117 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.4594, allocations: 322.5 kB / 0.6704 GB, free: 4.801 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/0.4603, allocations: 0.586 MB / 0.6709 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.4606, allocations: 205.8 kB / 0.6711 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4607, allocations: 52 kB / 0.6712 GB, free: 3.895 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4621, allocations: 0.8187 MB / 0.672 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4622, allocations: 0 / 0.672 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.4622, allocations: 20 kB / 0.672 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4623, allocations: 12 kB / 0.672 GB, free: 3.031 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.4637, allocations: 0.7664 MB / 0.6728 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.4679, allocations: 2.73 MB / 0.6754 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.4694, allocations: 1.088 MB / 0.6765 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.4695, allocations: 12.55 kB / 0.6765 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.4707, allocations: 0.6349 MB / 0.6771 GB, free: 13.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 1.974e-06/0.4707, allocations: 0 / 0.6771 GB, free: 13.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.01683/0.4875, allocations: 5.172 MB / 0.6822 GB, free: 8.301 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.4876, allocations: 85.67 kB / 0.6823 GB, free: 8.199 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/0.4884, allocations: 0.6136 MB / 0.6829 GB, free: 7.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.4885, allocations: 33.7 kB / 0.6829 GB, free: 7.535 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.4888, allocations: 384.8 kB / 0.6833 GB, free: 7.156 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.489, allocations: 232.6 kB / 0.6835 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.4891, allocations: 12 kB / 0.6835 GB, free: 6.914 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4892, allocations: 326 kB / 0.6838 GB, free: 6.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/0.4901, allocations: 457.1 kB / 0.6842 GB, free: 6.145 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/0.491, allocations: 0.5488 MB / 0.6848 GB, free: 5.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.4919, allocations: 478 kB / 0.6852 GB, free: 5.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.492, allocations: 8 kB / 0.6852 GB, free: 5.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008653/0.5006, allocations: 3.149 MB / 0.6883 GB, free: 1.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5007, allocations: 4.312 kB / 0.6883 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5007, allocations: 8 kB / 0.6883 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/0.5047, allocations: 1.294 MB / 0.6896 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.5051, allocations: 107.8 kB / 0.6897 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.5197, allocations: 7.18 MB / 0.6967 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/0.5207, allocations: 139.5 kB / 0.6968 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.5208, allocations: 24 kB / 0.6969 GB, free: 9.031 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.5212, allocations: 205.7 kB / 0.6971 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5213, allocations: 90.88 kB / 0.6971 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008307/0.5296, allocations: 3.146 MB / 0.7002 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5296, allocations: 12 kB / 0.7002 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5296, allocations: 0 / 0.7002 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.5297, allocations: 3.984 kB / 0.7002 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009559/0.5392, allocations: 4.389 MB / 0.7045 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5393, allocations: 4 kB / 0.7045 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.5397, allocations: 87.83 kB / 0.7046 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/0.5433, allocations: 1.273 MB / 0.7058 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.5434, allocations: 16 kB / 0.7059 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.5569, allocations: 6.319 MB / 0.712 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.557, allocations: 4 kB / 0.712 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.5678, allocations: 3.839 MB / 0.7158 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.5681, allocations: 179.9 kB / 0.716 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.5682, allocations: 12 kB / 0.716 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.569, allocations: 103.9 kB / 0.7161 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004135/0.5694, allocations: 148.3 kB / 0.7162 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.5695, allocations: 19.98 kB / 0.7162 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006117/0.5701, allocations: 495 kB / 0.7167 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5701, allocations: 4 kB / 0.7167 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008929/0.571, allocations: 307.6 kB / 0.717 GB, free: 4.059 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.5712, allocations: 124.6 kB / 0.7171 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003819/0.575, allocations: 1.691 MB / 0.7188 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.575, allocations: 4 kB / 0.7188 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0028/0.5778, allocations: 1.176 MB / 0.7199 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.5783, allocations: 67.23 kB / 0.72 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.5811, allocations: 1.9 MB / 0.7218 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.5816, allocations: 0.9937 MB / 0.7228 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.5818, allocations: 52.48 kB / 0.7229 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.5819, allocations: 43.42 kB / 0.7229 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.5819, allocations: 0 / 0.7229 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.0196/0.6015, allocations: 14.29 MB / 0.7368 GB, free: 15.67 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)