Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.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.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008843/0.008843, allocations: 172 kB / 15.11 MB, free: 5.969 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.554/1.554, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009372/0.0009372, allocations: 98.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07695/0.07695, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.449/0.449, allocations: 78.52 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005068, allocations: 26.34 kB / 0.5285 GB, free: 35.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 69.33 MB / 0.5962 GB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.59, allocations: 102.2 MB / 0.696 GB, free: 99.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.5902, allocations: 75.78 kB / 0.6961 GB, free: 99.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06375/0.6539, allocations: 24.12 MB / 0.7196 GB, free: 90.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6539, allocations: 0 / 0.7196 GB, free: 90.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.782e-05/0.6541, allocations: 19.31 kB / 0.7197 GB, free: 90.98 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.005152/0.6592, allocations: 1.755 MB / 0.7214 GB, free: 89.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6593, allocations: 11.98 kB / 0.7214 GB, free: 89.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.6617, allocations: 422 kB / 0.7218 GB, free: 89.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.6636, allocations: 0.7782 MB / 0.7225 GB, free: 88.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.6638, allocations: 217.8 kB / 0.7227 GB, free: 88.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.664, allocations: 60 kB / 0.7228 GB, free: 87.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.6656, allocations: 0.8692 MB / 0.7237 GB, free: 87.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6656, allocations: 0 / 0.7237 GB, free: 87.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.6657, allocations: 32 kB / 0.7237 GB, free: 87.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.6657, allocations: 19.94 kB / 0.7237 GB, free: 87.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.6674, allocations: 0.9108 MB / 0.7246 GB, free: 86.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.6722, allocations: 3.055 MB / 0.7276 GB, free: 82.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/0.6779, allocations: 1.977 MB / 0.7295 GB, free: 80.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/0.678, allocations: 12.64 kB / 0.7295 GB, free: 80.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.6791, allocations: 0.6602 MB / 0.7302 GB, free: 80.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=74): time 2.435e-06/0.6791, allocations: 0 / 0.7302 GB, free: 80.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=74): time 0.01678/0.6959, allocations: 5.505 MB / 0.7355 GB, free: 74.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.6959, allocations: 67.94 kB / 0.7356 GB, free: 74.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.6973, allocations: 0.8319 MB / 0.7364 GB, free: 73.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.6973, allocations: 37.7 kB / 0.7365 GB, free: 73.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.6976, allocations: 480.7 kB / 0.7369 GB, free: 73.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.6978, allocations: 256.2 kB / 0.7372 GB, free: 72.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.6979, allocations: 16 kB / 0.7372 GB, free: 72.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.698, allocations: 337.9 kB / 0.7375 GB, free: 72.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009142/0.6989, allocations: 0.5134 MB / 0.738 GB, free: 72.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000944/0.6999, allocations: 0.6204 MB / 0.7386 GB, free: 71.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/0.7008, allocations: 0.5506 MB / 0.7391 GB, free: 70.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7008, allocations: 0 / 0.7391 GB, free: 70.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007787/0.7086, allocations: 3.128 MB / 0.7422 GB, free: 67.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7087, allocations: 11.94 kB / 0.7422 GB, free: 67.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7087, allocations: 0 / 0.7422 GB, free: 67.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/0.7132, allocations: 1.489 MB / 0.7437 GB, free: 66.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/0.7141, allocations: 139.8 kB / 0.7438 GB, free: 66.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.7258, allocations: 5.972 MB / 0.7496 GB, free: 59.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.7272, allocations: 155.3 kB / 0.7498 GB, free: 59.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.7274, allocations: 27.98 kB / 0.7498 GB, free: 59.76 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(start = Gen1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.728, allocations: 221.7 kB / 0.75 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.7283, allocations: 114.5 kB / 0.7501 GB, free: 59.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008231/0.7366, allocations: 3.18 MB / 0.7532 GB, free: 56.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.7366, allocations: 11.95 kB / 0.7532 GB, free: 56.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7366, allocations: 4 kB / 0.7532 GB, free: 56.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.7367, allocations: 3.984 kB / 0.7532 GB, free: 56.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.7471, allocations: 4.532 MB / 0.7577 GB, free: 51.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.7472, allocations: 0 / 0.7577 GB, free: 51.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.7478, allocations: 95.89 kB / 0.7578 GB, free: 51.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/0.7525, allocations: 1.554 MB / 0.7593 GB, free: 49.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.7526, allocations: 19.94 kB / 0.7593 GB, free: 49.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.7646, allocations: 6.147 MB / 0.7653 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7647, allocations: 0 / 0.7653 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009778/0.7745, allocations: 3.938 MB / 0.7691 GB, free: 39.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.775, allocations: 203.7 kB / 0.7693 GB, free: 39.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.7753, allocations: 15.95 kB / 0.7694 GB, free: 39.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7764, allocations: 115.9 kB / 0.7695 GB, free: 39.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.7769, allocations: 156.4 kB / 0.7696 GB, free: 39.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.777, allocations: 16 kB / 0.7696 GB, free: 39.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.7781, allocations: 0.6553 MB / 0.7703 GB, free: 38.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7781, allocations: 0 / 0.7703 GB, free: 38.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001314/0.7794, allocations: 347.5 kB / 0.7706 GB, free: 38.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003146/0.7797, allocations: 139.7 kB / 0.7707 GB, free: 37.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004288/0.784, allocations: 1.899 MB / 0.7726 GB, free: 36.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.784, allocations: 7.938 kB / 0.7726 GB, free: 36.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/0.7871, allocations: 1.336 MB / 0.7739 GB, free: 34.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.7879, allocations: 81.11 kB / 0.774 GB, free: 34.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.7913, allocations: 2.078 MB / 0.776 GB, free: 32.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.7918, allocations: 1.061 MB / 0.777 GB, free: 31.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000362/0.7921, allocations: 85.42 kB / 0.7771 GB, free: 31.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.7923, allocations: 51.44 kB / 0.7772 GB, free: 31.26 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/0.7923, allocations: 0 / 0.7772 GB, free: 31.26 MB / 474.7 MB Notification: Performance of Templates: time 0.02232/0.8147, allocations: 15.6 MB / 0.7924 GB, free: 15.68 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)