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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009789/0.0009788, allocations: 94.77 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4983/0.4983, allocations: 48.77 MB / 367.9 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 8 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.021/2.182, allocations: 0.7548 GB / 1.242 GB, free: 54 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/2.182, allocations: 79.97 kB / 1.242 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.133/4.315, allocations: 476.1 MB / 1.707 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.385e-06/4.315, allocations: 1.406 kB / 1.707 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002841/4.315, allocations: 37.28 kB / 1.707 GB, free: 90.04 MB / 0.5105 GB 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.006792/4.322, allocations: 2.109 MB / 1.709 GB, free: 89.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/4.322, allocations: 8.375 kB / 1.709 GB, free: 89.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/4.324, allocations: 303.2 kB / 1.709 GB, free: 89.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/4.328, allocations: 1.44 MB / 1.711 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/4.329, allocations: 92.45 kB / 1.711 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/4.329, allocations: 91.94 kB / 1.711 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/4.331, allocations: 1.112 MB / 1.712 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/4.331, allocations: 2.25 kB / 1.712 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/4.331, allocations: 41.25 kB / 1.712 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/4.331, allocations: 35.69 kB / 1.712 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/4.333, allocations: 0.7996 MB / 1.713 GB, free: 88.44 MB / 0.5105 GB 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.00863/4.341, allocations: 5.193 MB / 1.718 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/4.342, allocations: 317 kB / 1.718 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/4.342, allocations: 6.25 kB / 1.718 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/4.342, allocations: 50.28 kB / 1.718 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 3.396e-06/4.342, allocations: 2.406 kB / 1.718 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.002989/4.345, allocations: 1.652 MB / 1.72 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/4.345, allocations: 86.53 kB / 1.72 GB, free: 85.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/4.349, allocations: 3.094 MB / 1.723 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/4.349, allocations: 42.27 kB / 1.723 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/4.35, allocations: 0.9766 MB / 1.724 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/4.35, allocations: 144.7 kB / 1.724 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/4.35, allocations: 16.84 kB / 1.724 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/4.35, allocations: 329.2 kB / 1.725 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/4.351, allocations: 203.1 kB / 1.725 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/4.351, allocations: 401.6 kB / 1.725 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/4.351, allocations: 257.7 kB / 1.725 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/4.351, allocations: 2.938 kB / 1.725 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001492/4.353, allocations: 0.8447 MB / 1.726 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/4.353, allocations: 9.781 kB / 1.726 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/4.353, allocations: 8.688 kB / 1.726 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/4.353, allocations: 16.84 kB / 1.726 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/4.354, allocations: 215.5 kB / 1.726 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005024/4.355, allocations: 1.211 MB / 1.728 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/4.356, allocations: 49.44 kB / 1.728 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/4.356, allocations: 27.88 kB / 1.728 GB, free: 82.71 MB / 0.5105 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001103/4.357, allocations: 0.6015 MB / 1.728 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/4.357, allocations: 218.5 kB / 1.729 GB, free: 82.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008684/4.358, allocations: 0.5372 MB / 1.729 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/4.358, allocations: 3.094 kB / 1.729 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/4.358, allocations: 0.9375 kB / 1.729 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/4.358, allocations: 7.141 kB / 1.729 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/4.362, allocations: 2.017 MB / 1.731 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/4.362, allocations: 0 / 1.731 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/4.363, allocations: 131.4 kB / 1.731 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/4.363, allocations: 3.625 kB / 1.731 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/4.363, allocations: 9.531 kB / 1.731 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004425/4.363, allocations: 1.197 MB / 1.732 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/4.363, allocations: 0.5156 kB / 1.732 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/4.364, allocations: 0.8174 MB / 1.733 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/4.365, allocations: 0.4891 MB / 1.734 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/4.366, allocations: 8.812 kB / 1.734 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008111/4.366, allocations: 53.78 kB / 1.734 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/4.367, allocations: 21.42 kB / 1.734 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/4.367, allocations: 27.66 kB / 1.734 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003895/4.371, allocations: 2.405 MB / 1.736 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/4.371, allocations: 0 / 1.736 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00203/4.373, allocations: 449.6 kB / 1.736 GB, free: 80.1 MB / 0.5105 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002735/4.375, allocations: 1.167 MB / 1.738 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001187/4.376, allocations: 456.3 kB / 1.738 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/4.377, allocations: 4.109 kB / 1.738 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/4.377, allocations: 167.8 kB / 1.738 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/4.38, allocations: 0.5707 MB / 1.739 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/4.389, allocations: 4.18 MB / 1.743 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/4.391, allocations: 1.504 MB / 1.744 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002288/4.393, allocations: 370.1 kB / 1.745 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/4.394, allocations: 122.4 kB / 1.745 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.724e-06/4.394, allocations: 0 / 1.745 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.0621/4.456, allocations: 37.59 MB / 1.782 GB, free: 76.34 MB / 0.5105 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)