Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_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.001317/0.001317, allocations: 175.2 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.365/1.365, allocations: 221.4 MB / 234.6 MB, free: 14.47 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.0008211/0.0008212, allocations: 93.61 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4647/0.4647, allocations: 78.08 MB / 414.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.422e-05, allocations: 0 / 491.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 69.35 MB / 0.5481 GB, free: 20.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.53, allocations: 100.6 MB / 0.6463 GB, free: 15.99 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.5302, allocations: 71.97 kB / 0.6464 GB, free: 15.92 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07007/0.6003, allocations: 24.77 MB / 0.6705 GB, free: 6.941 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.6003, allocations: 0 / 0.6705 GB, free: 6.941 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.954e-05/0.6004, allocations: 23.88 kB / 0.6706 GB, free: 6.918 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.004139/0.6045, allocations: 1.516 MB / 0.6721 GB, free: 5.355 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6046, allocations: 15.97 kB / 0.6721 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.6048, allocations: 110.5 kB / 0.6722 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.6071, allocations: 414.1 kB / 0.6726 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.6088, allocations: 0.7433 MB / 0.6733 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.6091, allocations: 225.7 kB / 0.6735 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6092, allocations: 60 kB / 0.6736 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.6106, allocations: 0.7094 MB / 0.6743 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6107, allocations: 0 / 0.6743 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.6108, allocations: 28 kB / 0.6743 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.6108, allocations: 16 kB / 0.6743 GB, free: 2.945 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.6121, allocations: 0.7003 MB / 0.675 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3383/0.9504, allocations: 3.047 MB / 0.678 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006491/0.957, allocations: 1.788 MB / 0.6797 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008474/0.9578, allocations: 454 kB / 0.6801 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.958, allocations: 11.59 kB / 0.6802 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009376/0.9589, allocations: 0.5061 MB / 0.6806 GB, free: 104.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.687e-06/0.9589, allocations: 4.672 kB / 0.6806 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.009103/0.968, allocations: 2.665 MB / 0.6833 GB, free: 104.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.9681, allocations: 59.22 kB / 0.6833 GB, free: 104.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.9699, allocations: 0.7938 MB / 0.6841 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002132/0.9701, allocations: 38.95 kB / 0.6841 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.9705, allocations: 478.8 kB / 0.6846 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.9708, allocations: 261 kB / 0.6848 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.9709, allocations: 13.41 kB / 0.6848 GB, free: 104.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.971, allocations: 336 kB / 0.6852 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/0.9717, allocations: 364.5 kB / 0.6855 GB, free: 103.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.9723, allocations: 469.2 kB / 0.686 GB, free: 103.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.973, allocations: 404.8 kB / 0.6863 GB, free: 103.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.973, allocations: 0 / 0.6863 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007185/0.9802, allocations: 2.697 MB / 0.689 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.9803, allocations: 7.812 kB / 0.689 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.9803, allocations: 0 / 0.689 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004137/0.9844, allocations: 1.273 MB / 0.6902 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/0.9852, allocations: 149.7 kB / 0.6904 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.993, allocations: 4.598 MB / 0.6949 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.9944, allocations: 158.5 kB / 0.695 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.9945, allocations: 34.56 kB / 0.695 GB, free: 101 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.0002019/0.9947, allocations: 145.3 kB / 0.6952 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.9948, allocations: 110.2 kB / 0.6953 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007443/1.002, allocations: 2.757 MB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.002, allocations: 12.41 kB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.002, allocations: 3.719 kB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.002, allocations: 2.906 kB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008775/1.011, allocations: 4.114 MB / 0.702 GB, free: 98.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.011, allocations: 0 / 0.702 GB, free: 98.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/1.012, allocations: 98.5 kB / 0.7021 GB, free: 98.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004181/1.016, allocations: 1.312 MB / 0.7034 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.016, allocations: 19.72 kB / 0.7034 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008307/1.024, allocations: 4.899 MB / 0.7082 GB, free: 95.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.024, allocations: 5.797 kB / 0.7082 GB, free: 95.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/1.033, allocations: 3.356 MB / 0.7115 GB, free: 92.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/1.033, allocations: 197.5 kB / 0.7117 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.033, allocations: 16 kB / 0.7117 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/1.034, allocations: 116.3 kB / 0.7118 GB, free: 92.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/1.035, allocations: 150.5 kB / 0.7119 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/1.035, allocations: 27.14 kB / 0.712 GB, free: 92.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007357/1.035, allocations: 0.6173 MB / 0.7126 GB, free: 91.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.035, allocations: 0 / 0.7126 GB, free: 91.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009108/1.036, allocations: 341.9 kB / 0.7129 GB, free: 91.11 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.008397/1.045, allocations: 3.961 MB / 0.7168 GB, free: 87.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003526/1.048, allocations: 1.571 MB / 0.7183 GB, free: 86.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.048, allocations: 4.125 kB / 0.7183 GB, free: 86.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.051, allocations: 1.167 MB / 0.7194 GB, free: 85.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/1.052, allocations: 76.36 kB / 0.7195 GB, free: 85.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/1.054, allocations: 1.477 MB / 0.7209 GB, free: 83.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/1.055, allocations: 1.067 MB / 0.722 GB, free: 82.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003159/1.055, allocations: 79.98 kB / 0.7221 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/1.056, allocations: 381.3 kB / 0.7224 GB, free: 82.37 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/1.056, allocations: 4 kB / 0.7224 GB, free: 82.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/1.094, allocations: 24.52 MB / 0.7464 GB, free: 59.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.095, allocations: 163.1 kB / 0.7465 GB, free: 59.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/3.821, allocations: 3.938 kB / 0.7465 GB, free: 59.25 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)