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/ModelicaServices 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/Modelica 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 93.11 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009861/0.0009862, allocations: 184.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4729/0.4729, allocations: 48.77 MB / 320.4 MB, free: 3.824 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.0005751, allocations: 12 kB / 391.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 60.26 MB / 451.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4464/0.5893, allocations: 145.3 MB / 0.5827 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.5933, allocations: 1.819 MB / 0.5845 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.594, allocations: 7.938 kB / 0.5845 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.595, allocations: 290.6 kB / 0.5848 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.5964, allocations: 0.6818 MB / 0.5854 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.599, allocations: 0.8319 MB / 0.5863 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.6009, allocations: 1.093 MB / 0.5873 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.6018, allocations: 0.5427 MB / 0.5879 GB, free: 6.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.6033, allocations: 0.7829 MB / 0.5886 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.604, allocations: 0.5802 MB / 0.5892 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-05/0.6041, allocations: 40 kB / 0.5892 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.6055, allocations: 0.4915 MB / 0.5897 GB, free: 4.695 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007324/0.6062, allocations: 0.7442 MB / 0.5904 GB, free: 3.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.6066, allocations: 356.6 kB / 0.5908 GB, free: 3.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.6087, allocations: 1.807 MB / 0.5925 GB, free: 1.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6087, allocations: 0 / 0.5925 GB, free: 1.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6087, allocations: 0 / 0.5925 GB, free: 1.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.6087, allocations: 0 / 0.5925 GB, free: 1.793 MB / 462.1 MB 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.003424/0.6122, allocations: 2.04 MB / 0.5945 GB, free: 15.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6122, allocations: 8.031 kB / 0.5945 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/0.6132, allocations: 314.9 kB / 0.5948 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.6153, allocations: 1.304 MB / 0.5961 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.6154, allocations: 97.22 kB / 0.5962 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.6156, allocations: 84 kB / 0.5963 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.6173, allocations: 1.128 MB / 0.5974 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.6173, allocations: 3.938 kB / 0.5974 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.6174, allocations: 43.98 kB / 0.5974 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.6175, allocations: 37.98 kB / 0.5975 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.6187, allocations: 0.8158 MB / 0.5983 GB, free: 11.74 MB / 478.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.007802/0.6265, allocations: 5.125 MB / 0.6033 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.6272, allocations: 305.3 kB / 0.6036 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.6273, allocations: 12 kB / 0.6036 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.6273, allocations: 46.5 kB / 0.6036 GB, free: 5.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.855e-06/0.6273, allocations: 0 / 0.6036 GB, free: 5.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.002609/0.6299, allocations: 1.657 MB / 0.6052 GB, free: 4.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.63, allocations: 85.05 kB / 0.6053 GB, free: 4.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/0.6339, allocations: 3.439 MB / 0.6087 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.634, allocations: 41.7 kB / 0.6087 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007811/0.6348, allocations: 0.9674 MB / 0.6097 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6349, allocations: 145.9 kB / 0.6098 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.635, allocations: 16 kB / 0.6098 GB, free: 15.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6351, allocations: 333.9 kB / 0.6101 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.6355, allocations: 205.2 kB / 0.6103 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.6359, allocations: 398 kB / 0.6107 GB, free: 14.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.6363, allocations: 264.7 kB / 0.611 GB, free: 14.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6363, allocations: 0 / 0.611 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00136/0.6377, allocations: 0.8447 MB / 0.6118 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6377, allocations: 8 kB / 0.6118 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6378, allocations: 4 kB / 0.6118 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.6378, allocations: 15.94 kB / 0.6118 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.6389, allocations: 217.3 kB / 0.612 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006102/0.6395, allocations: 1.212 MB / 0.6132 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.6404, allocations: 40.97 kB / 0.6132 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.6405, allocations: 32 kB / 0.6133 GB, free: 11.85 MB / 494.1 MB 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 () * Number of clocked 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.0008965/0.6414, allocations: 0.5949 MB / 0.6138 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.6417, allocations: 221.2 kB / 0.6141 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/0.6426, allocations: 0.5365 MB / 0.6146 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.6426, allocations: 4 kB / 0.6146 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6426, allocations: 8 kB / 0.6146 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.6426, allocations: 4.031 kB / 0.6146 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.6456, allocations: 1.826 MB / 0.6164 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6456, allocations: 0 / 0.6164 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.6463, allocations: 133.2 kB / 0.6165 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6464, allocations: 0 / 0.6165 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.6464, allocations: 15.98 kB / 0.6165 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000585/0.647, allocations: 1.199 MB / 0.6177 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.647, allocations: 0 / 0.6177 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.6481, allocations: 0.8047 MB / 0.6185 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009445/0.6491, allocations: 444.5 kB / 0.6189 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/0.6494, allocations: 8 kB / 0.6189 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.6503, allocations: 39.95 kB / 0.619 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.6504, allocations: 23.97 kB / 0.619 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.6504, allocations: 27.97 kB / 0.619 GB, free: 5.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003972/0.6544, allocations: 2.443 MB / 0.6214 GB, free: 3.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6544, allocations: 0 / 0.6214 GB, free: 3.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001485/0.6559, allocations: 339.8 kB / 0.6217 GB, free: 3.008 MB / 494.1 MB 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 () * Number of clocked 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.001457/0.6574, allocations: 0.4892 MB / 0.6222 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.6586, allocations: 463.2 kB / 0.6226 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.6586, allocations: 12.88 kB / 0.6226 GB, free: 2.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.659, allocations: 167.8 kB / 0.6228 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.6621, allocations: 0.5526 MB / 0.6233 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2196/0.8817, allocations: 4.078 MB / 0.6273 GB, free: 151.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/0.8826, allocations: 1.498 MB / 0.6288 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.8839, allocations: 342.8 kB / 0.6291 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.8842, allocations: 114 kB / 0.6292 GB, free: 151 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.8842, allocations: 0 / 0.6292 GB, free: 151 MB / 494.1 MB Notification: Performance of Templates: time 0.0481/0.9323, allocations: 25.62 MB / 0.6542 GB, free: 144.5 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile Environment - environmentSimulation: (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) Environment - environmentSimulation: