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.001575/0.001576, allocations: 100.6 kB / 16.5 MB, free: 6.645 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.002289/0.002289, allocations: 191.1 kB / 17.42 MB, free: 6.07 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.457/1.457, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2891/0.2891, allocations: 48.84 MB / 319.5 MB, free: 11.3 MB / 270.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.001442/0.001442, allocations: 62.86 kB / 389.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 59.15 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3903/0.4975, allocations: 184.5 MB / 0.6182 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.5009, allocations: 1.988 MB / 0.6201 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.5013, allocations: 17.25 kB / 0.6201 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008861/0.5022, allocations: 321.6 kB / 0.6204 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5034, allocations: 0.7648 MB / 0.6212 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.5056, allocations: 0.9907 MB / 0.6221 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.5076, allocations: 2.328 MB / 0.6244 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.5083, allocations: 0.5702 MB / 0.625 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000924/0.5092, allocations: 0.7294 MB / 0.6257 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007708/0.51, allocations: 0.812 MB / 0.6265 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.5101, allocations: 47.98 kB / 0.6265 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.5118, allocations: 0.9431 MB / 0.6274 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005942/0.5124, allocations: 0.7751 MB / 0.6282 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007841/0.5132, allocations: 0.8773 MB / 0.6291 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.5154, allocations: 2.445 MB / 0.6314 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5154, allocations: 0 / 0.6314 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.5154, allocations: 3.938 kB / 0.6314 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.5155, allocations: 0 / 0.6314 GB, free: 15.86 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.003229/0.5187, allocations: 2.375 MB / 0.6338 GB, free: 13.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5187, allocations: 12.03 kB / 0.6338 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.5196, allocations: 297.1 kB / 0.6341 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.5215, allocations: 1.38 MB / 0.6354 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.136e-05/0.5216, allocations: 91.7 kB / 0.6355 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5217, allocations: 84 kB / 0.6356 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5234, allocations: 1.137 MB / 0.6367 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5234, allocations: 8 kB / 0.6367 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5235, allocations: 43.94 kB / 0.6367 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.5236, allocations: 37.98 kB / 0.6368 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.5249, allocations: 0.8196 MB / 0.6376 GB, free: 9.387 MB / 462.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.007219/0.5321, allocations: 5.194 MB / 0.6426 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.5328, allocations: 325.1 kB / 0.643 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.533, allocations: 137.7 kB / 0.6431 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.5331, allocations: 4 kB / 0.6431 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5331, allocations: 46.56 kB / 0.6431 GB, free: 3.418 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.225e-06/0.5331, allocations: 3.938 kB / 0.6431 GB, free: 3.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002444/0.5355, allocations: 1.651 MB / 0.6448 GB, free: 1.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.5356, allocations: 81.11 kB / 0.6448 GB, free: 1.602 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/0.5394, allocations: 3.414 MB / 0.6482 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.5395, allocations: 41.7 kB / 0.6482 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/0.5403, allocations: 0.9672 MB / 0.6491 GB, free: 13.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5404, allocations: 141.9 kB / 0.6493 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.5406, allocations: 130.1 kB / 0.6494 GB, free: 12.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5407, allocations: 337.9 kB / 0.6497 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.5411, allocations: 205.2 kB / 0.6499 GB, free: 12.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.5416, allocations: 402 kB / 0.6503 GB, free: 11.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.5424, allocations: 0.5681 MB / 0.6509 GB, free: 11.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5424, allocations: 4 kB / 0.6509 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001363/0.5437, allocations: 0.841 MB / 0.6517 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5438, allocations: 11.94 kB / 0.6517 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5438, allocations: 8 kB / 0.6517 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5438, allocations: 8 kB / 0.6517 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.5449, allocations: 216.5 kB / 0.6519 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006721/0.5456, allocations: 1.211 MB / 0.6531 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.5464, allocations: 35.89 kB / 0.6531 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.5464, allocations: 32.17 kB / 0.6532 GB, free: 8.797 MB / 478.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007361/0.5472, allocations: 0.5919 MB / 0.6537 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.5475, allocations: 213.4 kB / 0.654 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00082/0.5483, allocations: 0.545 MB / 0.6545 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.5483, allocations: 11.94 kB / 0.6545 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5483, allocations: 0 / 0.6545 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5483, allocations: 0 / 0.6545 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.5508, allocations: 1.802 MB / 0.6563 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5508, allocations: 4 kB / 0.6563 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.5515, allocations: 131.9 kB / 0.6564 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5516, allocations: 4 kB / 0.6564 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.5516, allocations: 8.031 kB / 0.6564 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006126/0.5522, allocations: 1.199 MB / 0.6576 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5522, allocations: 3.984 kB / 0.6576 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5533, allocations: 0.7775 MB / 0.6583 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.5539, allocations: 410.4 kB / 0.6587 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.5541, allocations: 11.98 kB / 0.6587 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.5549, allocations: 35.97 kB / 0.6588 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.555, allocations: 27.97 kB / 0.6588 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.555, allocations: 27.97 kB / 0.6588 GB, free: 2.828 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.5579, allocations: 2.427 MB / 0.6612 GB, free: 400 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5579, allocations: 0 / 0.6612 GB, free: 400 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001042/0.559, allocations: 335.8 kB / 0.6615 GB, free: 64 kB / 478.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.5603, allocations: 0.5602 MB / 0.6621 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009452/0.5613, allocations: 467.5 kB / 0.6625 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5613, allocations: 0.5625 kB / 0.6625 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.5617, allocations: 168.2 kB / 0.6627 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.5642, allocations: 0.5664 MB / 0.6632 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.5694, allocations: 4.184 MB / 0.6673 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.5705, allocations: 1.479 MB / 0.6687 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001091/0.5716, allocations: 336.5 kB / 0.6691 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.5719, allocations: 111.4 kB / 0.6692 GB, free: 8.133 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5719, allocations: 0 / 0.6692 GB, free: 8.133 MB / 494.1 MB Notification: Performance of Templates: time 0.04097/0.6129, allocations: 26.25 MB / 0.6948 GB, free: 13.82 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile (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)