Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_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.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.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.222/1.222, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008209/0.000821, allocations: 89.33 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4494/0.4494, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.941e-05, allocations: 7.984 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 69.34 MB / 0.548 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4474, allocations: 100.6 MB / 0.6462 GB, free: 15.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.4476, allocations: 67.97 kB / 0.6463 GB, free: 15.92 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07067/0.5183, allocations: 24.77 MB / 0.6705 GB, free: 6.938 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.5183, allocations: 0 / 0.6705 GB, free: 6.938 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.333e-05/0.5184, allocations: 23.94 kB / 0.6705 GB, free: 6.914 MB / 490.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.003824/0.5222, allocations: 1.519 MB / 0.672 GB, free: 5.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5223, allocations: 11.97 kB / 0.672 GB, free: 5.336 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.5245, allocations: 414.1 kB / 0.6724 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.526, allocations: 0.7391 MB / 0.6731 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.5262, allocations: 226 kB / 0.6733 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.5263, allocations: 60 kB / 0.6734 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5276, allocations: 0.7094 MB / 0.6741 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5276, allocations: 0 / 0.6741 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.5277, allocations: 28 kB / 0.6741 GB, free: 3.078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.5277, allocations: 12 kB / 0.6741 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.5289, allocations: 0.7042 MB / 0.6748 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3325/0.8614, allocations: 3.049 MB / 0.6778 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006665/0.8681, allocations: 1.79 MB / 0.6795 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000846/0.869, allocations: 450.3 kB / 0.6799 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.8691, allocations: 16.73 kB / 0.6799 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.8701, allocations: 0.5048 MB / 0.6804 GB, free: 104.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.525e-06/0.8701, allocations: 0.5 kB / 0.6804 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.009097/0.8792, allocations: 2.665 MB / 0.683 GB, free: 104.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.8793, allocations: 59.62 kB / 0.6831 GB, free: 104.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.8809, allocations: 0.7897 MB / 0.6839 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.8811, allocations: 37.95 kB / 0.6839 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.8814, allocations: 484.5 kB / 0.6844 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.8817, allocations: 258.8 kB / 0.6846 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.8818, allocations: 15.09 kB / 0.6846 GB, free: 103.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.8819, allocations: 337.9 kB / 0.685 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.8825, allocations: 361.8 kB / 0.6853 GB, free: 103.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.8832, allocations: 467.9 kB / 0.6857 GB, free: 103.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.8838, allocations: 406.5 kB / 0.6861 GB, free: 103.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8838, allocations: 3.938 kB / 0.6861 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007154/0.891, allocations: 2.699 MB / 0.6888 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.891, allocations: 11.62 kB / 0.6888 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.891, allocations: 3.906 kB / 0.6888 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/0.8952, allocations: 1.265 MB / 0.69 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/0.896, allocations: 143.4 kB / 0.6902 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/0.9037, allocations: 4.593 MB / 0.6946 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.9051, allocations: 172.7 kB / 0.6948 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.9051, allocations: 31.5 kB / 0.6948 GB, free: 100.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(start = Gen1.delta0 unit = "rad" ) "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 () * 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.0001976/0.9053, allocations: 140.3 kB / 0.695 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.9055, allocations: 108.8 kB / 0.6951 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007634/0.9131, allocations: 2.756 MB / 0.6978 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.9132, allocations: 7.812 kB / 0.6978 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.9132, allocations: 1.5 kB / 0.6978 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.9132, allocations: 3.609 kB / 0.6978 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00868/0.9219, allocations: 4.11 MB / 0.7018 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.9219, allocations: 8.281 kB / 0.7018 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.9224, allocations: 92.28 kB / 0.7019 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/0.9265, allocations: 1.316 MB / 0.7032 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.9266, allocations: 15.88 kB / 0.7032 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.9351, allocations: 4.911 MB / 0.708 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9351, allocations: 0 / 0.708 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009223/0.9444, allocations: 3.357 MB / 0.7113 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.9448, allocations: 199.5 kB / 0.7115 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.945, allocations: 16 kB / 0.7115 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9461, allocations: 119.2 kB / 0.7116 GB, free: 91.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004555/0.9466, allocations: 152.6 kB / 0.7117 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.9467, allocations: 20 kB / 0.7117 GB, free: 91.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008274/0.9475, allocations: 0.6235 MB / 0.7124 GB, free: 91.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9475, allocations: 2.812 kB / 0.7124 GB, free: 91.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001056/0.9486, allocations: 335.9 kB / 0.7127 GB, free: 90.94 MB / 490.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 () * 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.0002581/0.9488, allocations: 146 kB / 0.7128 GB, free: 90.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003699/0.9525, allocations: 1.572 MB / 0.7144 GB, free: 89.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.9526, allocations: 0 / 0.7144 GB, free: 89.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.9555, allocations: 1.171 MB / 0.7155 GB, free: 88.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.9566, allocations: 80.02 kB / 0.7156 GB, free: 88.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.9596, allocations: 1.308 MB / 0.7169 GB, free: 86.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.9601, allocations: 1.063 MB / 0.7179 GB, free: 86.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.9605, allocations: 78.38 kB / 0.718 GB, free: 85.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.9607, allocations: 50.67 kB / 0.718 GB, free: 85.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9607, allocations: 0 / 0.718 GB, free: 85.93 MB / 490.7 MB Notification: Performance of Templates: time 0.02265/0.9834, allocations: 15.58 MB / 0.7332 GB, free: 72.43 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)