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.001247/0.001247, allocations: 109 kB / 17.28 MB, free: 6.059 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.001208/0.001208, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.42/1.42, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2934/0.2934, 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.002302/0.002302, allocations: 74.42 kB / 390.2 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.09065, allocations: 59.16 MB / 449.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3877/0.4784, allocations: 184.1 MB / 0.6186 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.4827, allocations: 1.977 MB / 0.6205 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009013/0.4837, allocations: 15.31 kB / 0.6205 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4851, allocations: 335.2 kB / 0.6209 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.487, allocations: 0.7567 MB / 0.6216 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.4897, allocations: 0.9834 MB / 0.6226 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.4921, allocations: 1.875 MB / 0.6244 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.4932, allocations: 0.631 MB / 0.625 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.495, allocations: 0.8275 MB / 0.6258 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.4963, allocations: 0.841 MB / 0.6266 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.4965, allocations: 84.97 kB / 0.6267 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.4986, allocations: 0.8946 MB / 0.6276 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008747/0.4995, allocations: 0.8141 MB / 0.6284 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.5007, allocations: 0.9437 MB / 0.6293 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.5029, allocations: 1.907 MB / 0.6312 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.503, allocations: 0 / 0.6312 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.503, allocations: 0 / 0.6312 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.503, allocations: 0 / 0.6312 GB, free: 0.8516 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.004058/0.5071, allocations: 2.365 MB / 0.6335 GB, free: 14.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5071, allocations: 15.89 kB / 0.6335 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.5082, allocations: 297.1 kB / 0.6338 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.5105, allocations: 1.38 MB / 0.6351 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.5106, allocations: 95.69 kB / 0.6352 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.5108, allocations: 87.98 kB / 0.6353 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.5128, allocations: 1.132 MB / 0.6364 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.5128, allocations: 4 kB / 0.6364 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5129, allocations: 44 kB / 0.6364 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/0.513, allocations: 37.98 kB / 0.6365 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5144, allocations: 0.8274 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.008423/0.5228, allocations: 5.182 MB / 0.6424 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.5236, allocations: 317.1 kB / 0.6427 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.5238, allocations: 141.7 kB / 0.6428 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.5239, allocations: 11.98 kB / 0.6428 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.5239, allocations: 42.56 kB / 0.6428 GB, free: 4.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.5239, allocations: 0 / 0.6428 GB, free: 4.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002913/0.5269, allocations: 1.651 MB / 0.6445 GB, free: 2.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.5269, allocations: 81.11 kB / 0.6445 GB, free: 2.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/0.5314, allocations: 3.418 MB / 0.6479 GB, free: 15.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5316, allocations: 37.7 kB / 0.6479 GB, free: 15.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.5325, allocations: 0.9633 MB / 0.6488 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5326, allocations: 149.9 kB / 0.649 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.5329, allocations: 134.1 kB / 0.6491 GB, free: 13.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.533, allocations: 330 kB / 0.6494 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.5334, allocations: 208.5 kB / 0.6496 GB, free: 13.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.534, allocations: 406 kB / 0.65 GB, free: 12.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/0.5348, allocations: 0.5603 MB / 0.6506 GB, free: 12.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5349, allocations: 4 kB / 0.6506 GB, free: 12.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001533/0.5364, allocations: 0.8406 MB / 0.6514 GB, free: 11.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5364, allocations: 12.72 kB / 0.6514 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5364, allocations: 4 kB / 0.6514 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.5365, allocations: 16 kB / 0.6514 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5376, allocations: 215.7 kB / 0.6516 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008246/0.5384, allocations: 1.207 MB / 0.6528 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.5393, allocations: 39.89 kB / 0.6528 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.5394, allocations: 32.03 kB / 0.6529 GB, free: 9.805 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.0008933/0.5403, allocations: 0.5949 MB / 0.6535 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.5406, allocations: 213.4 kB / 0.6537 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009376/0.5416, allocations: 0.5412 MB / 0.6542 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5416, allocations: 9.5 kB / 0.6542 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5416, allocations: 4 kB / 0.6542 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.5416, allocations: 0 / 0.6542 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.5444, allocations: 1.81 MB / 0.656 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5445, allocations: 0 / 0.656 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.5452, allocations: 135.9 kB / 0.6561 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.5452, allocations: 0 / 0.6561 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.5453, allocations: 11.98 kB / 0.6561 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007445/0.546, allocations: 1.203 MB / 0.6573 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.546, allocations: 0 / 0.6573 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.5472, allocations: 0.7656 MB / 0.658 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/0.548, allocations: 414.5 kB / 0.6584 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.5482, allocations: 15.98 kB / 0.6584 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/0.549, allocations: 31.97 kB / 0.6585 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.549, allocations: 23.97 kB / 0.6585 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.5491, allocations: 27.97 kB / 0.6585 GB, free: 3.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003328/0.5524, allocations: 2.431 MB / 0.6609 GB, free: 1.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5525, allocations: 7.938 kB / 0.6609 GB, free: 1.391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001054/0.5535, allocations: 335.8 kB / 0.6612 GB, free: 1.062 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.001969/0.5555, allocations: 0.5639 MB / 0.6618 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.5566, allocations: 474.9 kB / 0.6622 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.5567, allocations: 4.562 kB / 0.6622 GB, free: 28 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.557, allocations: 172.2 kB / 0.6624 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.5598, allocations: 0.59 MB / 0.663 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.5663, allocations: 4.265 MB / 0.6671 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.5676, allocations: 1.468 MB / 0.6686 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.5681, allocations: 115.4 kB / 0.6687 GB, free: 9.344 MB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5681, allocations: 4 kB / 0.6687 GB, free: 9.34 MB / 494.1 MB Notification: Performance of Templates: time 0.05521/0.6233, allocations: 37.94 MB / 0.7057 GB, free: 3.336 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)