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.0009768/0.0009769, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.0008994/0.0008994, allocations: 91.61 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4749/0.4749, allocations: 78.06 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.542e-05, allocations: 0 / 484.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1531, allocations: 69.36 MB / 0.5413 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.585, allocations: 99.9 MB / 0.6388 GB, free: 15.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5852, allocations: 67.97 kB / 0.6389 GB, free: 15.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06841/0.6537, allocations: 24.49 MB / 0.6628 GB, free: 7.148 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6537, allocations: 0 / 0.6628 GB, free: 7.148 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.33e-05/0.6537, allocations: 16.56 kB / 0.6628 GB, free: 7.133 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.003899/0.6576, allocations: 1.516 MB / 0.6643 GB, free: 5.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6577, allocations: 12.03 kB / 0.6643 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.6599, allocations: 414.1 kB / 0.6647 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.6614, allocations: 0.7391 MB / 0.6654 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.6616, allocations: 194.1 kB / 0.6656 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6618, allocations: 47.5 kB / 0.6657 GB, free: 4.098 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/0.663, allocations: 0.6704 MB / 0.6663 GB, free: 3.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.6641, allocations: 0.6248 MB / 0.6669 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6641, allocations: 0 / 0.6669 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.6642, allocations: 0 / 0.6669 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.6642, allocations: 16 kB / 0.6669 GB, free: 2.781 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.6694, allocations: 2.94 MB / 0.6698 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005754/0.6752, allocations: 1.77 MB / 0.6715 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.6758, allocations: 428.8 kB / 0.6719 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.489e-05/0.6759, allocations: 8.781 kB / 0.672 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007647/0.6767, allocations: 493.1 kB / 0.6724 GB, free: 12.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.204e-06/0.6767, allocations: 0 / 0.6724 GB, free: 12.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.007801/0.6845, allocations: 2.604 MB / 0.675 GB, free: 10.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.6846, allocations: 64.19 kB / 0.675 GB, free: 10.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6856, allocations: 0.7134 MB / 0.6757 GB, free: 9.508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/0.6857, allocations: 29.69 kB / 0.6758 GB, free: 9.473 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.6861, allocations: 481.1 kB / 0.6762 GB, free: 9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.6864, allocations: 252.2 kB / 0.6765 GB, free: 8.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.6864, allocations: 0 / 0.6765 GB, free: 8.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6866, allocations: 337.9 kB / 0.6768 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.6871, allocations: 349.5 kB / 0.6771 GB, free: 8.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.6878, allocations: 447.6 kB / 0.6775 GB, free: 7.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.6884, allocations: 391.2 kB / 0.6779 GB, free: 7.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6884, allocations: 0 / 0.6779 GB, free: 7.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007579/0.696, allocations: 2.623 MB / 0.6805 GB, free: 4.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.696, allocations: 11.98 kB / 0.6805 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6961, allocations: 0 / 0.6805 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/0.7004, allocations: 1.227 MB / 0.6817 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.7012, allocations: 143.8 kB / 0.6818 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008324/0.7096, allocations: 4.463 MB / 0.6862 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.711, allocations: 147.2 kB / 0.6863 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.7111, allocations: 31.98 kB / 0.6863 GB, free: 14.45 MB / 0.4948 GB 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.0002823/0.7114, allocations: 120.8 kB / 0.6865 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.7116, allocations: 110.7 kB / 0.6866 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/0.7194, allocations: 2.676 MB / 0.6892 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.7195, allocations: 8 kB / 0.6892 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7195, allocations: 0 / 0.6892 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.7195, allocations: 3.984 kB / 0.6892 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009592/0.7291, allocations: 3.973 MB / 0.6931 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7291, allocations: 0 / 0.6931 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.7296, allocations: 87.89 kB / 0.6932 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/0.734, allocations: 1.31 MB / 0.6944 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.7341, allocations: 11.38 kB / 0.6944 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008805/0.7429, allocations: 4.795 MB / 0.6991 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.743, allocations: 4 kB / 0.6991 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008834/0.7518, allocations: 3.29 MB / 0.7023 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.7523, allocations: 191.8 kB / 0.7025 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.7524, allocations: 7.984 kB / 0.7025 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.7534, allocations: 99.91 kB / 0.7026 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000518/0.7539, allocations: 158.8 kB / 0.7028 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.754, allocations: 23.98 kB / 0.7028 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000821/0.7548, allocations: 0.5413 MB / 0.7033 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7548, allocations: 0 / 0.7033 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001099/0.7559, allocations: 319.5 kB / 0.7036 GB, free: 12.43 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 () * 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.0002795/0.7562, allocations: 131.4 kB / 0.7038 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003659/0.7599, allocations: 1.513 MB / 0.7052 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7599, allocations: 5.344 kB / 0.7052 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.7628, allocations: 1.129 MB / 0.7063 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.7635, allocations: 66.25 kB / 0.7064 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.7661, allocations: 1.279 MB / 0.7077 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.7668, allocations: 1.065 MB / 0.7087 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.7671, allocations: 73.34 kB / 0.7088 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.7673, allocations: 55.36 kB / 0.7088 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.7673, allocations: 0 / 0.7088 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of Templates: time 0.02335/0.7907, allocations: 14.32 MB / 0.7228 GB, free: 8.816 MB / 0.5261 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)