Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",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.001366/0.001366, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.792/1.792, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001238/0.001238, allocations: 90.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3576/0.3576, allocations: 48.79 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.606e-05, allocations: 0 / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1532, allocations: 60.25 MB / 492.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.286/2.439, allocations: 0.7548 GB / 1.236 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/2.44, allocations: 81.16 kB / 1.236 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.754/4.194, allocations: 476.2 MB / 1.701 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.045e-06/4.194, allocations: 0 / 1.701 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004451/4.194, allocations: 36 kB / 1.701 GB, free: 1.094 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.429/4.623, allocations: 1.694 MB / 1.703 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.069e-05/4.623, allocations: 9.266 kB / 1.703 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006622/4.624, allocations: 139 kB / 1.703 GB, free: 96.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/4.626, allocations: 297.6 kB / 1.703 GB, free: 96.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/4.631, allocations: 1.429 MB / 1.705 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/4.631, allocations: 99.42 kB / 1.705 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/4.631, allocations: 86.64 kB / 1.705 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/4.634, allocations: 1.089 MB / 1.706 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/4.634, allocations: 2.844 kB / 1.706 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/4.634, allocations: 41.25 kB / 1.706 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/4.634, allocations: 40.81 kB / 1.706 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/4.635, allocations: 0.7675 MB / 1.707 GB, free: 96.3 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01214/4.648, allocations: 5.205 MB / 1.712 GB, free: 93.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/4.649, allocations: 310.8 kB / 1.712 GB, free: 93.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/4.649, allocations: 143.3 kB / 1.712 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.784e-05/4.649, allocations: 8.641 kB / 1.712 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/4.649, allocations: 48.09 kB / 1.712 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 3.607e-06/4.649, allocations: 1.594 kB / 1.712 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.003956/4.653, allocations: 1.534 MB / 1.714 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/4.653, allocations: 86.02 kB / 1.714 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006713/4.66, allocations: 3.068 MB / 1.717 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/4.66, allocations: 37.7 kB / 1.717 GB, free: 92.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/4.661, allocations: 0.9827 MB / 1.718 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/4.661, allocations: 144.1 kB / 1.718 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/4.661, allocations: 13.75 kB / 1.718 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000147/4.662, allocations: 329.3 kB / 1.718 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/4.662, allocations: 196.5 kB / 1.719 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/4.663, allocations: 389.6 kB / 1.719 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/4.663, allocations: 253.5 kB / 1.719 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/4.663, allocations: 2.562 kB / 1.719 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002189/4.665, allocations: 0.8325 MB / 1.72 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/4.665, allocations: 8.219 kB / 1.72 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/4.665, allocations: 14.61 kB / 1.72 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.028e-05/4.665, allocations: 10.44 kB / 1.72 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/4.667, allocations: 220.1 kB / 1.72 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006492/4.667, allocations: 1.2 MB / 1.721 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/4.669, allocations: 51.92 kB / 1.721 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/4.669, allocations: 32.27 kB / 1.721 GB, free: 90.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002891/4.669, allocations: 148.2 kB / 1.722 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/4.67, allocations: 221.5 kB / 1.722 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/4.671, allocations: 0.5247 MB / 1.722 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/4.671, allocations: 4.312 kB / 1.722 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/4.671, allocations: 2.047 kB / 1.722 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/4.671, allocations: 2.25 kB / 1.722 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/4.677, allocations: 2.013 MB / 1.724 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/4.677, allocations: 1.094 kB / 1.724 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009039/4.678, allocations: 132.1 kB / 1.724 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/4.678, allocations: 0 / 1.724 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/4.678, allocations: 11.59 kB / 1.724 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/4.679, allocations: 1.201 MB / 1.726 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/4.679, allocations: 2.594 kB / 1.726 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/4.68, allocations: 0.7846 MB / 1.726 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/4.682, allocations: 0.4891 MB / 1.727 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/4.682, allocations: 10.88 kB / 1.727 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/4.683, allocations: 45.28 kB / 1.727 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/4.683, allocations: 25.03 kB / 1.727 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/4.683, allocations: 24.89 kB / 1.727 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005142/4.688, allocations: 2.374 MB / 1.729 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.71e-07/4.688, allocations: 0 / 1.729 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002616/4.691, allocations: 446.1 kB / 1.73 GB, free: 88.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004826/4.696, allocations: 2.507 MB / 1.732 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001231/4.697, allocations: 446.8 kB / 1.733 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/4.697, allocations: 3.484 kB / 1.733 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/4.697, allocations: 166.8 kB / 1.733 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/4.701, allocations: 0.5557 MB / 1.733 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/4.709, allocations: 3.456 MB / 1.737 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/4.711, allocations: 1.515 MB / 1.738 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001647/4.712, allocations: 372.4 kB / 1.738 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/4.713, allocations: 0.7372 MB / 1.739 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of SimCode: time 2.194e-06/4.713, allocations: 0 / 1.739 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/4.851, allocations: 61.46 MB / 1.799 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/4.851, allocations: 198.7 kB / 1.799 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.806/9.657, allocations: 0 / 1.799 GB, free: 78.31 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)