Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.FACTS.TCSC_Test") translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.00112/0.00112, allocations: 176 kB / 16.12 MB, free: 5.691 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.532/1.532, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007694/0.0007695, allocations: 96.84 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3054/0.3054, allocations: 42.27 MB / 361.2 MB, free: 49.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 12 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 57.57 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4589, allocations: 95.62 MB / 0.5689 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4592, allocations: 75.97 kB / 0.569 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06873/0.528, allocations: 23.97 MB / 0.5924 GB, free: 3.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.528, allocations: 4 kB / 0.5924 GB, free: 3.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.916e-05/0.5281, allocations: 20 kB / 0.5924 GB, free: 3.906 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.004519/0.5326, allocations: 1.74 MB / 0.5941 GB, free: 2.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.5327, allocations: 8.031 kB / 0.5942 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.535, allocations: 418.1 kB / 0.5946 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.5369, allocations: 0.8241 MB / 0.5954 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.5371, allocations: 221.7 kB / 0.5956 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5373, allocations: 61.03 kB / 0.5956 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.539, allocations: 0.8771 MB / 0.5965 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5391, allocations: 0 / 0.5965 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.5392, allocations: 27.98 kB / 0.5965 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5392, allocations: 16 kB / 0.5965 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.5411, allocations: 0.9108 MB / 0.5974 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.5468, allocations: 3.047 MB / 0.6004 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006021/0.5528, allocations: 1.972 MB / 0.6023 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.5541, allocations: 0.6045 MB / 0.6029 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.5542, allocations: 4.656 kB / 0.6029 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.5555, allocations: 0.6757 MB / 0.6036 GB, free: 8.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.414e-06/0.5555, allocations: 0 / 0.6036 GB, free: 8.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.0181/0.5736, allocations: 5.535 MB / 0.609 GB, free: 2.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5737, allocations: 64.05 kB / 0.609 GB, free: 2.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5752, allocations: 0.9429 MB / 0.61 GB, free: 1.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.5753, allocations: 33.7 kB / 0.61 GB, free: 1.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.5757, allocations: 488.6 kB / 0.6105 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.576, allocations: 248.3 kB / 0.6107 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.576, allocations: 16 kB / 0.6107 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5762, allocations: 337.9 kB / 0.611 GB, free: 392 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.5773, allocations: 0.5212 MB / 0.6115 GB, free: 15.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.5784, allocations: 0.6126 MB / 0.6121 GB, free: 15.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.5905, allocations: 3.743 MB / 0.6158 GB, free: 11.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5905, allocations: 0 / 0.6158 GB, free: 11.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008532/0.5991, allocations: 3.124 MB / 0.6188 GB, free: 8.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5991, allocations: 8 kB / 0.6188 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5992, allocations: 4 kB / 0.6189 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/0.6039, allocations: 1.5 MB / 0.6203 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.6046, allocations: 135.8 kB / 0.6204 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.6169, allocations: 5.73 MB / 0.626 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.6182, allocations: 167.2 kB / 0.6262 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.6184, allocations: 31.92 kB / 0.6262 GB, free: 0.582 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.0006285/0.619, allocations: 219.2 kB / 0.6264 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.6193, allocations: 118.6 kB / 0.6266 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/0.6284, allocations: 3.172 MB / 0.6297 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6284, allocations: 8 kB / 0.6297 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6284, allocations: 3.938 kB / 0.6297 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.6285, allocations: 3.984 kB / 0.6297 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.6394, allocations: 4.548 MB / 0.6341 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.6395, allocations: 0 / 0.6341 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.64, allocations: 95.89 kB / 0.6342 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/0.6449, allocations: 1.538 MB / 0.6357 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.645, allocations: 15.98 kB / 0.6357 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.658, allocations: 5.891 MB / 0.6415 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.658, allocations: 0 / 0.6415 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.6685, allocations: 3.938 MB / 0.6453 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.669, allocations: 207.7 kB / 0.6455 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.6692, allocations: 12 kB / 0.6455 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6703, allocations: 115.9 kB / 0.6456 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005705/0.6708, allocations: 152.5 kB / 0.6458 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/0.6709, allocations: 19.98 kB / 0.6458 GB, free: 12.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001212/0.6721, allocations: 0.6592 MB / 0.6464 GB, free: 11.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6722, allocations: 0 / 0.6464 GB, free: 11.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001223/0.6734, allocations: 343.7 kB / 0.6468 GB, free: 11.21 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.0003298/0.6737, allocations: 135.2 kB / 0.6469 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004654/0.6784, allocations: 1.904 MB / 0.6488 GB, free: 9.137 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.6784, allocations: 0 / 0.6488 GB, free: 9.137 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003323/0.6817, allocations: 1.336 MB / 0.6501 GB, free: 7.766 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6828, allocations: 92.91 kB / 0.6502 GB, free: 7.672 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.6867, allocations: 2.073 MB / 0.6522 GB, free: 5.578 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.6874, allocations: 1.041 MB / 0.6532 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000413/0.6879, allocations: 81.42 kB / 0.6533 GB, free: 4.426 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.6881, allocations: 47.44 kB / 0.6533 GB, free: 4.379 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6881, allocations: 0 / 0.6533 GB, free: 4.379 MB / 474.7 MB Notification: Performance of Templates: time 0.02654/0.7146, allocations: 15.62 MB / 0.6686 GB, free: 4.785 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe 2>&1)