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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9144/0.9144, allocations: 177.1 MB / 200 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 160.6 kB / 256.6 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2904/0.2904, allocations: 80.35 MB / 393.5 MB, free: 2.098 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 489.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.566e-05, allocations: 2.312 kB / 489.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004485/0.004501, allocations: 5.767 MB / 495.7 MB, free: 5.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.006814, allocations: 1.846 MB / 497.5 MB, free: 3.938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.007074, allocations: 20.69 kB / 497.5 MB, free: 3.918 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.00755, allocations: 210.1 kB / 497.7 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.008564, allocations: 0.7659 MB / 498.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.009242, allocations: 0.558 MB / 499.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.01044, allocations: 1.413 MB / 0.4887 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.01083, allocations: 183.7 kB / 0.4889 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.01215, allocations: 0.7928 MB / 0.4897 GB, free: 15.99 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007547/0.01291, allocations: 0.5099 MB / 0.4902 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.0131, allocations: 100 kB / 0.4903 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.01355, allocations: 239.8 kB / 0.4905 GB, free: 15.15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.01374, allocations: 272.6 kB / 0.4908 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.01426, allocations: 382.7 kB / 0.4911 GB, free: 14.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.01591, allocations: 1.039 MB / 0.4922 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.01592, allocations: 0 / 0.4922 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.01592, allocations: 0 / 0.4922 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.209e-05/0.01598, allocations: 1.812 kB / 0.4922 GB, free: 13.47 MB / 426.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.004164/0.02014, allocations: 2.422 MB / 0.4945 GB, free: 11.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.02018, allocations: 12.03 kB / 0.4945 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.02204, allocations: 0.6683 MB / 0.4952 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.023, allocations: 0.7175 MB / 0.4959 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.02319, allocations: 283.4 kB / 0.4962 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.02329, allocations: 67.94 kB / 0.4962 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.02404, allocations: 0.5235 MB / 0.4967 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.02406, allocations: 0 / 0.4967 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.02411, allocations: 24 kB / 0.4968 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.02412, allocations: 21.03 kB / 0.4968 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.02476, allocations: 399.6 kB / 0.4972 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.02791, allocations: 2.125 MB / 0.4992 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.03034, allocations: 0.8643 MB / 0.5001 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.03068, allocations: 238 kB / 0.5003 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.256e-05/0.03075, allocations: 16.66 kB / 0.5003 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.0312, allocations: 353.8 kB / 0.5007 GB, free: 4.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.006e-06/0.0312, allocations: 0 / 0.5007 GB, free: 4.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007542/0.03874, allocations: 3.199 MB / 0.5038 GB, free: 1.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.03878, allocations: 60.06 kB / 0.5038 GB, free: 1.289 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009109/0.0397, allocations: 0.8732 MB / 0.5047 GB, free: 404 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/0.03978, allocations: 37.7 kB / 0.5047 GB, free: 360 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.0404, allocations: 0.5231 MB / 0.5052 GB, free: 15.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.04062, allocations: 273.6 kB / 0.5055 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.04085, allocations: 188.2 kB / 0.5057 GB, free: 15.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.04098, allocations: 0.5121 MB / 0.5062 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.04139, allocations: 253.9 kB / 0.5064 GB, free: 14.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.04185, allocations: 415.6 kB / 0.5068 GB, free: 14.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.04305, allocations: 0.9901 MB / 0.5078 GB, free: 13.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.04306, allocations: 0 / 0.5078 GB, free: 13.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003481/0.04654, allocations: 1.935 MB / 0.5097 GB, free: 11.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.04656, allocations: 4 kB / 0.5097 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.04657, allocations: 4 kB / 0.5097 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/0.04986, allocations: 1.207 MB / 0.5109 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.05038, allocations: 175.7 kB / 0.511 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.05541, allocations: 3.472 MB / 0.5144 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.05627, allocations: 127.4 kB / 0.5145 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.05635, allocations: 35.98 kB / 0.5146 GB, free: 6.012 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000348/0.0567, allocations: 208.3 kB / 0.5148 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.05689, allocations: 139.2 kB / 0.5149 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.06018, allocations: 1.745 MB / 0.5166 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.06019, allocations: 8 kB / 0.5166 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.06019, allocations: 0 / 0.5166 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.0602, allocations: 3.984 kB / 0.5166 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/0.06484, allocations: 2.554 MB / 0.5191 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.06484, allocations: 0 / 0.5191 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.06512, allocations: 79.89 kB / 0.5192 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/0.06873, allocations: 1.367 MB / 0.5205 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.851e-05/0.06883, allocations: 16 kB / 0.5205 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/0.07385, allocations: 3.974 MB / 0.5244 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.07385, allocations: 3.984 kB / 0.5244 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.07797, allocations: 2.083 MB / 0.5265 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.07822, allocations: 119.1 kB / 0.5266 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.07832, allocations: 16.05 kB / 0.5266 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.07872, allocations: 63.92 kB / 0.5267 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.07906, allocations: 156.3 kB / 0.5268 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.07912, allocations: 23.98 kB / 0.5268 GB, free: 9.223 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007293/0.07985, allocations: 0.5527 MB / 0.5274 GB, free: 8.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.07985, allocations: 0 / 0.5274 GB, free: 8.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00117/0.08102, allocations: 355.7 kB / 0.5277 GB, free: 8.312 MB / 458.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 () * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/0.08129, allocations: 136.8 kB / 0.5278 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.08347, allocations: 1.212 MB / 0.529 GB, free: 6.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.08347, allocations: 4 kB / 0.529 GB, free: 6.926 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.08491, allocations: 0.8804 MB / 0.5299 GB, free: 6.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.08547, allocations: 104.2 kB / 0.53 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.08817, allocations: 1.667 MB / 0.5316 GB, free: 4.219 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.08832, allocations: 205.1 kB / 0.5318 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.08853, allocations: 98.66 kB / 0.5319 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.08869, allocations: 64.5 kB / 0.532 GB, free: 3.832 MB / 458.7 MB Notification: Performance of SimCode: time 1.874e-06/0.08869, allocations: 0 / 0.532 GB, free: 3.832 MB / 458.7 MB Notification: Performance of Templates: time 0.02352/0.1122, allocations: 20.08 MB / 0.5516 GB, free: 15.81 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8220681729726493]