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.0009749/0.0009749, allocations: 112.2 kB / 17.29 MB, free: 6.207 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.001044/0.001044, allocations: 193.3 kB / 18.21 MB, free: 5.285 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.237/1.237, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2727/0.2727, allocations: 48.84 MB / 320.2 MB, free: 11.27 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.00135/0.00135, allocations: 65.77 kB / 390.2 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09263, allocations: 59.16 MB / 449.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3928/0.4854, allocations: 184.1 MB / 0.6186 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.4894, allocations: 1.972 MB / 0.6205 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.4901, allocations: 15.31 kB / 0.6205 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.4912, allocations: 327 kB / 0.6208 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.4928, allocations: 0.7614 MB / 0.6216 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.4954, allocations: 0.9911 MB / 0.6226 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.4977, allocations: 1.876 MB / 0.6244 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.4986, allocations: 0.6251 MB / 0.625 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5, allocations: 0.8292 MB / 0.6258 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009264/0.5009, allocations: 0.8471 MB / 0.6266 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.501, allocations: 85.69 kB / 0.6267 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5027, allocations: 0.8891 MB / 0.6276 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.5034, allocations: 0.8102 MB / 0.6284 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008834/0.5043, allocations: 0.9437 MB / 0.6293 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.5063, allocations: 1.903 MB / 0.6312 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5063, allocations: 0 / 0.6312 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5063, allocations: 4 kB / 0.6312 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.5063, allocations: 0 / 0.6312 GB, free: 0.8594 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.00376/0.5101, allocations: 2.371 MB / 0.6335 GB, free: 14.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5102, allocations: 11.89 kB / 0.6335 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.5111, allocations: 305.1 kB / 0.6338 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.513, allocations: 1.369 MB / 0.6351 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5132, allocations: 95.7 kB / 0.6352 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.5133, allocations: 84 kB / 0.6353 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.5151, allocations: 1.148 MB / 0.6364 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5151, allocations: 4 kB / 0.6364 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.5152, allocations: 40 kB / 0.6364 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/0.5153, allocations: 41.92 kB / 0.6365 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.5166, allocations: 0.8235 MB / 0.6373 GB, free: 10.38 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.007825/0.5244, allocations: 5.18 MB / 0.6423 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.5251, allocations: 321.1 kB / 0.6427 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.5253, allocations: 141.7 kB / 0.6428 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.5254, allocations: 4 kB / 0.6428 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5254, allocations: 59.36 kB / 0.6428 GB, free: 4.418 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/0.5254, allocations: 0 / 0.6428 GB, free: 4.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002751/0.5282, allocations: 1.639 MB / 0.6444 GB, free: 2.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.5283, allocations: 89.03 kB / 0.6445 GB, free: 2.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.5322, allocations: 3.41 MB / 0.6479 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5323, allocations: 37.7 kB / 0.6479 GB, free: 15.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/0.5332, allocations: 0.9673 MB / 0.6488 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.5333, allocations: 149.9 kB / 0.649 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.5335, allocations: 134.1 kB / 0.6491 GB, free: 13.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5336, allocations: 334 kB / 0.6494 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.534, allocations: 201.2 kB / 0.6496 GB, free: 13.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.5345, allocations: 402 kB / 0.65 GB, free: 12.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.5352, allocations: 0.5603 MB / 0.6506 GB, free: 12.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5352, allocations: 6.5 kB / 0.6506 GB, free: 12.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001398/0.5366, allocations: 0.8446 MB / 0.6514 GB, free: 11.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5367, allocations: 11.94 kB / 0.6514 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.5367, allocations: 4 kB / 0.6514 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5367, allocations: 15.94 kB / 0.6514 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.5378, allocations: 212.4 kB / 0.6516 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006917/0.5385, allocations: 1.207 MB / 0.6528 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008321/0.5393, allocations: 44.08 kB / 0.6528 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.5394, allocations: 31.98 kB / 0.6529 GB, free: 9.809 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.0009318/0.5403, allocations: 0.5834 MB / 0.6534 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.5406, allocations: 217.4 kB / 0.6536 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/0.5415, allocations: 0.5426 MB / 0.6542 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5415, allocations: 11.94 kB / 0.6542 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5415, allocations: 4 kB / 0.6542 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5415, allocations: 3.984 kB / 0.6542 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.5442, allocations: 1.802 MB / 0.656 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5442, allocations: 0 / 0.656 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.545, allocations: 139.9 kB / 0.6561 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.545, allocations: 3.938 kB / 0.6561 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.545, allocations: 12 kB / 0.6561 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006733/0.5457, allocations: 1.199 MB / 0.6573 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5457, allocations: 0 / 0.6573 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5468, allocations: 0.7695 MB / 0.658 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/0.5475, allocations: 410.4 kB / 0.6584 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.5477, allocations: 12 kB / 0.6584 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.5485, allocations: 40.03 kB / 0.6585 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.5486, allocations: 20.11 kB / 0.6585 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.5486, allocations: 31.97 kB / 0.6585 GB, free: 3.844 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002816/0.5514, allocations: 2.427 MB / 0.6609 GB, free: 1.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5515, allocations: 3.938 kB / 0.6609 GB, free: 1.402 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001018/0.5525, allocations: 339.8 kB / 0.6612 GB, free: 1.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.001436/0.5539, allocations: 0.5637 MB / 0.6618 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.555, allocations: 475.5 kB / 0.6622 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.555, allocations: 8.625 kB / 0.6622 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.5553, allocations: 168.2 kB / 0.6624 GB, free: 15.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.5579, allocations: 0.5816 MB / 0.663 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.5638, allocations: 4.266 MB / 0.6671 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.5651, allocations: 1.464 MB / 0.6686 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.5656, allocations: 115.4 kB / 0.6687 GB, free: 9.363 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5656, allocations: 0 / 0.6687 GB, free: 9.363 MB / 494.1 MB Notification: Performance of Templates: time 0.05223/0.6178, allocations: 37.95 MB / 0.7057 GB, free: 3.348 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)