Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test") translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 172.6 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 222.3 MB, free: 9.039 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.0007697/0.0007697, allocations: 96.55 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3621/0.3621, allocations: 42.29 MB / 361.2 MB, free: 49.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.000444, allocations: 16 kB / 429.4 MB, free: 7.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 57.56 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3764/0.5111, allocations: 95.62 MB / 0.5689 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.5113, allocations: 75.95 kB / 0.569 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06834/0.5797, allocations: 23.98 MB / 0.5924 GB, free: 3.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.5797, allocations: 4 kB / 0.5924 GB, free: 3.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.5798, allocations: 16 kB / 0.5924 GB, free: 3.949 MB / 410.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.005785/0.5856, allocations: 1.736 MB / 0.5941 GB, free: 2.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5857, allocations: 12.03 kB / 0.5942 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.5883, allocations: 414.1 kB / 0.5945 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.5904, allocations: 0.8279 MB / 0.5954 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.5907, allocations: 217.7 kB / 0.5956 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.591, allocations: 64 kB / 0.5956 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.593, allocations: 0.8809 MB / 0.5965 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5931, allocations: 0 / 0.5965 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.5932, allocations: 28 kB / 0.5965 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.5932, allocations: 16 kB / 0.5965 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.5952, allocations: 0.907 MB / 0.5974 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/0.6013, allocations: 3.051 MB / 0.6004 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006546/0.6079, allocations: 1.972 MB / 0.6023 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.6093, allocations: 0.5967 MB / 0.6029 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/0.6094, allocations: 8.656 kB / 0.6029 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.6108, allocations: 0.6654 MB / 0.6036 GB, free: 8.176 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.276e-06/0.6108, allocations: 0 / 0.6036 GB, free: 8.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.02426/0.6351, allocations: 5.546 MB / 0.609 GB, free: 2.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.6352, allocations: 64.06 kB / 0.609 GB, free: 2.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.6377, allocations: 0.935 MB / 0.6099 GB, free: 1.551 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.6379, allocations: 37.7 kB / 0.61 GB, free: 1.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.6384, allocations: 488.6 kB / 0.6104 GB, free: 1.027 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/0.6389, allocations: 252.3 kB / 0.6107 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.639, allocations: 12 kB / 0.6107 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.6392, allocations: 334 kB / 0.611 GB, free: 444 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.6409, allocations: 0.5173 MB / 0.6115 GB, free: 15.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.6427, allocations: 0.6204 MB / 0.6121 GB, free: 15.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/0.6604, allocations: 3.739 MB / 0.6158 GB, free: 11.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.6605, allocations: 4 kB / 0.6158 GB, free: 11.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01284/0.6734, allocations: 3.136 MB / 0.6188 GB, free: 8.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6734, allocations: 4 kB / 0.6189 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.6734, allocations: 8 kB / 0.6189 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00711/0.6806, allocations: 1.493 MB / 0.6203 GB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.6817, allocations: 143.8 kB / 0.6205 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.6995, allocations: 5.726 MB / 0.626 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.7015, allocations: 163.2 kB / 0.6262 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.7018, allocations: 31.92 kB / 0.6262 GB, free: 0.625 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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.0008679/0.7027, allocations: 227.9 kB / 0.6265 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/0.7031, allocations: 114.6 kB / 0.6266 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.716, allocations: 3.172 MB / 0.6297 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.7161, allocations: 8 kB / 0.6297 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7161, allocations: 3.938 kB / 0.6297 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.7161, allocations: 7.984 kB / 0.6297 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.7318, allocations: 4.532 MB / 0.6341 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.7319, allocations: 3.938 kB / 0.6341 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.7327, allocations: 99.88 kB / 0.6342 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007068/0.7398, allocations: 1.542 MB / 0.6357 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.74, allocations: 16 kB / 0.6357 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.7581, allocations: 5.891 MB / 0.6415 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7582, allocations: 8 kB / 0.6415 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.7747, allocations: 3.93 MB / 0.6453 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.7753, allocations: 199.7 kB / 0.6455 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/0.7758, allocations: 20 kB / 0.6455 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.7772, allocations: 111.9 kB / 0.6456 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/0.7777, allocations: 152.4 kB / 0.6458 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/0.7778, allocations: 24 kB / 0.6458 GB, free: 12.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001187/0.779, allocations: 0.6514 MB / 0.6464 GB, free: 11.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7791, allocations: 0 / 0.6464 GB, free: 11.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001208/0.7803, allocations: 355.7 kB / 0.6468 GB, free: 11.24 MB / 474.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 (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.0002948/0.7806, allocations: 127.2 kB / 0.6469 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00475/0.7853, allocations: 1.896 MB / 0.6488 GB, free: 9.188 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7854, allocations: 0 / 0.6488 GB, free: 9.188 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003405/0.7888, allocations: 1.345 MB / 0.6501 GB, free: 7.809 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.7897, allocations: 96.42 kB / 0.6502 GB, free: 7.711 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.7935, allocations: 2.066 MB / 0.6522 GB, free: 5.621 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.7942, allocations: 1.045 MB / 0.6532 GB, free: 4.547 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000366/0.7946, allocations: 77.45 kB / 0.6533 GB, free: 4.469 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.7948, allocations: 55.42 kB / 0.6533 GB, free: 4.414 MB / 474.7 MB Notification: Performance of SimCode: time 6.52e-07/0.7948, allocations: 0 / 0.6533 GB, free: 4.414 MB / 474.7 MB Notification: Performance of Templates: time 0.02764/0.8224, allocations: 15.62 MB / 0.6686 GB, free: 4.828 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe 2>&1)