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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239 MB, free: 5.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 179.5 kB / 290.3 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.482/0.482, allocations: 78.56 MB / 419.9 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 12 kB / 499.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 69.36 MB / 0.5559 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2877/0.4305, allocations: 5.522 MB / 0.5613 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.4341, allocations: 1.775 MB / 0.563 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.4345, allocations: 16.75 kB / 0.563 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.4351, allocations: 160.5 kB / 0.5632 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.4364, allocations: 0.5738 MB / 0.5637 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.4374, allocations: 450.6 kB / 0.5642 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.4387, allocations: 1.265 MB / 0.5654 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.4391, allocations: 224.7 kB / 0.5656 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.4396, allocations: 492.5 kB / 0.5661 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.4402, allocations: 0.5754 MB / 0.5667 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4403, allocations: 52.12 kB / 0.5667 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.4407, allocations: 174.9 kB / 0.5669 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.4409, allocations: 205.1 kB / 0.5671 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.4411, allocations: 207 kB / 0.5673 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008384/0.4419, allocations: 1.017 MB / 0.5683 GB, free: 36.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.442, allocations: 0 / 0.5683 GB, free: 36.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.442, allocations: 3.094 kB / 0.5683 GB, free: 36.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.442, allocations: 1.125 kB / 0.5683 GB, free: 36.03 MB / 430.1 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.005634/0.4476, allocations: 2.094 MB / 0.5703 GB, free: 35.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4477, allocations: 13.47 kB / 0.5703 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.4478, allocations: 107.9 kB / 0.5704 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.4508, allocations: 0.5558 MB / 0.571 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.452, allocations: 0.7444 MB / 0.5717 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.4522, allocations: 215.8 kB / 0.5719 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.4523, allocations: 64.56 kB / 0.572 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.4539, allocations: 0.8787 MB / 0.5728 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4539, allocations: 0 / 0.5728 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.454, allocations: 30.45 kB / 0.5728 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.454, allocations: 15.77 kB / 0.5729 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.4556, allocations: 0.9093 MB / 0.5737 GB, free: 34.52 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.4604, allocations: 3.098 MB / 0.5768 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/0.4658, allocations: 1.974 MB / 0.5787 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.4669, allocations: 0.5961 MB / 0.5793 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.54e-05/0.467, allocations: 16.84 kB / 0.5793 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.4682, allocations: 0.6569 MB / 0.5799 GB, free: 31.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.547e-06/0.4682, allocations: 3.938 kB / 0.5799 GB, free: 31.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01766/0.4859, allocations: 5.588 MB / 0.5854 GB, free: 30.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4859, allocations: 64.31 kB / 0.5855 GB, free: 30.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4876, allocations: 0.9596 MB / 0.5864 GB, free: 30.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002646/0.4879, allocations: 36.92 kB / 0.5864 GB, free: 30.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.4883, allocations: 472.1 kB / 0.5869 GB, free: 29.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.4887, allocations: 269.6 kB / 0.5871 GB, free: 29.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.4888, allocations: 20.91 kB / 0.5872 GB, free: 29.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4889, allocations: 351.4 kB / 0.5875 GB, free: 29.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4903, allocations: 0.5918 MB / 0.5881 GB, free: 28.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4917, allocations: 0.7154 MB / 0.5888 GB, free: 28.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.493, allocations: 0.6381 MB / 0.5894 GB, free: 28.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.493, allocations: 3.938 kB / 0.5894 GB, free: 28.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008966/0.502, allocations: 3.322 MB / 0.5926 GB, free: 27.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5021, allocations: 5.312 kB / 0.5927 GB, free: 27.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.5021, allocations: 6.156 kB / 0.5927 GB, free: 27.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.5068, allocations: 1.485 MB / 0.5941 GB, free: 27.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5079, allocations: 191.8 kB / 0.5943 GB, free: 27.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.5199, allocations: 5.727 MB / 0.5999 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.5217, allocations: 179.3 kB / 0.6001 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.5218, allocations: 35.8 kB / 0.6001 GB, free: 24.27 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false 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 (103): * Single equations (assignments): 101 * 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.0005529/0.5224, allocations: 236.2 kB / 0.6003 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.5226, allocations: 114 kB / 0.6004 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00921/0.5318, allocations: 3.159 MB / 0.6035 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5318, allocations: 7.438 kB / 0.6035 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5318, allocations: 1 kB / 0.6035 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.5319, allocations: 4.453 kB / 0.6035 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.5431, allocations: 4.523 MB / 0.6079 GB, free: 21.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.5432, allocations: 0 / 0.6079 GB, free: 21.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.5438, allocations: 98.78 kB / 0.608 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005391/0.5492, allocations: 1.535 MB / 0.6095 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.5494, allocations: 17.52 kB / 0.6095 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.5613, allocations: 5.887 MB / 0.6153 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5613, allocations: 0 / 0.6153 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/0.5701, allocations: 3.922 MB / 0.6191 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.5705, allocations: 208.7 kB / 0.6193 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.5707, allocations: 12.94 kB / 0.6193 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.5716, allocations: 123.8 kB / 0.6195 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/0.572, allocations: 152.4 kB / 0.6196 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.572, allocations: 16 kB / 0.6196 GB, free: 12.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00084/0.5729, allocations: 0.6553 MB / 0.6203 GB, free: 11.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5729, allocations: 0 / 0.6203 GB, free: 11.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001128/0.574, allocations: 349.6 kB / 0.6206 GB, free: 11.33 MB / 430.1 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.008873/0.5829, allocations: 4.483 MB / 0.625 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004264/0.5872, allocations: 2.037 MB / 0.627 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5872, allocations: 4.562 kB / 0.627 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.5902, allocations: 1.336 MB / 0.6283 GB, free: 3.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5913, allocations: 98.2 kB / 0.6284 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.6102, allocations: 9.072 MB / 0.6372 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/0.611, allocations: 1.046 MB / 0.6382 GB, free: 8.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.6115, allocations: 102 kB / 0.6383 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.6121, allocations: 395.3 kB / 0.6387 GB, free: 8.363 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6121, allocations: 0 / 0.6387 GB, free: 8.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0715/0.6836, allocations: 25.38 MB / 0.6635 GB, free: 15.35 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.6839, allocations: 195.7 kB / 0.6637 GB, free: 15.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.04, allocations: 0 / 0.6637 GB, free: 15.11 MB / 478.1 MB (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) Environment - environmentSimulation: