Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_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.007024/0.007024, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.518/1.518, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009875, allocations: 103 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5132/0.5132, allocations: 78.52 MB / 419.8 MB, free: 43.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 12 kB / 499.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4962, allocations: 69.35 MB / 0.5558 GB, free: 38.43 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.6332, allocations: 100.6 MB / 0.6541 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.6335, allocations: 79.95 kB / 0.6541 GB, free: 5.535 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06927/0.7028, allocations: 24.84 MB / 0.6784 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7028, allocations: 3.938 kB / 0.6784 GB, free: 12.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.744e-05/0.7029, allocations: 20 kB / 0.6784 GB, free: 12.52 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.004871/0.7078, allocations: 1.748 MB / 0.6801 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7078, allocations: 8.031 kB / 0.6801 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.708, allocations: 110.5 kB / 0.6802 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.7103, allocations: 430 kB / 0.6807 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.7121, allocations: 0.7743 MB / 0.6814 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.7124, allocations: 221.8 kB / 0.6816 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.7125, allocations: 60 kB / 0.6817 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.7143, allocations: 0.8732 MB / 0.6825 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.7143, allocations: 0 / 0.6825 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.7144, allocations: 27.98 kB / 0.6826 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.7145, allocations: 16 kB / 0.6826 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.7163, allocations: 0.9147 MB / 0.6835 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.722, allocations: 3.051 MB / 0.6864 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/0.7281, allocations: 1.97 MB / 0.6884 GB, free: 1.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.143e-05/0.7282, allocations: 12.61 kB / 0.6884 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.7296, allocations: 0.668 MB / 0.689 GB, free: 1.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.787e-06/0.7296, allocations: 0 / 0.689 GB, free: 1.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01892/0.7485, allocations: 5.509 MB / 0.6944 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.7486, allocations: 60.06 kB / 0.6945 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.7501, allocations: 0.828 MB / 0.6953 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.7502, allocations: 45.64 kB / 0.6953 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.7506, allocations: 480.7 kB / 0.6958 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.7509, allocations: 260.3 kB / 0.696 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.751, allocations: 16 kB / 0.696 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7512, allocations: 333.9 kB / 0.6964 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.7523, allocations: 0.5095 MB / 0.6969 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.7534, allocations: 0.6243 MB / 0.6975 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7545, allocations: 0.5506 MB / 0.698 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7546, allocations: 0 / 0.698 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008998/0.7636, allocations: 3.132 MB / 0.7011 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.7636, allocations: 5.406 kB / 0.7011 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7636, allocations: 4 kB / 0.7011 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005016/0.7687, allocations: 1.496 MB / 0.7025 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.7695, allocations: 143.8 kB / 0.7027 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.782, allocations: 5.97 MB / 0.7085 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.7837, allocations: 167.2 kB / 0.7087 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.7838, allocations: 31.98 kB / 0.7087 GB, free: 12.83 MB / 0.5105 GB 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.0006027/0.7844, allocations: 217.7 kB / 0.7089 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.7846, allocations: 114.6 kB / 0.709 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009082/0.7937, allocations: 3.173 MB / 0.7121 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.7937, allocations: 11.94 kB / 0.7121 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7937, allocations: 0 / 0.7121 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7937, allocations: 3.984 kB / 0.7121 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.8048, allocations: 4.54 MB / 0.7166 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8048, allocations: 0 / 0.7166 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.8054, allocations: 91.89 kB / 0.7166 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005073/0.8105, allocations: 1.547 MB / 0.7182 GB, free: 3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.8106, allocations: 19.98 kB / 0.7182 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.8236, allocations: 6.163 MB / 0.7242 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8237, allocations: 0 / 0.7242 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/0.8345, allocations: 3.942 MB / 0.728 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006253/0.8352, allocations: 195.7 kB / 0.7282 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.8353, allocations: 12 kB / 0.7282 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8364, allocations: 111.9 kB / 0.7284 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000529/0.8369, allocations: 164.4 kB / 0.7285 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.837, allocations: 23.95 kB / 0.7285 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001104/0.8381, allocations: 0.6475 MB / 0.7292 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8381, allocations: 0 / 0.7292 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001141/0.8392, allocations: 343.6 kB / 0.7295 GB, free: 7.191 MB / 0.5261 GB 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.01068/0.8499, allocations: 4.532 MB / 0.7339 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.8546, allocations: 1.886 MB / 0.7358 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8546, allocations: 4.188 kB / 0.7358 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/0.858, allocations: 1.344 MB / 0.7371 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007944/0.8588, allocations: 80.41 kB / 0.7372 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.8771, allocations: 10.18 MB / 0.7471 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.8778, allocations: 1.065 MB / 0.7481 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004239/0.8782, allocations: 81.44 kB / 0.7482 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/0.8787, allocations: 387.3 kB / 0.7486 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of SimCode: time 6.032e-06/0.8787, allocations: 0 / 0.7486 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3662/1.245, allocations: 24.65 MB / 0.7727 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.245, allocations: 188.8 kB / 0.7728 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.983, allocations: 1.25 kB / 0.7728 GB, free: 146.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)