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_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.355e-05, allocations: 0 / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.207, allocations: 317.4 MB / 0.7106 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.207, allocations: 81.45 kB / 0.7107 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3622/1.569, allocations: 99.75 MB / 0.8081 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.23e-06/1.569, allocations: 0 / 0.8081 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.675e-05/1.569, allocations: 12 kB / 0.8081 GB, free: 8.223 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.001903/1.571, allocations: 0.8197 MB / 0.8089 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.571, allocations: 8.031 kB / 0.8089 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/1.572, allocations: 59.42 kB / 0.809 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.573, allocations: 459.8 kB / 0.8094 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/1.573, allocations: 28.56 kB / 0.8094 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/1.573, allocations: 27.98 kB / 0.8095 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/1.574, allocations: 0.5152 MB / 0.81 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.574, allocations: 4 kB / 0.81 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/1.574, allocations: 12 kB / 0.81 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/1.574, allocations: 24.55 kB / 0.81 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.575, allocations: 441 kB / 0.8104 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/1.58, allocations: 2.258 MB / 0.8126 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/1.581, allocations: 218.8 kB / 0.8128 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/1.581, allocations: 132.8 kB / 0.813 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/1.583, allocations: 1.064 MB / 0.814 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/1.583, allocations: 204.5 kB / 0.8142 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.488e-06/1.584, allocations: 4 kB / 0.8142 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0008146/1.584, allocations: 318.1 kB / 0.8145 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.585, allocations: 235.3 kB / 0.8147 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/1.585, allocations: 459.9 kB / 0.8152 GB, free: 484 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.585, allocations: 33.7 kB / 0.8152 GB, free: 444 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/1.586, allocations: 283.2 kB / 0.8155 GB, free: 156 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/1.586, allocations: 59.25 kB / 0.8155 GB, free: 96 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/1.586, allocations: 8 kB / 0.8155 GB, free: 88 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.292/1.878, allocations: 356.3 kB / 0.8159 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/1.878, allocations: 114.6 kB / 0.816 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/1.879, allocations: 292 kB / 0.8163 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/1.879, allocations: 202.5 kB / 0.8164 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.4e-06/1.879, allocations: 1 kB / 0.8164 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001285/1.881, allocations: 496.5 kB / 0.8169 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003829/1.881, allocations: 1.699 MB / 0.8186 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.881, allocations: 5.562 kB / 0.8186 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.881, allocations: 6.75 kB / 0.8186 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/1.882, allocations: 71.44 kB / 0.8187 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.882, allocations: 10.81 kB / 0.8187 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/1.882, allocations: 70.11 kB / 0.8187 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/1.883, allocations: 21.77 kB / 0.8188 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.883, allocations: 4.562 kB / 0.8188 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/1.884, allocations: 448.4 kB / 0.8192 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.884, allocations: 5.188 kB / 0.8192 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.884, allocations: 6.094 kB / 0.8192 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/1.884, allocations: 79.8 kB / 0.8193 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/1.884, allocations: 10.44 kB / 0.8193 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/1.885, allocations: 52.81 kB / 0.8193 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/1.885, allocations: 22.27 kB / 0.8194 GB, free: 142.6 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.0002093/1.885, allocations: 162.9 kB / 0.8195 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.885, allocations: 49.41 kB / 0.8196 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/1.886, allocations: 361.9 kB / 0.8199 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-06/1.886, allocations: 5.953 kB / 0.8199 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.397e-06/1.886, allocations: 1.875 kB / 0.8199 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-06/1.886, allocations: 2.938 kB / 0.8199 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/1.887, allocations: 406.5 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-06/1.887, allocations: 0.5625 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/1.887, allocations: 25.42 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/1.887, allocations: 1.031 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/1.887, allocations: 7.953 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/1.887, allocations: 1.969 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.887, allocations: 8.812 kB / 0.8203 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/1.888, allocations: 362.3 kB / 0.8207 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/1.888, allocations: 129.7 kB / 0.8208 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.888, allocations: 8.906 kB / 0.8208 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/1.889, allocations: 20.48 kB / 0.8208 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/1.889, allocations: 19.23 kB / 0.8209 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/1.889, allocations: 14.64 kB / 0.8209 GB, free: 142 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006932/1.89, allocations: 366.2 kB / 0.8212 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.28e-07/1.89, allocations: 0 / 0.8212 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001866/1.892, allocations: 480 kB / 0.8217 GB, free: 141.9 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.001686/1.893, allocations: 0.5132 MB / 0.8222 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001406/1.895, allocations: 0.6364 MB / 0.8228 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.895, allocations: 1.312 kB / 0.8228 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/1.895, allocations: 175.7 kB / 0.823 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.896, allocations: 187.5 kB / 0.8232 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/1.898, allocations: 0.5239 MB / 0.8237 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.898, allocations: 0.8541 MB / 0.8245 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001048/1.899, allocations: 200.4 kB / 0.8247 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.899, allocations: 37.12 kB / 0.8247 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.788e-06/1.899, allocations: 0 / 0.8247 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03194/1.931, allocations: 12.74 MB / 0.8372 GB, free: 140.4 MB / 0.5261 GB