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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006799/0.006799, allocations: 172 kB / 15.11 MB, free: 5.969 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.572/1.572, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008429/0.0008432, allocations: 98.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06798/0.06798, allocations: 12.21 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4505/0.4505, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005601/0.0005603, allocations: 16.69 kB / 0.528 GB, free: 35.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1713, allocations: 69.25 MB / 0.5956 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5169/0.6883, allocations: 102.2 MB / 0.6954 GB, free: 36.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.6886, allocations: 77.03 kB / 0.6955 GB, free: 36.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06985/0.7584, allocations: 24.13 MB / 0.719 GB, free: 33.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7585, allocations: 0 / 0.719 GB, free: 33.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.7586, allocations: 19.47 kB / 0.7191 GB, free: 33.77 MB / 474.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.006136/0.7647, allocations: 1.755 MB / 0.7208 GB, free: 32.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.7648, allocations: 13.08 kB / 0.7208 GB, free: 32.95 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004749/0.7653, allocations: 117 kB / 0.7209 GB, free: 32.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.7682, allocations: 424.1 kB / 0.7213 GB, free: 32.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.7713, allocations: 0.7762 MB / 0.7221 GB, free: 32.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.7716, allocations: 220.8 kB / 0.7223 GB, free: 32.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.7719, allocations: 60.19 kB / 0.7223 GB, free: 32.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.7741, allocations: 0.8673 MB / 0.7232 GB, free: 32.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.7741, allocations: 0 / 0.7232 GB, free: 32.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.7742, allocations: 29.44 kB / 0.7232 GB, free: 32.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.7742, allocations: 11.53 kB / 0.7232 GB, free: 32.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.7762, allocations: 0.9113 MB / 0.7241 GB, free: 32.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.7826, allocations: 3.06 MB / 0.7271 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006103/0.7887, allocations: 1.968 MB / 0.729 GB, free: 30.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.7889, allocations: 11.95 kB / 0.729 GB, free: 30.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.7902, allocations: 0.6628 MB / 0.7297 GB, free: 30.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=74): time 3.527e-06/0.7903, allocations: 3.938 kB / 0.7297 GB, free: 30.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=74): time 0.01847/0.8087, allocations: 5.506 MB / 0.7351 GB, free: 30.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.8088, allocations: 59.78 kB / 0.7351 GB, free: 30.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.8107, allocations: 0.8279 MB / 0.7359 GB, free: 30.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.811, allocations: 43.84 kB / 0.736 GB, free: 30.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.8114, allocations: 487.2 kB / 0.7364 GB, free: 29.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.8118, allocations: 253.1 kB / 0.7367 GB, free: 29.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.8119, allocations: 18.06 kB / 0.7367 GB, free: 29.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.812, allocations: 339.1 kB / 0.737 GB, free: 29.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.8131, allocations: 0.5067 MB / 0.7375 GB, free: 29.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8142, allocations: 0.6201 MB / 0.7381 GB, free: 29.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.8153, allocations: 0.5502 MB / 0.7386 GB, free: 29.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.8153, allocations: 3.938 kB / 0.7386 GB, free: 29.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008324/0.8237, allocations: 3.134 MB / 0.7417 GB, free: 28.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.8237, allocations: 3.906 kB / 0.7417 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.8238, allocations: 3.906 kB / 0.7417 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004985/0.8288, allocations: 1.493 MB / 0.7432 GB, free: 28.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.8299, allocations: 148.3 kB / 0.7433 GB, free: 28.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.8417, allocations: 5.962 MB / 0.7491 GB, free: 27.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.8434, allocations: 160.4 kB / 0.7493 GB, free: 27.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.8436, allocations: 23.28 kB / 0.7493 GB, free: 27.05 MB / 474.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.0007996/0.8444, allocations: 222.3 kB / 0.7495 GB, free: 26.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.8449, allocations: 113.4 kB / 0.7496 GB, free: 26.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/0.8538, allocations: 3.182 MB / 0.7527 GB, free: 25.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.8539, allocations: 7.922 kB / 0.7527 GB, free: 25.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.8539, allocations: 3.812 kB / 0.7528 GB, free: 25.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.8539, allocations: 11.91 kB / 0.7528 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.8655, allocations: 4.532 MB / 0.7572 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.8655, allocations: 3.984 kB / 0.7572 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.8661, allocations: 91.2 kB / 0.7573 GB, free: 24.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00477/0.8709, allocations: 1.542 MB / 0.7588 GB, free: 23.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.871, allocations: 18.08 kB / 0.7588 GB, free: 23.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.8839, allocations: 6.158 MB / 0.7648 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.884, allocations: 0 / 0.7648 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.8945, allocations: 3.936 MB / 0.7687 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/0.8953, allocations: 201.8 kB / 0.7689 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/0.8958, allocations: 19.05 kB / 0.7689 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.8972, allocations: 113.3 kB / 0.769 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005337/0.8977, allocations: 157.8 kB / 0.7691 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.8978, allocations: 19.22 kB / 0.7691 GB, free: 19.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.899, allocations: 0.6487 MB / 0.7698 GB, free: 19.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.899, allocations: 3.906 kB / 0.7698 GB, free: 19.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001566/0.9006, allocations: 347.3 kB / 0.7701 GB, free: 19.74 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.01083/0.9114, allocations: 4.52 MB / 0.7745 GB, free: 18.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004786/0.9163, allocations: 1.901 MB / 0.7764 GB, free: 17.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9163, allocations: 0 / 0.7764 GB, free: 17.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003266/0.9196, allocations: 1.324 MB / 0.7777 GB, free: 16.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.9207, allocations: 91.5 kB / 0.7778 GB, free: 16.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.9404, allocations: 10.2 MB / 0.7877 GB, free: 7.496 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.941, allocations: 1.065 MB / 0.7888 GB, free: 6.402 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.9415, allocations: 81.42 kB / 0.7888 GB, free: 6.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.9422, allocations: 384.8 kB / 0.7892 GB, free: 6.242 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.9422, allocations: 0 / 0.7892 GB, free: 6.242 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/0.9925, allocations: 24.67 MB / 0.8133 GB, free: 13.75 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.9928, allocations: 189.6 kB / 0.8135 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.508, allocations: 64 / 0.8135 GB, free: 13.51 MB / 0.4949 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)