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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009684/0.0009685, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009054/0.0009057, allocations: 88.55 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4447/0.4447, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.882e-05, allocations: 3.938 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 69.5 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4465, allocations: 101.1 MB / 0.648 GB, free: 14.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4468, allocations: 71.97 kB / 0.648 GB, free: 14.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06694/0.5138, allocations: 24.94 MB / 0.6724 GB, free: 5.234 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5138, allocations: 0 / 0.6724 GB, free: 5.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.44e-05/0.5138, allocations: 23.94 kB / 0.6724 GB, free: 5.211 MB / 490.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.003736/0.5176, allocations: 1.517 MB / 0.6739 GB, free: 3.648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5176, allocations: 11.97 kB / 0.6739 GB, free: 3.637 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.5178, allocations: 114.5 kB / 0.674 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.5199, allocations: 414.1 kB / 0.6744 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.5214, allocations: 0.7394 MB / 0.6751 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.5216, allocations: 217.8 kB / 0.6754 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5217, allocations: 75.98 kB / 0.6754 GB, free: 1.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.523, allocations: 0.7016 MB / 0.6761 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.523, allocations: 0 / 0.6761 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.767e-05/0.5231, allocations: 31.97 kB / 0.6761 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5231, allocations: 16 kB / 0.6762 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5243, allocations: 0.7042 MB / 0.6768 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3014/0.8257, allocations: 3.049 MB / 0.6798 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006426/0.8322, allocations: 1.792 MB / 0.6816 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.8331, allocations: 451.8 kB / 0.682 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.8332, allocations: 16.06 kB / 0.682 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.8344, allocations: 0.5051 MB / 0.6825 GB, free: 104 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.527e-06/0.8344, allocations: 0 / 0.6825 GB, free: 104 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.008923/0.8433, allocations: 2.653 MB / 0.6851 GB, free: 103.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.8434, allocations: 63.31 kB / 0.6852 GB, free: 103.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.8447, allocations: 0.7933 MB / 0.6859 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.8448, allocations: 41.17 kB / 0.686 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.8451, allocations: 481.6 kB / 0.6864 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.8454, allocations: 261 kB / 0.6867 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.8455, allocations: 16.44 kB / 0.6867 GB, free: 103.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.8456, allocations: 333.8 kB / 0.687 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.8461, allocations: 366.8 kB / 0.6874 GB, free: 103.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.8467, allocations: 471.9 kB / 0.6878 GB, free: 103 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.8473, allocations: 403 kB / 0.6882 GB, free: 103 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8473, allocations: 0 / 0.6882 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006715/0.854, allocations: 2.695 MB / 0.6908 GB, free: 102.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8541, allocations: 7.625 kB / 0.6908 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8541, allocations: 0 / 0.6908 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/0.858, allocations: 1.274 MB / 0.6921 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.8587, allocations: 144 kB / 0.6922 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.8663, allocations: 4.592 MB / 0.6967 GB, free: 99.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.8676, allocations: 165.1 kB / 0.6969 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.8677, allocations: 33.59 kB / 0.6969 GB, free: 99.64 MB / 490.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.0002041/0.8679, allocations: 141.7 kB / 0.697 GB, free: 99.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.8681, allocations: 113.8 kB / 0.6971 GB, free: 99.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/0.8753, allocations: 2.753 MB / 0.6998 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.8753, allocations: 7.719 kB / 0.6998 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8753, allocations: 7.031 kB / 0.6998 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.8753, allocations: 3.422 kB / 0.6998 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008522/0.8839, allocations: 4.109 MB / 0.7039 GB, free: 97.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.8839, allocations: 3.953 kB / 0.7039 GB, free: 97.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.8844, allocations: 95.28 kB / 0.704 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003921/0.8883, allocations: 1.32 MB / 0.7052 GB, free: 96.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.8884, allocations: 19.69 kB / 0.7053 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007922/0.8963, allocations: 4.895 MB / 0.71 GB, free: 92.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8963, allocations: 0 / 0.71 GB, free: 92.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007948/0.9043, allocations: 3.369 MB / 0.7133 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.9047, allocations: 199.4 kB / 0.7135 GB, free: 89.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.9048, allocations: 19.38 kB / 0.7135 GB, free: 89.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/0.9058, allocations: 109.9 kB / 0.7136 GB, free: 89.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/0.9062, allocations: 154.5 kB / 0.7138 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.9063, allocations: 23.89 kB / 0.7138 GB, free: 89.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.907, allocations: 0.6123 MB / 0.7144 GB, free: 89.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.907, allocations: 3.938 kB / 0.7144 GB, free: 89.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009623/0.908, allocations: 345.6 kB / 0.7147 GB, free: 88.74 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.00821/0.9162, allocations: 3.941 MB / 0.7186 GB, free: 85.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003383/0.9196, allocations: 1.576 MB / 0.7201 GB, free: 83.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9197, allocations: 4 kB / 0.7201 GB, free: 83.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.9223, allocations: 1.157 MB / 0.7213 GB, free: 82.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.923, allocations: 92.14 kB / 0.7214 GB, free: 82.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.9265, allocations: 1.476 MB / 0.7228 GB, free: 81.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.9269, allocations: 1.07 MB / 0.7238 GB, free: 80.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003353/0.9273, allocations: 81.06 kB / 0.7239 GB, free: 80.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.9277, allocations: 385.2 kB / 0.7243 GB, free: 79.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9277, allocations: 0 / 0.7243 GB, free: 79.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.963, allocations: 24.51 MB / 0.7482 GB, free: 56.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.9631, allocations: 164.3 kB / 0.7484 GB, free: 56.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.42, allocations: 8 kB / 0.7484 GB, free: 56.58 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)