Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.007083/0.007083, 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.267/1.267, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009124, allocations: 101.8 kB / 290.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4479/0.4479, allocations: 79.42 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003701, allocations: 8 kB / 0.489 GB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 69.52 MB / 0.5569 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.5079, allocations: 101.2 MB / 0.6558 GB, free: 56 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.5082, allocations: 77.11 kB / 0.6558 GB, free: 15.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06797/0.5762, allocations: 25.01 MB / 0.6802 GB, free: 7 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5762, allocations: 0 / 0.6802 GB, free: 7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.772e-05/0.5763, allocations: 20 kB / 0.6803 GB, free: 6.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.004964/0.5812, allocations: 1.755 MB / 0.682 GB, free: 5.176 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5813, allocations: 16.02 kB / 0.682 GB, free: 5.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.5838, allocations: 419 kB / 0.6824 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.5857, allocations: 0.7778 MB / 0.6832 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.586, allocations: 222.1 kB / 0.6834 GB, free: 3.668 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5862, allocations: 60 kB / 0.6834 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.588, allocations: 0.8692 MB / 0.6843 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.588, allocations: 0 / 0.6843 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.5881, allocations: 28 kB / 0.6843 GB, free: 2.707 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5881, allocations: 16.66 kB / 0.6843 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.59, allocations: 0.9108 MB / 0.6852 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006087/0.5961, allocations: 3.051 MB / 0.6882 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006062/0.6022, allocations: 1.974 MB / 0.6901 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/0.6023, allocations: 8.656 kB / 0.6901 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.6036, allocations: 0.6666 MB / 0.6908 GB, free: 11.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.156e-06/0.6036, allocations: 0 / 0.6908 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01875/0.6224, allocations: 5.509 MB / 0.6962 GB, free: 6.277 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.6225, allocations: 60 kB / 0.6962 GB, free: 6.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.6241, allocations: 0.832 MB / 0.697 GB, free: 5.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.6242, allocations: 37.7 kB / 0.6971 GB, free: 5.316 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.6246, allocations: 488.6 kB / 0.6975 GB, free: 4.832 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.6249, allocations: 252.3 kB / 0.6978 GB, free: 4.582 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.6249, allocations: 16 kB / 0.6978 GB, free: 4.566 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6251, allocations: 337.9 kB / 0.6981 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6261, allocations: 0.5134 MB / 0.6986 GB, free: 3.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6273, allocations: 0.6243 MB / 0.6992 GB, free: 3.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.6284, allocations: 0.5506 MB / 0.6997 GB, free: 2.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6285, allocations: 4 kB / 0.6998 GB, free: 2.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008905/0.6374, allocations: 3.124 MB / 0.7028 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.6374, allocations: 4.938 kB / 0.7028 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6374, allocations: 7.938 kB / 0.7028 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004959/0.6424, allocations: 1.487 MB / 0.7043 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.6432, allocations: 147.8 kB / 0.7044 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.6559, allocations: 5.977 MB / 0.7102 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.6575, allocations: 163.2 kB / 0.7104 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.6576, allocations: 31.98 kB / 0.7104 GB, free: 7.434 MB / 0.4948 GB 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.0005946/0.6582, allocations: 217.7 kB / 0.7106 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.6585, allocations: 110.6 kB / 0.7107 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/0.6676, allocations: 3.172 MB / 0.7138 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6677, allocations: 8 kB / 0.7139 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6677, allocations: 4 kB / 0.7139 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.6677, allocations: 7.984 kB / 0.7139 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.6789, allocations: 4.536 MB / 0.7183 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.679, allocations: 0 / 0.7183 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.6795, allocations: 98.17 kB / 0.7184 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005137/0.6847, allocations: 1.555 MB / 0.7199 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/0.6848, allocations: 15.98 kB / 0.7199 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.6979, allocations: 6.154 MB / 0.7259 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6979, allocations: 4 kB / 0.7259 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.7086, allocations: 3.942 MB / 0.7298 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.7091, allocations: 191.7 kB / 0.73 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.7093, allocations: 16 kB / 0.73 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.7104, allocations: 115.9 kB / 0.7301 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/0.7109, allocations: 156.4 kB / 0.7302 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.711, allocations: 20 kB / 0.7303 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001178/0.7122, allocations: 0.6513 MB / 0.7309 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7122, allocations: 0 / 0.7309 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001234/0.7135, allocations: 347.6 kB / 0.7312 GB, free: 1.797 MB / 0.5105 GB 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.0003079/0.7138, allocations: 140.1 kB / 0.7314 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004799/0.7186, allocations: 1.898 MB / 0.7332 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.7186, allocations: 4 kB / 0.7332 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.722, allocations: 1.337 MB / 0.7345 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.7227, allocations: 77.11 kB / 0.7346 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.7265, allocations: 2.077 MB / 0.7366 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.7273, allocations: 1.069 MB / 0.7377 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003978/0.7277, allocations: 89.42 kB / 0.7378 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.7279, allocations: 47.44 kB / 0.7378 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/0.7279, allocations: 0 / 0.7378 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.0247/0.7526, allocations: 15.58 MB / 0.753 GB, free: 11.43 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)