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.001056/0.001056, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.001176/0.001177, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.442/1.442, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.295/0.295, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0006217/0.0006217, allocations: 17.64 kB / 391.8 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 60.27 MB / 452.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4435/0.5443, allocations: 182 MB / 0.6192 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.5479, allocations: 1.971 MB / 0.6212 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.5484, allocations: 15.78 kB / 0.6212 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.5494, allocations: 317.5 kB / 0.6215 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.5508, allocations: 0.7659 MB / 0.6222 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.5535, allocations: 0.9743 MB / 0.6232 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.5561, allocations: 2.341 MB / 0.6255 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.5569, allocations: 0.5529 MB / 0.626 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.5581, allocations: 0.7233 MB / 0.6267 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.5591, allocations: 0.8113 MB / 0.6275 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.5592, allocations: 38.34 kB / 0.6275 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.5614, allocations: 0.9391 MB / 0.6285 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.5621, allocations: 0.7645 MB / 0.6292 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.563, allocations: 0.9047 MB / 0.6301 GB, free: 8.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.566, allocations: 2.42 MB / 0.6325 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.566, allocations: 3.984 kB / 0.6325 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.566, allocations: 0 / 0.6325 GB, free: 6.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.5661, allocations: 0 / 0.6325 GB, free: 6.422 MB / 446.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.003552/0.5696, allocations: 1.985 MB / 0.6344 GB, free: 4.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5697, allocations: 12.03 kB / 0.6344 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.5706, allocations: 308.9 kB / 0.6347 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.573, allocations: 1.384 MB / 0.6361 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.5731, allocations: 92.58 kB / 0.6361 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.5734, allocations: 84 kB / 0.6362 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.5752, allocations: 1.14 MB / 0.6373 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5752, allocations: 0 / 0.6373 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.5753, allocations: 40 kB / 0.6374 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.5754, allocations: 37.98 kB / 0.6374 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5769, allocations: 0.8274 MB / 0.6382 GB, free: 336 kB / 446.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.00774/0.5847, allocations: 5.152 MB / 0.6433 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.5855, allocations: 325.1 kB / 0.6436 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.5858, allocations: 145.6 kB / 0.6437 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.5858, allocations: 7.984 kB / 0.6437 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.5859, allocations: 55.31 kB / 0.6438 GB, free: 10.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 3.697e-06/0.5859, allocations: 0 / 0.6438 GB, free: 10.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002854/0.5888, allocations: 1.65 MB / 0.6454 GB, free: 8.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.5889, allocations: 85.05 kB / 0.6455 GB, free: 8.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.5931, allocations: 3.422 MB / 0.6488 GB, free: 5.121 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.5932, allocations: 37.7 kB / 0.6488 GB, free: 5.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.594, allocations: 0.9672 MB / 0.6498 GB, free: 4.105 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5941, allocations: 138 kB / 0.6499 GB, free: 3.969 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.5942, allocations: 61.69 kB / 0.65 GB, free: 3.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5943, allocations: 330 kB / 0.6503 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.5947, allocations: 209.2 kB / 0.6505 GB, free: 3.367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.5952, allocations: 402 kB / 0.6509 GB, free: 2.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.596, allocations: 0.5603 MB / 0.6514 GB, free: 2.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.596, allocations: 4 kB / 0.6514 GB, free: 2.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001361/0.5974, allocations: 0.845 MB / 0.6522 GB, free: 1.395 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.5974, allocations: 16.06 kB / 0.6523 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5975, allocations: 8 kB / 0.6523 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5975, allocations: 8 kB / 0.6523 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.5986, allocations: 223.7 kB / 0.6525 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006864/0.5993, allocations: 1.211 MB / 0.6537 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.6001, allocations: 39.88 kB / 0.6537 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.6002, allocations: 32 kB / 0.6537 GB, free: 15.82 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.0007856/0.601, allocations: 0.5874 MB / 0.6543 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.6013, allocations: 217.3 kB / 0.6545 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.6023, allocations: 0.5373 MB / 0.655 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6023, allocations: 7.938 kB / 0.6551 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6023, allocations: 4 kB / 0.6551 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6023, allocations: 3.984 kB / 0.6551 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.605, allocations: 1.802 MB / 0.6568 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.6051, allocations: 0 / 0.6568 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.6059, allocations: 135.8 kB / 0.6569 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6059, allocations: 4 kB / 0.657 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.6059, allocations: 11.94 kB / 0.657 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006484/0.6066, allocations: 1.199 MB / 0.6581 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6066, allocations: 4.031 kB / 0.6581 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6077, allocations: 0.774 MB / 0.6589 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.6085, allocations: 430.3 kB / 0.6593 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.6087, allocations: 12 kB / 0.6593 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.6095, allocations: 39.97 kB / 0.6594 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.6095, allocations: 27.95 kB / 0.6594 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.6096, allocations: 19.98 kB / 0.6594 GB, free: 9.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00312/0.6127, allocations: 2.431 MB / 0.6618 GB, free: 7.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6128, allocations: 4 kB / 0.6618 GB, free: 7.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00105/0.6138, allocations: 331.9 kB / 0.6621 GB, free: 7.07 MB / 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.001394/0.6152, allocations: 0.5682 MB / 0.6626 GB, free: 6.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009351/0.6162, allocations: 463.2 kB / 0.6631 GB, free: 6.047 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6162, allocations: 4.562 kB / 0.6631 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.6165, allocations: 176.6 kB / 0.6633 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.6195, allocations: 0.5625 MB / 0.6638 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.6249, allocations: 4.302 MB / 0.668 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.6261, allocations: 1.468 MB / 0.6694 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.6274, allocations: 348.4 kB / 0.6698 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.6277, allocations: 107.4 kB / 0.6699 GB, free: 15.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6277, allocations: 0 / 0.6699 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Templates: time 0.04146/0.6692, allocations: 25.92 MB / 0.6952 GB, free: 5.051 MB / 0.4981 GB 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: