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.0009675/0.0009675, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.476/1.476, allocations: 221.5 MB / 229.6 MB, free: 7.516 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.0009259/0.0009259, allocations: 92.06 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4405/0.4405, allocations: 78.13 MB / 409.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.302e-05, allocations: 3.938 kB / 484.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 69.36 MB / 0.5413 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.5154, allocations: 99.9 MB / 0.6389 GB, free: 15.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5157, allocations: 77.27 kB / 0.6389 GB, free: 15.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07162/0.5873, allocations: 24.47 MB / 0.6628 GB, free: 7.324 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5874, allocations: 4 kB / 0.6628 GB, free: 7.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.905e-05/0.5875, allocations: 16 kB / 0.6629 GB, free: 7.305 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.004434/0.5919, allocations: 1.511 MB / 0.6643 GB, free: 5.746 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.592, allocations: 8.031 kB / 0.6643 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.5945, allocations: 426.1 kB / 0.6647 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.5967, allocations: 0.7351 MB / 0.6655 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.597, allocations: 194.1 kB / 0.6657 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.5972, allocations: 39.95 kB / 0.6657 GB, free: 4.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001428/0.5986, allocations: 0.6704 MB / 0.6663 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5999, allocations: 0.6325 MB / 0.667 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5999, allocations: 0 / 0.667 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.6, allocations: 4 kB / 0.667 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.6, allocations: 16 kB / 0.667 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.6057, allocations: 2.935 MB / 0.6698 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/0.6115, allocations: 1.76 MB / 0.6716 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.6123, allocations: 429.4 kB / 0.672 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.6124, allocations: 16.69 kB / 0.672 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.6133, allocations: 496.3 kB / 0.6725 GB, free: 13.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/0.6133, allocations: 0 / 0.6725 GB, free: 13.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.008/0.6213, allocations: 2.601 MB / 0.675 GB, free: 10.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.6214, allocations: 60.19 kB / 0.6751 GB, free: 10.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.6226, allocations: 0.7134 MB / 0.6758 GB, free: 9.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.6228, allocations: 25.7 kB / 0.6758 GB, free: 9.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.6231, allocations: 484.4 kB / 0.6762 GB, free: 9.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.6235, allocations: 256.2 kB / 0.6765 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.6235, allocations: 0 / 0.6765 GB, free: 8.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6237, allocations: 337.9 kB / 0.6768 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.6243, allocations: 350.2 kB / 0.6771 GB, free: 8.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.6249, allocations: 451.5 kB / 0.6776 GB, free: 7.777 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.6256, allocations: 381.2 kB / 0.6779 GB, free: 7.402 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6256, allocations: 0 / 0.6779 GB, free: 7.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007519/0.6331, allocations: 2.627 MB / 0.6805 GB, free: 4.762 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6332, allocations: 4 kB / 0.6805 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6332, allocations: 6.453 kB / 0.6805 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/0.6375, allocations: 1.234 MB / 0.6817 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.6383, allocations: 139.8 kB / 0.6819 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008314/0.6466, allocations: 4.459 MB / 0.6862 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.648, allocations: 147.2 kB / 0.6863 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.6482, allocations: 31.98 kB / 0.6864 GB, free: 14.62 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.0003524/0.6486, allocations: 128.9 kB / 0.6865 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.6489, allocations: 106.7 kB / 0.6866 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/0.6569, allocations: 2.68 MB / 0.6892 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.657, allocations: 8 kB / 0.6892 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.657, allocations: 5.594 kB / 0.6892 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.657, allocations: 3.984 kB / 0.6892 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009673/0.6667, allocations: 3.961 MB / 0.6931 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6667, allocations: 4 kB / 0.6931 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.6673, allocations: 95.89 kB / 0.6932 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/0.6718, allocations: 1.31 MB / 0.6945 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/0.6719, allocations: 4 kB / 0.6945 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009304/0.6812, allocations: 4.797 MB / 0.6992 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.6812, allocations: 0 / 0.6992 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008983/0.6902, allocations: 3.294 MB / 0.7024 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.6907, allocations: 199.8 kB / 0.7026 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.691, allocations: 0 / 0.7026 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6921, allocations: 99.89 kB / 0.7027 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/0.6926, allocations: 156.5 kB / 0.7028 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.6927, allocations: 20 kB / 0.7028 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008785/0.6936, allocations: 0.5491 MB / 0.7034 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6936, allocations: 0 / 0.7034 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001223/0.6948, allocations: 316.7 kB / 0.7037 GB, free: 12.61 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.0002879/0.6951, allocations: 127.6 kB / 0.7038 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.6988, allocations: 1.515 MB / 0.7053 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6988, allocations: 3.938 kB / 0.7053 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/0.7018, allocations: 1.13 MB / 0.7064 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.7025, allocations: 67.33 kB / 0.7065 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.7054, allocations: 1.275 MB / 0.7077 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.706, allocations: 1.065 MB / 0.7087 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.7064, allocations: 77.33 kB / 0.7088 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.7066, allocations: 51.44 kB / 0.7089 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.7066, allocations: 0 / 0.7089 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of Templates: time 0.02535/0.732, allocations: 14.32 MB / 0.7228 GB, free: 8.992 MB / 0.5261 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)