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.001598/0.001598, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001656/0.001656, allocations: 191 kB / 18.63 MB, free: 4.379 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.562/1.562, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3205/0.3205, allocations: 48.83 MB / 320.7 MB, free: 11.05 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.0015/0.0015, allocations: 69.69 kB / 391.5 MB, free: 48.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1252, allocations: 59.17 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4801/0.6053, allocations: 186.1 MB / 0.6219 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.6092, allocations: 1.94 MB / 0.6238 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.6103, allocations: 11.84 kB / 0.6238 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.6118, allocations: 377 kB / 0.6242 GB, free: 6.16 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.002038/0.6139, allocations: 0.7912 MB / 0.6249 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.6165, allocations: 1.073 MB / 0.626 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.6185, allocations: 1.87 MB / 0.6278 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007627/0.6193, allocations: 0.6581 MB / 0.6285 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.6204, allocations: 0.814 MB / 0.6293 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009056/0.6213, allocations: 0.7798 MB / 0.63 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.6215, allocations: 84 kB / 0.6301 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.623, allocations: 0.6624 MB / 0.6307 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.6237, allocations: 0.8025 MB / 0.6315 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008479/0.6245, allocations: 0.9399 MB / 0.6325 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.6269, allocations: 2.436 MB / 0.6348 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6269, allocations: 0 / 0.6348 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6269, allocations: 0 / 0.6348 GB, free: 13.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.6269, allocations: 0 / 0.6348 GB, free: 13.41 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.003666/0.6306, allocations: 2.377 MB / 0.6372 GB, free: 10.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.6307, allocations: 15.88 kB / 0.6372 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.6316, allocations: 303.2 kB / 0.6375 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.634, allocations: 1.384 MB / 0.6388 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.6341, allocations: 95.64 kB / 0.6389 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6342, allocations: 84 kB / 0.639 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.6359, allocations: 1.136 MB / 0.6401 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.6359, allocations: 4 kB / 0.6401 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6361, allocations: 51.92 kB / 0.6401 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.6361, allocations: 34 kB / 0.6402 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.6373, allocations: 0.8196 MB / 0.641 GB, free: 6.922 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.007474/0.6448, allocations: 5.09 MB / 0.6459 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.6455, allocations: 321.1 kB / 0.6462 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.6457, allocations: 145.7 kB / 0.6464 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.6458, allocations: 11.98 kB / 0.6464 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.6458, allocations: 46.5 kB / 0.6464 GB, free: 1.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/0.6458, allocations: 0 / 0.6464 GB, free: 1.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.00264/0.6485, allocations: 1.647 MB / 0.6481 GB, free: 15.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.6486, allocations: 85.05 kB / 0.6481 GB, free: 15.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.6523, allocations: 3.418 MB / 0.6515 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.6524, allocations: 41.64 kB / 0.6515 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008162/0.6532, allocations: 0.9595 MB / 0.6524 GB, free: 10.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.6534, allocations: 141.9 kB / 0.6526 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.6536, allocations: 134.1 kB / 0.6527 GB, free: 10.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6537, allocations: 334 kB / 0.653 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.6541, allocations: 201.2 kB / 0.6532 GB, free: 9.973 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.6545, allocations: 398 kB / 0.6536 GB, free: 9.504 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.6553, allocations: 0.5642 MB / 0.6542 GB, free: 8.855 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6553, allocations: 0.8125 kB / 0.6542 GB, free: 8.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001292/0.6566, allocations: 0.8452 MB / 0.655 GB, free: 8.004 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6566, allocations: 15.94 kB / 0.655 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6566, allocations: 8 kB / 0.655 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.6567, allocations: 8 kB / 0.655 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6577, allocations: 224.9 kB / 0.6552 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006801/0.6584, allocations: 1.207 MB / 0.6564 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.6591, allocations: 31.97 kB / 0.6564 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.6592, allocations: 32 kB / 0.6565 GB, free: 6.438 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.000758/0.6599, allocations: 0.5871 MB / 0.657 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.6602, allocations: 217.3 kB / 0.6572 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/0.6611, allocations: 0.5396 MB / 0.6578 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.6611, allocations: 7.938 kB / 0.6578 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6611, allocations: 0 / 0.6578 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6611, allocations: 7.984 kB / 0.6578 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.6637, allocations: 1.795 MB / 0.6595 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6637, allocations: 0 / 0.6595 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.6644, allocations: 136.8 kB / 0.6597 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.6645, allocations: 3.938 kB / 0.6597 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.6645, allocations: 11.98 kB / 0.6597 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/0.6651, allocations: 1.195 MB / 0.6609 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6651, allocations: 4.031 kB / 0.6609 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009649/0.666, allocations: 0.7677 MB / 0.6616 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.6669, allocations: 418.5 kB / 0.662 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.6671, allocations: 13.28 kB / 0.662 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.6678, allocations: 31.97 kB / 0.662 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.6679, allocations: 23.97 kB / 0.6621 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.668, allocations: 31.91 kB / 0.6621 GB, free: 500 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002731/0.6707, allocations: 2.431 MB / 0.6645 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6707, allocations: 0 / 0.6645 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009343/0.6716, allocations: 331.9 kB / 0.6648 GB, free: 13.72 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.001303/0.673, allocations: 0.5535 MB / 0.6653 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009032/0.6739, allocations: 463.1 kB / 0.6658 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6739, allocations: 0.5625 kB / 0.6658 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.6742, allocations: 175.5 kB / 0.6659 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.6764, allocations: 0.578 MB / 0.6665 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.6812, allocations: 3.673 MB / 0.6701 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6823, allocations: 1.472 MB / 0.6715 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008441/0.6831, allocations: 348.4 kB / 0.6719 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.6834, allocations: 107.4 kB / 0.672 GB, free: 6.297 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6834, allocations: 4 kB / 0.672 GB, free: 6.293 MB / 494.1 MB Notification: Performance of Templates: time 0.09119/0.7746, allocations: 25.25 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)