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.001048/0.001048, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.239/1.239, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0007586/0.0007586, allocations: 84.39 kB / 266.6 MB, free: 9.277 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.06732/0.06732, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2822/0.2822, allocations: 78.03 MB / 456.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.625e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.09915, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4577, allocations: 102.1 MB / 0.6892 GB, free: 13.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.4579, allocations: 78.22 kB / 0.6893 GB, free: 13.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06833/0.5263, allocations: 24.06 MB / 0.7128 GB, free: 8.902 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5263, allocations: 0 / 0.7128 GB, free: 8.902 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.368e-05/0.5264, allocations: 16 kB / 0.7128 GB, free: 8.887 MB / 458.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.004004/0.5304, allocations: 1.507 MB / 0.7143 GB, free: 7.426 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5304, allocations: 15.98 kB / 0.7143 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.5328, allocations: 415.5 kB / 0.7147 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.5346, allocations: 0.7499 MB / 0.7154 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.5348, allocations: 211.7 kB / 0.7156 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.535, allocations: 69.72 kB / 0.7157 GB, free: 6.109 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5363, allocations: 0.7117 MB / 0.7164 GB, free: 5.648 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5363, allocations: 0 / 0.7164 GB, free: 5.648 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.5364, allocations: 25.5 kB / 0.7164 GB, free: 5.641 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5364, allocations: 16 kB / 0.7164 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.5376, allocations: 0.7072 MB / 0.7171 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.5428, allocations: 3.057 MB / 0.7201 GB, free: 2.852 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/0.5489, allocations: 1.784 MB / 0.7218 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.5496, allocations: 447.2 kB / 0.7223 GB, free: 1.012 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/0.5497, allocations: 16.39 kB / 0.7223 GB, free: 1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008057/0.5505, allocations: 0.5079 MB / 0.7228 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/0.5505, allocations: 0 / 0.7228 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.008272/0.5588, allocations: 2.659 MB / 0.7254 GB, free: 14.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.5589, allocations: 60.19 kB / 0.7254 GB, free: 14.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.5599, allocations: 0.7904 MB / 0.7262 GB, free: 13.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.56, allocations: 35.02 kB / 0.7262 GB, free: 13.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.5603, allocations: 490.2 kB / 0.7267 GB, free: 13.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.5605, allocations: 252.9 kB / 0.7269 GB, free: 13.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.5606, allocations: 15.12 kB / 0.727 GB, free: 13.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5607, allocations: 336.8 kB / 0.7273 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.5613, allocations: 360.5 kB / 0.7276 GB, free: 12.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.562, allocations: 473.1 kB / 0.7281 GB, free: 12.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/0.5626, allocations: 399.4 kB / 0.7285 GB, free: 12.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5627, allocations: 4 kB / 0.7285 GB, free: 12.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007866/0.5705, allocations: 2.697 MB / 0.7311 GB, free: 9.863 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5706, allocations: 8 kB / 0.7311 GB, free: 9.855 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5706, allocations: 4 kB / 0.7311 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004591/0.5752, allocations: 1.272 MB / 0.7324 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.5759, allocations: 139.1 kB / 0.7325 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008572/0.5845, allocations: 4.601 MB / 0.737 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.5859, allocations: 156.9 kB / 0.7371 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.586, allocations: 27.42 kB / 0.7372 GB, free: 5.043 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.0002172/0.5862, allocations: 146.3 kB / 0.7373 GB, free: 4.918 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.5864, allocations: 118.5 kB / 0.7374 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008114/0.5945, allocations: 2.752 MB / 0.7401 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5946, allocations: 11.95 kB / 0.7401 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5946, allocations: 4 kB / 0.7401 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5946, allocations: 3.984 kB / 0.7401 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009674/0.6043, allocations: 4.111 MB / 0.7441 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6043, allocations: 0 / 0.7441 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.6048, allocations: 91.14 kB / 0.7442 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004577/0.6094, allocations: 1.328 MB / 0.7455 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.6095, allocations: 15.95 kB / 0.7455 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009371/0.6189, allocations: 4.889 MB / 0.7503 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.619, allocations: 0 / 0.7503 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009537/0.6285, allocations: 3.365 MB / 0.7536 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.6289, allocations: 195.7 kB / 0.7538 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.6291, allocations: 23.94 kB / 0.7538 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.6301, allocations: 107.9 kB / 0.7539 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/0.6306, allocations: 152.5 kB / 0.754 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6307, allocations: 27.92 kB / 0.7541 GB, free: 4.793 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008756/0.6316, allocations: 0.6171 MB / 0.7547 GB, free: 4.164 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6316, allocations: 0 / 0.7547 GB, free: 4.164 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001033/0.6326, allocations: 343.6 kB / 0.755 GB, free: 3.828 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.0002705/0.6329, allocations: 143 kB / 0.7551 GB, free: 3.676 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00393/0.6368, allocations: 1.575 MB / 0.7567 GB, free: 2.066 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6368, allocations: 0 / 0.7567 GB, free: 2.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003077/0.6399, allocations: 1.169 MB / 0.7578 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.6405, allocations: 80.48 kB / 0.7579 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.6432, allocations: 1.299 MB / 0.7592 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.6438, allocations: 1.069 MB / 0.7602 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003536/0.6442, allocations: 81.44 kB / 0.7603 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.6444, allocations: 51.44 kB / 0.7603 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.6444, allocations: 0 / 0.7603 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.02489/0.6693, allocations: 15.59 MB / 0.7756 GB, free: 14.67 MB / 0.5105 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)