Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.362e-05, allocations: 4 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 61.88 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9696/1.08, allocations: 317.4 MB / 0.7106 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/1.08, allocations: 84.27 kB / 0.7107 GB, free: 89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3393/1.419, allocations: 99.74 MB / 0.8081 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.404e-06/1.419, allocations: 0 / 0.8081 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.398e-05/1.419, allocations: 15.98 kB / 0.8081 GB, free: 8.094 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002257/1.422, allocations: 0.8158 MB / 0.8089 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.422, allocations: 8.031 kB / 0.8089 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004108/1.422, allocations: 55.44 kB / 0.809 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.423, allocations: 471.8 kB / 0.8094 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/1.423, allocations: 24.56 kB / 0.8094 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/1.424, allocations: 24 kB / 0.8095 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.425, allocations: 0.5191 MB / 0.81 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.425, allocations: 4 kB / 0.81 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/1.425, allocations: 12 kB / 0.81 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/1.425, allocations: 28.55 kB / 0.81 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.426, allocations: 441 kB / 0.8104 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/1.431, allocations: 2.254 MB / 0.8126 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/1.432, allocations: 222.8 kB / 0.8128 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/1.432, allocations: 133.6 kB / 0.813 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003106/1.436, allocations: 1.061 MB / 0.814 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/1.436, allocations: 208.1 kB / 0.8142 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 4.534e-06/1.436, allocations: 4 kB / 0.8142 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001202/1.437, allocations: 306.5 kB / 0.8145 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/1.438, allocations: 243.3 kB / 0.8147 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.439, allocations: 459.9 kB / 0.8152 GB, free: 348 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/1.439, allocations: 29.7 kB / 0.8152 GB, free: 312 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/1.44, allocations: 287.2 kB / 0.8155 GB, free: 20 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.3484/1.788, allocations: 49.73 kB / 0.8155 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/1.788, allocations: 7.469 kB / 0.8155 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.788, allocations: 358 kB / 0.8159 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/1.789, allocations: 118.8 kB / 0.816 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/1.789, allocations: 287.8 kB / 0.8163 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/1.79, allocations: 202.7 kB / 0.8165 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.662e-06/1.79, allocations: 1.438 kB / 0.8165 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001258/1.791, allocations: 0.4907 MB / 0.8169 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/1.791, allocations: 1.694 MB / 0.8186 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.791, allocations: 5.125 kB / 0.8186 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.791, allocations: 7.156 kB / 0.8186 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/1.792, allocations: 79.47 kB / 0.8187 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/1.792, allocations: 7.891 kB / 0.8187 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/1.793, allocations: 65.14 kB / 0.8187 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/1.793, allocations: 22.62 kB / 0.8188 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.793, allocations: 3.25 kB / 0.8188 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/1.794, allocations: 451.9 kB / 0.8192 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.794, allocations: 7.312 kB / 0.8192 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.794, allocations: 11.75 kB / 0.8192 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/1.794, allocations: 72.75 kB / 0.8193 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.794, allocations: 11.27 kB / 0.8193 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/1.795, allocations: 47.69 kB / 0.8193 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/1.795, allocations: 25.14 kB / 0.8194 GB, free: 142.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/1.795, allocations: 161.2 kB / 0.8195 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.795, allocations: 53.53 kB / 0.8196 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000886/1.796, allocations: 363.7 kB / 0.8199 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-06/1.796, allocations: 6.672 kB / 0.8199 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-06/1.796, allocations: 2.75 kB / 0.8199 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.796, allocations: 0.5156 kB / 0.8199 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/1.797, allocations: 409.3 kB / 0.8203 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-06/1.797, allocations: 0 / 0.8203 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/1.797, allocations: 23.73 kB / 0.8203 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.398e-06/1.797, allocations: 4.797 kB / 0.8203 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/1.797, allocations: 7.969 kB / 0.8204 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.177e-06/1.797, allocations: 1.062 kB / 0.8204 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.883e-06/1.797, allocations: 4.5 kB / 0.8204 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/1.798, allocations: 358.1 kB / 0.8207 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/1.798, allocations: 135.3 kB / 0.8208 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.798, allocations: 10.06 kB / 0.8208 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/1.799, allocations: 21.62 kB / 0.8209 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/1.799, allocations: 15.47 kB / 0.8209 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/1.799, allocations: 9.891 kB / 0.8209 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006512/1.8, allocations: 364.6 kB / 0.8212 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.62e-07/1.8, allocations: 0 / 0.8212 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001839/1.802, allocations: 480.1 kB / 0.8217 GB, free: 141.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/1.803, allocations: 0.5241 MB / 0.8222 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001362/1.805, allocations: 0.635 MB / 0.8228 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.818e-06/1.805, allocations: 0 / 0.8228 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/1.805, allocations: 175.6 kB / 0.823 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/1.806, allocations: 185.7 kB / 0.8232 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/1.808, allocations: 0.5323 MB / 0.8237 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.808, allocations: 0.8542 MB / 0.8245 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001051/1.809, allocations: 193.6 kB / 0.8247 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/1.809, allocations: 40.11 kB / 0.8247 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.732e-06/1.809, allocations: 3.75 kB / 0.8247 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.03161/1.841, allocations: 12.74 MB / 0.8372 GB, free: 140.3 MB / 0.5261 GB