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.007672/0.007672, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.307/1.307, allocations: 223.2 MB / 239 MB, free: 40 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.0008667/0.0008667, allocations: 99.88 kB / 290.2 MB, free: 4.625 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4628/0.4628, allocations: 78.58 MB / 419.9 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003595, allocations: 15.98 kB / 499.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 69.35 MB / 0.5558 GB, free: 1.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4712, allocations: 100.6 MB / 0.654 GB, free: 1.547 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.4714, allocations: 81.23 kB / 0.6541 GB, free: 1.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06802/0.5395, allocations: 24.83 MB / 0.6784 GB, free: 9.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5395, allocations: 0 / 0.6784 GB, free: 9.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.5396, allocations: 20 kB / 0.6784 GB, free: 9.211 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.005872/0.5455, allocations: 1.76 MB / 0.6801 GB, free: 7.402 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5456, allocations: 12.03 kB / 0.6801 GB, free: 7.391 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.5482, allocations: 418.1 kB / 0.6805 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.5503, allocations: 0.7778 MB / 0.6813 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.5506, allocations: 218.1 kB / 0.6815 GB, free: 5.902 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.5508, allocations: 64 kB / 0.6815 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.5527, allocations: 0.8732 MB / 0.6824 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5527, allocations: 0 / 0.6824 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5528, allocations: 28 kB / 0.6824 GB, free: 4.934 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5529, allocations: 13.88 kB / 0.6824 GB, free: 4.922 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.5548, allocations: 0.9109 MB / 0.6833 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00594/0.5608, allocations: 3.051 MB / 0.6863 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.5673, allocations: 1.971 MB / 0.6882 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/0.5674, allocations: 8.656 kB / 0.6882 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.5689, allocations: 0.6641 MB / 0.6889 GB, free: 14.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.467e-06/0.5689, allocations: 0 / 0.6889 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01933/0.5882, allocations: 5.509 MB / 0.6943 GB, free: 8.508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.5883, allocations: 64.05 kB / 0.6943 GB, free: 8.434 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.59, allocations: 0.8241 MB / 0.6951 GB, free: 7.594 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5901, allocations: 37.7 kB / 0.6952 GB, free: 7.551 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.5905, allocations: 496.6 kB / 0.6956 GB, free: 7.059 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.5909, allocations: 248.3 kB / 0.6959 GB, free: 6.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.591, allocations: 16 kB / 0.6959 GB, free: 6.797 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5911, allocations: 337.9 kB / 0.6962 GB, free: 6.461 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.5922, allocations: 0.5134 MB / 0.6967 GB, free: 5.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.5934, allocations: 0.6243 MB / 0.6973 GB, free: 5.289 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5946, allocations: 0.5446 MB / 0.6979 GB, free: 4.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5946, allocations: 4 kB / 0.6979 GB, free: 4.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008833/0.6034, allocations: 3.137 MB / 0.7009 GB, free: 1.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.6035, allocations: 4 kB / 0.7009 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.6035, allocations: 4 kB / 0.7009 GB, free: 1.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005047/0.6086, allocations: 1.487 MB / 0.7024 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.6094, allocations: 139.9 kB / 0.7025 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.6217, allocations: 5.978 MB / 0.7084 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.6231, allocations: 163.2 kB / 0.7085 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-05/0.6232, allocations: 27.98 kB / 0.7085 GB, free: 9.664 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.0005026/0.6237, allocations: 219.9 kB / 0.7088 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.6239, allocations: 118.6 kB / 0.7089 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008957/0.6329, allocations: 3.173 MB / 0.712 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.6329, allocations: 8 kB / 0.712 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6329, allocations: 0 / 0.712 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.6329, allocations: 7.984 kB / 0.712 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6437, allocations: 4.544 MB / 0.7164 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.6438, allocations: 0 / 0.7164 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.6444, allocations: 94.75 kB / 0.7165 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/0.6495, allocations: 1.551 MB / 0.718 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.6497, allocations: 16 kB / 0.718 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.6626, allocations: 6.154 MB / 0.724 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6626, allocations: 0 / 0.724 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.6733, allocations: 3.938 MB / 0.7279 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.6737, allocations: 195.7 kB / 0.7281 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.6738, allocations: 20.02 kB / 0.7281 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/0.6748, allocations: 111.9 kB / 0.7282 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/0.6753, allocations: 156.4 kB / 0.7284 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.6753, allocations: 23.98 kB / 0.7284 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000972/0.6763, allocations: 0.6552 MB / 0.729 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6763, allocations: 0 / 0.729 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001004/0.6773, allocations: 345 kB / 0.7293 GB, free: 4.027 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.0002413/0.6776, allocations: 143 kB / 0.7295 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004532/0.6821, allocations: 1.891 MB / 0.7313 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6822, allocations: 4.188 kB / 0.7313 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.6855, allocations: 1.337 MB / 0.7326 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.6861, allocations: 81.52 kB / 0.7327 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.6892, allocations: 2.081 MB / 0.7347 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.6898, allocations: 1.065 MB / 0.7358 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003472/0.6901, allocations: 81.42 kB / 0.7359 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.6903, allocations: 55.44 kB / 0.7359 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.6903, allocations: 0 / 0.7359 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.02267/0.713, allocations: 15.58 MB / 0.7511 GB, free: 13.67 MB / 0.5417 GB 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)