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.001173/0.001173, allocations: 114.4 kB / 17.69 MB, free: 5.309 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.001108/0.001108, allocations: 191 kB / 18.63 MB, free: 4.375 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.391/1.391, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.277/0.277, allocations: 48.84 MB / 320.7 MB, free: 11.06 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.001465/0.001465, allocations: 69.77 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 59.16 MB / 450.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4339/0.5385, allocations: 186.1 MB / 0.6219 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.542, allocations: 1.939 MB / 0.6238 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.5424, allocations: 11.91 kB / 0.6238 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009276/0.5433, allocations: 379.2 kB / 0.6242 GB, free: 6.168 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.001247/0.5446, allocations: 0.7976 MB / 0.6249 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.5469, allocations: 1.065 MB / 0.626 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.5486, allocations: 1.875 MB / 0.6278 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006873/0.5493, allocations: 0.658 MB / 0.6285 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009302/0.5502, allocations: 0.8171 MB / 0.6293 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007716/0.551, allocations: 0.7948 MB / 0.63 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.5511, allocations: 84 kB / 0.6301 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.5525, allocations: 0.6586 MB / 0.6308 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.5531, allocations: 0.8025 MB / 0.6315 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008438/0.5539, allocations: 0.936 MB / 0.6325 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.5562, allocations: 2.434 MB / 0.6348 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5562, allocations: 0 / 0.6348 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5562, allocations: 0 / 0.6348 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.5563, allocations: 4 kB / 0.6348 GB, free: 13.42 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.003429/0.5597, allocations: 2.361 MB / 0.6371 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5597, allocations: 11.89 kB / 0.6372 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008775/0.5606, allocations: 305.1 kB / 0.6374 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.5628, allocations: 1.388 MB / 0.6388 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.5629, allocations: 99.64 kB / 0.6389 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.563, allocations: 91.98 kB / 0.639 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5646, allocations: 1.132 MB / 0.6401 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.5647, allocations: 7.875 kB / 0.6401 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.5648, allocations: 40 kB / 0.6401 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.5648, allocations: 34 kB / 0.6402 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.5661, allocations: 0.8285 MB / 0.641 GB, free: 6.938 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.006873/0.573, allocations: 5.09 MB / 0.6459 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.5737, allocations: 317.1 kB / 0.6462 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.5739, allocations: 145.6 kB / 0.6464 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.5739, allocations: 4 kB / 0.6464 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.574, allocations: 50.56 kB / 0.6464 GB, free: 1.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.683e-06/0.574, allocations: 0 / 0.6464 GB, free: 1.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002481/0.5765, allocations: 1.647 MB / 0.648 GB, free: 15.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.5766, allocations: 89.09 kB / 0.6481 GB, free: 15.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/0.5804, allocations: 3.41 MB / 0.6515 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.5804, allocations: 37.7 kB / 0.6515 GB, free: 11.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/0.5812, allocations: 0.9674 MB / 0.6524 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.5814, allocations: 145.9 kB / 0.6526 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.5816, allocations: 134.1 kB / 0.6527 GB, free: 10.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5817, allocations: 330 kB / 0.653 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.5821, allocations: 206.5 kB / 0.6532 GB, free: 9.988 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.5826, allocations: 398 kB / 0.6536 GB, free: 9.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.5834, allocations: 0.5681 MB / 0.6542 GB, free: 8.867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5834, allocations: 4 kB / 0.6542 GB, free: 8.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001275/0.5846, allocations: 0.8446 MB / 0.655 GB, free: 8.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5847, allocations: 15.88 kB / 0.655 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5847, allocations: 4 kB / 0.655 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.5847, allocations: 12 kB / 0.655 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5858, allocations: 213 kB / 0.6552 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000694/0.5865, allocations: 1.211 MB / 0.6564 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/0.5872, allocations: 29.42 kB / 0.6564 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.5873, allocations: 39.98 kB / 0.6565 GB, free: 6.449 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.0007097/0.588, allocations: 0.5832 MB / 0.657 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.5883, allocations: 225.2 kB / 0.6573 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/0.5891, allocations: 0.5259 MB / 0.6578 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5891, allocations: 11.92 kB / 0.6578 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5892, allocations: 0 / 0.6578 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.5892, allocations: 0 / 0.6578 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.5919, allocations: 1.807 MB / 0.6595 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5919, allocations: 10.47 kB / 0.6595 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.5926, allocations: 131.8 kB / 0.6597 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5926, allocations: 4 kB / 0.6597 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.5927, allocations: 8 kB / 0.6597 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006051/0.5933, allocations: 1.199 MB / 0.6609 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5933, allocations: 0 / 0.6609 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5943, allocations: 0.7641 MB / 0.6616 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/0.5952, allocations: 414.3 kB / 0.662 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.5954, allocations: 12 kB / 0.662 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.5961, allocations: 35.97 kB / 0.662 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.5962, allocations: 31.83 kB / 0.6621 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.5962, allocations: 28.86 kB / 0.6621 GB, free: 0.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.5991, allocations: 2.431 MB / 0.6645 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5991, allocations: 0 / 0.6645 GB, free: 14.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009024/0.6001, allocations: 331.9 kB / 0.6648 GB, free: 13.73 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.001342/0.6014, allocations: 0.5474 MB / 0.6653 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009109/0.6023, allocations: 461.8 kB / 0.6658 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6023, allocations: 6.125 kB / 0.6658 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.6027, allocations: 171.5 kB / 0.6659 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.6048, allocations: 0.5894 MB / 0.6665 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.6094, allocations: 3.665 MB / 0.6701 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.6105, allocations: 1.472 MB / 0.6715 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008368/0.6114, allocations: 344.4 kB / 0.6719 GB, free: 6.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.6117, allocations: 111.4 kB / 0.672 GB, free: 6.312 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6117, allocations: 0 / 0.672 GB, free: 6.312 MB / 494.1 MB Notification: Performance of Templates: time 0.04218/0.6539, allocations: 25.26 MB / 0.6966 GB, free: 13 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)