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.001535/0.001536, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001546/0.001546, allocations: 195.4 kB / 18.52 MB, free: 4.637 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.525/1.525, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3094/0.3094, allocations: 48.84 MB / 320.6 MB, free: 11.07 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.00208/0.002081, allocations: 69.14 kB / 390.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09345, allocations: 59.16 MB / 449.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4012/0.4947, allocations: 186.1 MB / 0.6211 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.4987, allocations: 1.945 MB / 0.623 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.4994, allocations: 11.97 kB / 0.623 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.5005, allocations: 378 kB / 0.6234 GB, free: 6.668 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00171/0.5023, allocations: 0.7916 MB / 0.6242 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.505, allocations: 1.066 MB / 0.6252 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.5074, allocations: 1.873 MB / 0.6271 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009839/0.5084, allocations: 0.654 MB / 0.6277 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.5099, allocations: 0.8123 MB / 0.6285 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.511, allocations: 0.7938 MB / 0.6293 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.5113, allocations: 84 kB / 0.6293 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.5131, allocations: 0.7404 MB / 0.6301 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.5139, allocations: 0.8103 MB / 0.6309 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.5151, allocations: 0.9398 MB / 0.6318 GB, free: 188 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.5188, allocations: 2.422 MB / 0.6341 GB, free: 13.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5189, allocations: 0 / 0.6341 GB, free: 13.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5189, allocations: 0 / 0.6341 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.5189, allocations: 0 / 0.6341 GB, free: 13.75 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.004089/0.523, allocations: 2.373 MB / 0.6365 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5231, allocations: 15.89 kB / 0.6365 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.524, allocations: 297.1 kB / 0.6368 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.5263, allocations: 1.384 MB / 0.6381 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.5264, allocations: 95.7 kB / 0.6382 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.5265, allocations: 84 kB / 0.6383 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.5284, allocations: 1.136 MB / 0.6394 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.5284, allocations: 5.125 kB / 0.6394 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.5285, allocations: 40 kB / 0.6394 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/0.5286, allocations: 37.98 kB / 0.6395 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.53, allocations: 0.8236 MB / 0.6403 GB, free: 7.277 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.008833/0.5388, allocations: 5.193 MB / 0.6453 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.5396, allocations: 325.1 kB / 0.6457 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.5399, allocations: 137.7 kB / 0.6458 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.5399, allocations: 7.938 kB / 0.6458 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.54, allocations: 54.55 kB / 0.6458 GB, free: 1.297 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.415e-06/0.54, allocations: 0 / 0.6458 GB, free: 1.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002984/0.543, allocations: 1.648 MB / 0.6475 GB, free: 15.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.5431, allocations: 85.09 kB / 0.6475 GB, free: 15.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/0.5476, allocations: 3.414 MB / 0.6509 GB, free: 12.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.5478, allocations: 33.7 kB / 0.6509 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/0.5487, allocations: 0.9674 MB / 0.6518 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.5489, allocations: 141.9 kB / 0.652 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.5491, allocations: 134.1 kB / 0.6521 GB, free: 10.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5493, allocations: 334 kB / 0.6524 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.5497, allocations: 201.2 kB / 0.6526 GB, free: 10.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.5502, allocations: 398 kB / 0.653 GB, free: 9.758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008497/0.5511, allocations: 0.572 MB / 0.6536 GB, free: 9.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5511, allocations: 0 / 0.6536 GB, free: 9.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001612/0.5527, allocations: 0.8446 MB / 0.6544 GB, free: 8.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.5528, allocations: 11.94 kB / 0.6544 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5528, allocations: 8 kB / 0.6544 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.5528, allocations: 8 kB / 0.6544 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.5539, allocations: 218.5 kB / 0.6546 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.5548, allocations: 1.211 MB / 0.6558 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.5556, allocations: 28.11 kB / 0.6558 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.5557, allocations: 43.98 kB / 0.6559 GB, free: 6.684 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.001014/0.5567, allocations: 0.5832 MB / 0.6564 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.5572, allocations: 217.3 kB / 0.6566 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.5583, allocations: 0.5337 MB / 0.6572 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.5583, allocations: 7.938 kB / 0.6572 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5583, allocations: 4 kB / 0.6572 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5583, allocations: 4 kB / 0.6572 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.5614, allocations: 1.81 MB / 0.6589 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5614, allocations: 3.938 kB / 0.6589 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/0.5622, allocations: 127.9 kB / 0.6591 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5622, allocations: 0 / 0.6591 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.5622, allocations: 16.06 kB / 0.6591 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.563, allocations: 1.191 MB / 0.6603 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.5631, allocations: 4.078 kB / 0.6603 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5643, allocations: 0.7694 MB / 0.661 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/0.565, allocations: 418.3 kB / 0.6614 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.5653, allocations: 8 kB / 0.6614 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.566, allocations: 31.97 kB / 0.6614 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.5661, allocations: 27.95 kB / 0.6615 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.5662, allocations: 27.98 kB / 0.6615 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003343/0.5695, allocations: 2.431 MB / 0.6639 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5695, allocations: 0 / 0.6639 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001208/0.5708, allocations: 335.9 kB / 0.6642 GB, free: 13.96 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 (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.002034/0.5728, allocations: 0.5568 MB / 0.6647 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.574, allocations: 474 kB / 0.6652 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.574, allocations: 10.12 kB / 0.6652 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.5744, allocations: 164.2 kB / 0.6654 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.5773, allocations: 0.5854 MB / 0.6659 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.5835, allocations: 3.793 MB / 0.6696 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.5848, allocations: 1.472 MB / 0.6711 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.5852, allocations: 115.4 kB / 0.6712 GB, free: 6.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.806e-06/0.5852, allocations: 0 / 0.6712 GB, free: 6.73 MB / 494.1 MB Notification: Performance of Templates: time 0.05522/0.6405, allocations: 37.95 MB / 0.7082 GB, free: 0.7188 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)