Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 169.6 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009204/0.0009207, allocations: 90.33 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0782/0.0782, allocations: 12.59 MB / 321.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.06 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.406e-05, allocations: 4 kB / 0.5147 GB, free: 29.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 69.33 MB / 0.5824 GB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5223, allocations: 101.5 MB / 0.6815 GB, free: 6.523 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.5226, allocations: 72.16 kB / 0.6816 GB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06144/0.584, allocations: 23.76 MB / 0.7048 GB, free: 2.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.584, allocations: 0 / 0.7048 GB, free: 2.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.262e-05/0.5841, allocations: 16 kB / 0.7048 GB, free: 2.863 MB / 442.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.003845/0.588, allocations: 1.51 MB / 0.7063 GB, free: 1.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.588, allocations: 8.031 kB / 0.7063 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.5902, allocations: 417.5 kB / 0.7067 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.5917, allocations: 0.7493 MB / 0.7074 GB, free: 372 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.592, allocations: 189.8 kB / 0.7076 GB, free: 148 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5921, allocations: 39.91 kB / 0.7076 GB, free: 108 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/0.5933, allocations: 0.6717 MB / 0.7083 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5944, allocations: 0.6241 MB / 0.7089 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5944, allocations: 4 kB / 0.7089 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.5945, allocations: 0 / 0.7089 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5945, allocations: 19.94 kB / 0.7089 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/0.5996, allocations: 2.94 MB / 0.7118 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005613/0.6052, allocations: 1.767 MB / 0.7135 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.6058, allocations: 430.7 kB / 0.7139 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.6059, allocations: 12.09 kB / 0.7139 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000756/0.6067, allocations: 489.6 kB / 0.7144 GB, free: 10.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.6067, allocations: 0 / 0.7144 GB, free: 10.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.01013/0.6169, allocations: 2.606 MB / 0.7169 GB, free: 8.633 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.6169, allocations: 64.17 kB / 0.717 GB, free: 8.559 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.6188, allocations: 0.711 MB / 0.7177 GB, free: 8.023 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.619, allocations: 29.69 kB / 0.7177 GB, free: 7.988 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.6195, allocations: 483.6 kB / 0.7182 GB, free: 7.723 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.6199, allocations: 253.1 kB / 0.7184 GB, free: 7.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.6201, allocations: 4 kB / 0.7184 GB, free: 7.496 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6202, allocations: 328.9 kB / 0.7187 GB, free: 7.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008355/0.6211, allocations: 354.9 kB / 0.7191 GB, free: 6.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.622, allocations: 447.3 kB / 0.7195 GB, free: 6.703 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.6229, allocations: 391.4 kB / 0.7199 GB, free: 6.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6229, allocations: 0 / 0.7199 GB, free: 6.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.009966/0.6329, allocations: 2.628 MB / 0.7224 GB, free: 4.262 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.633, allocations: 7.984 kB / 0.7224 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.633, allocations: 7.953 kB / 0.7225 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005585/0.6386, allocations: 1.22 MB / 0.7236 GB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6396, allocations: 142.1 kB / 0.7238 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.6513, allocations: 4.463 MB / 0.7281 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.6532, allocations: 139.3 kB / 0.7283 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.6535, allocations: 35.8 kB / 0.7283 GB, free: 15.61 MB / 474.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.0004837/0.654, allocations: 120.8 kB / 0.7284 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/0.6545, allocations: 102.7 kB / 0.7285 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.6646, allocations: 2.686 MB / 0.7311 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.6647, allocations: 12 kB / 0.7312 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6647, allocations: 0 / 0.7312 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.6647, allocations: 3.984 kB / 0.7312 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009537/0.6742, allocations: 3.963 MB / 0.735 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.6743, allocations: 4 kB / 0.735 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.6749, allocations: 95.58 kB / 0.7351 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004355/0.6792, allocations: 1.306 MB / 0.7364 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.6794, allocations: 5.375 kB / 0.7364 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009177/0.6885, allocations: 4.804 MB / 0.7411 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6886, allocations: 0 / 0.7411 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008835/0.6974, allocations: 3.286 MB / 0.7443 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.6979, allocations: 203.7 kB / 0.7445 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.6982, allocations: 3.984 kB / 0.7445 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.6993, allocations: 95.91 kB / 0.7446 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000464/0.6998, allocations: 156.5 kB / 0.7447 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.6999, allocations: 23.98 kB / 0.7448 GB, free: 15.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009151/0.7008, allocations: 0.5491 MB / 0.7453 GB, free: 15.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7008, allocations: 0 / 0.7453 GB, free: 15.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00123/0.702, allocations: 319.5 kB / 0.7456 GB, free: 15.04 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.0002695/0.7023, allocations: 127.1 kB / 0.7457 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.706, allocations: 1.52 MB / 0.7472 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.706, allocations: 0 / 0.7472 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.7089, allocations: 1.123 MB / 0.7483 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.7096, allocations: 72.3 kB / 0.7484 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.7125, allocations: 1.267 MB / 0.7496 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.7132, allocations: 1.065 MB / 0.7507 GB, free: 9.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.7136, allocations: 77.33 kB / 0.7507 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.7138, allocations: 51.38 kB / 0.7508 GB, free: 9.621 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7138, allocations: 0 / 0.7508 GB, free: 9.621 MB / 490.7 MB Notification: Performance of Templates: time 0.02376/0.7376, allocations: 14.31 MB / 0.7648 GB, free: 11.32 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)