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.0009368/0.0009369, allocations: 175.2 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.285/1.285, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008049/0.0008049, allocations: 88.34 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.5189/0.5189, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.393e-05, allocations: 7.984 kB / 492.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4158, allocations: 69.51 MB / 0.5491 GB, free: 19.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5635, allocations: 101.1 MB / 0.6479 GB, free: 14.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5638, allocations: 75.95 kB / 0.6479 GB, free: 14.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07319/0.637, allocations: 24.95 MB / 0.6723 GB, free: 5.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6371, allocations: 3.984 kB / 0.6723 GB, free: 5.266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001001/0.6372, allocations: 19.94 kB / 0.6723 GB, free: 5.246 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.004753/0.6419, allocations: 1.515 MB / 0.6738 GB, free: 3.684 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.642, allocations: 11.97 kB / 0.6738 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.6447, allocations: 422.1 kB / 0.6742 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.6468, allocations: 0.7352 MB / 0.6749 GB, free: 2.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.6471, allocations: 222 kB / 0.6752 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.6473, allocations: 60 kB / 0.6752 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.6489, allocations: 0.7133 MB / 0.6759 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6489, allocations: 4 kB / 0.6759 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.649, allocations: 24 kB / 0.6759 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.649, allocations: 16 kB / 0.676 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.6505, allocations: 0.7003 MB / 0.6766 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3906/1.041, allocations: 3.053 MB / 0.6796 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006342/1.047, allocations: 1.795 MB / 0.6814 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/1.048, allocations: 450.2 kB / 0.6818 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/1.049, allocations: 13.44 kB / 0.6818 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/1.05, allocations: 0.5034 MB / 0.6823 GB, free: 104.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.928e-06/1.05, allocations: 0 / 0.6823 GB, free: 104.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.009067/1.059, allocations: 2.654 MB / 0.6849 GB, free: 104 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.059, allocations: 59.38 kB / 0.685 GB, free: 103.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.06, allocations: 0.7973 MB / 0.6857 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/1.061, allocations: 39.02 kB / 0.6858 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/1.061, allocations: 484.1 kB / 0.6862 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.061, allocations: 258.7 kB / 0.6865 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/1.061, allocations: 15.5 kB / 0.6865 GB, free: 103.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.446e-05/1.061, allocations: 333.3 kB / 0.6868 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/1.062, allocations: 372.5 kB / 0.6872 GB, free: 103.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/1.063, allocations: 468.5 kB / 0.6876 GB, free: 103.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/1.063, allocations: 406.7 kB / 0.688 GB, free: 103.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.063, allocations: 2.844 kB / 0.688 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007167/1.071, allocations: 2.693 MB / 0.6906 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.071, allocations: 6 kB / 0.6906 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.071, allocations: 6.922 kB / 0.6906 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/1.075, allocations: 1.27 MB / 0.6919 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/1.075, allocations: 138.1 kB / 0.692 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008002/1.083, allocations: 4.599 MB / 0.6965 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.085, allocations: 158.1 kB / 0.6967 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/1.085, allocations: 24.03 kB / 0.6967 GB, free: 99.82 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.0002431/1.085, allocations: 154.3 kB / 0.6968 GB, free: 99.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/1.086, allocations: 112.2 kB / 0.6969 GB, free: 99.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007413/1.093, allocations: 2.746 MB / 0.6996 GB, free: 98.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.093, allocations: 11.64 kB / 0.6996 GB, free: 98.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.093, allocations: 5.203 kB / 0.6996 GB, free: 98.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.093, allocations: 6.578 kB / 0.6996 GB, free: 98.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009065/1.102, allocations: 4.116 MB / 0.7037 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.102, allocations: 3.953 kB / 0.7037 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/1.103, allocations: 98.19 kB / 0.7038 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/1.107, allocations: 1.313 MB / 0.705 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/1.107, allocations: 19.12 kB / 0.7051 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008102/1.115, allocations: 4.891 MB / 0.7098 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.115, allocations: 0 / 0.7098 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008206/1.123, allocations: 3.373 MB / 0.7131 GB, free: 90.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/1.124, allocations: 206 kB / 0.7133 GB, free: 90.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.124, allocations: 8 kB / 0.7133 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.125, allocations: 111.6 kB / 0.7134 GB, free: 90.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/1.126, allocations: 164.5 kB / 0.7136 GB, free: 90.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/1.126, allocations: 16 kB / 0.7136 GB, free: 90.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001088/1.127, allocations: 0.613 MB / 0.7142 GB, free: 89.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 0.7142 GB, free: 89.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001643/1.128, allocations: 345.9 kB / 0.7145 GB, free: 89.18 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.0004438/1.129, allocations: 147.5 kB / 0.7147 GB, free: 89.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003675/1.133, allocations: 1.567 MB / 0.7162 GB, free: 87.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.133, allocations: 0 / 0.7162 GB, free: 87.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002804/1.135, allocations: 1.164 MB / 0.7173 GB, free: 86.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/1.136, allocations: 84.36 kB / 0.7174 GB, free: 86.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/1.139, allocations: 1.305 MB / 0.7187 GB, free: 85.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/1.14, allocations: 1.065 MB / 0.7197 GB, free: 84.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004247/1.14, allocations: 79.84 kB / 0.7198 GB, free: 84.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.141, allocations: 54.62 kB / 0.7199 GB, free: 84.16 MB / 490.7 MB Notification: Performance of SimCode: time 9.61e-07/1.141, allocations: 0 / 0.7199 GB, free: 84.16 MB / 490.7 MB Notification: Performance of Templates: time 0.02663/1.167, allocations: 15.58 MB / 0.7351 GB, free: 70.3 MB / 490.7 MB 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)