Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003773/0.003774, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.15/1.15, allocations: 223.2 MB / 239 MB, free: 1.754 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.0007943/0.0007943, allocations: 97.34 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.396/0.396, allocations: 78.52 MB / 419.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 16 kB / 499.7 MB, free: 2.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 69.35 MB / 0.5557 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3909, allocations: 100.6 MB / 0.654 GB, free: 5.691 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/0.3911, allocations: 75.95 kB / 0.6541 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0638/0.4549, allocations: 24.84 MB / 0.6783 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4549, allocations: 0 / 0.6783 GB, free: 12.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.818e-05/0.455, allocations: 19.94 kB / 0.6783 GB, free: 12.6 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.004155/0.4591, allocations: 1.756 MB / 0.6801 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4592, allocations: 8.031 kB / 0.6801 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.4614, allocations: 422.1 kB / 0.6805 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.4629, allocations: 0.7778 MB / 0.6812 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.4631, allocations: 218.1 kB / 0.6814 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4632, allocations: 60 kB / 0.6815 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.4648, allocations: 0.8771 MB / 0.6823 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4648, allocations: 0 / 0.6823 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.4649, allocations: 27.98 kB / 0.6824 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.4649, allocations: 16 kB / 0.6824 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.4666, allocations: 0.9031 MB / 0.6833 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.4715, allocations: 3.058 MB / 0.6863 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/0.4774, allocations: 1.962 MB / 0.6882 GB, free: 2.148 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/0.4775, allocations: 8.656 kB / 0.6882 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.4787, allocations: 0.668 MB / 0.6888 GB, free: 1.461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.064e-06/0.4787, allocations: 0 / 0.6888 GB, free: 1.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01783/0.4966, allocations: 5.512 MB / 0.6942 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4966, allocations: 60.06 kB / 0.6943 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.4979, allocations: 0.8203 MB / 0.6951 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.498, allocations: 41.7 kB / 0.6951 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.4983, allocations: 488.6 kB / 0.6956 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.4986, allocations: 256.3 kB / 0.6958 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.4986, allocations: 12 kB / 0.6958 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4987, allocations: 337.9 kB / 0.6962 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.4997, allocations: 0.5173 MB / 0.6967 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5008, allocations: 0.6243 MB / 0.6973 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.5019, allocations: 0.5467 MB / 0.6978 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5019, allocations: 0 / 0.6978 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008165/0.5101, allocations: 3.132 MB / 0.7009 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5101, allocations: 8 kB / 0.7009 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5101, allocations: 0 / 0.7009 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/0.5147, allocations: 1.496 MB / 0.7023 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.5155, allocations: 143.8 kB / 0.7025 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.5269, allocations: 5.983 MB / 0.7083 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.5281, allocations: 163.2 kB / 0.7085 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.5282, allocations: 23.98 kB / 0.7085 GB, free: 13.04 MB / 0.5105 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.0004686/0.5287, allocations: 221.7 kB / 0.7087 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.5288, allocations: 110.6 kB / 0.7088 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008571/0.5374, allocations: 3.173 MB / 0.7119 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.5374, allocations: 8 kB / 0.7119 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5375, allocations: 0 / 0.7119 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.5375, allocations: 3.984 kB / 0.7119 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/0.5473, allocations: 4.556 MB / 0.7164 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5473, allocations: 0 / 0.7164 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.5478, allocations: 95.88 kB / 0.7165 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004666/0.5525, allocations: 1.547 MB / 0.718 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.5525, allocations: 12 kB / 0.718 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.5644, allocations: 6.162 MB / 0.724 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5644, allocations: 0 / 0.724 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009885/0.5743, allocations: 3.938 MB / 0.7278 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5747, allocations: 199.7 kB / 0.728 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.5748, allocations: 19.98 kB / 0.7281 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009166/0.5757, allocations: 107.9 kB / 0.7282 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/0.5762, allocations: 152.4 kB / 0.7283 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.5762, allocations: 19.98 kB / 0.7283 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008892/0.5771, allocations: 0.6591 MB / 0.729 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5771, allocations: 0 / 0.729 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009078/0.578, allocations: 339.6 kB / 0.7293 GB, free: 7.395 MB / 0.5261 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.0002254/0.5783, allocations: 147 kB / 0.7294 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004304/0.5826, allocations: 1.894 MB / 0.7313 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5826, allocations: 4.188 kB / 0.7313 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003175/0.5858, allocations: 1.336 MB / 0.7326 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.5864, allocations: 82.8 kB / 0.7327 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5893, allocations: 2.073 MB / 0.7347 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.5899, allocations: 1.076 MB / 0.7357 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003249/0.5902, allocations: 73.44 kB / 0.7358 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5904, allocations: 51.44 kB / 0.7359 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.5904, allocations: 3.938 kB / 0.7359 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of Templates: time 0.02156/0.6119, allocations: 15.58 MB / 0.7511 GB, free: 0.9961 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)