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_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.788e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08695, allocations: 48.68 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.817/0.904, allocations: 304.8 MB / 0.6119 GB, free: 65.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.9043, allocations: 83.88 kB / 0.612 GB, free: 65.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5368/1.441, allocations: 96.28 MB / 0.706 GB, free: 117.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.352e-06/1.441, allocations: 0 / 0.706 GB, free: 117.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.732e-05/1.441, allocations: 7.906 kB / 0.706 GB, free: 117.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001749/1.443, allocations: 0.8102 MB / 0.7068 GB, free: 116.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.443, allocations: 18.41 kB / 0.7068 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/1.443, allocations: 64.39 kB / 0.7069 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.444, allocations: 466.4 kB / 0.7073 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/1.444, allocations: 26.92 kB / 0.7073 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/1.445, allocations: 28.84 kB / 0.7074 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/1.445, allocations: 0.4958 MB / 0.7078 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.445, allocations: 5.625 kB / 0.7078 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/1.446, allocations: 17.25 kB / 0.7079 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/1.446, allocations: 27.27 kB / 0.7079 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/1.446, allocations: 425.5 kB / 0.7083 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/1.45, allocations: 2.251 MB / 0.7105 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/1.451, allocations: 189.6 kB / 0.7107 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/1.451, allocations: 103.8 kB / 0.7108 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/1.452, allocations: 1.046 MB / 0.7118 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/1.453, allocations: 140.5 kB / 0.7119 GB, free: 113.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.491e-06/1.453, allocations: 0 / 0.7119 GB, free: 113.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005291/1.453, allocations: 232.2 kB / 0.7121 GB, free: 113.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.453, allocations: 156.7 kB / 0.7123 GB, free: 113.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/1.454, allocations: 434.6 kB / 0.7127 GB, free: 113.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/1.454, allocations: 27.48 kB / 0.7127 GB, free: 113.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/1.454, allocations: 315.6 kB / 0.713 GB, free: 113.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/1.454, allocations: 44.91 kB / 0.7131 GB, free: 113.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/1.454, allocations: 6.312 kB / 0.7131 GB, free: 113.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/1.454, allocations: 352.8 kB / 0.7134 GB, free: 113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/1.455, allocations: 102.1 kB / 0.7135 GB, free: 113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/1.455, allocations: 321.9 kB / 0.7138 GB, free: 112.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/1.455, allocations: 188.8 kB / 0.714 GB, free: 112.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.455, allocations: 0 / 0.714 GB, free: 112.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009714/1.456, allocations: 487 kB / 0.7145 GB, free: 112.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005494/1.457, allocations: 2.819 MB / 0.7172 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.457, allocations: 7.375 kB / 0.7172 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.457, allocations: 10.97 kB / 0.7172 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/1.457, allocations: 86.08 kB / 0.7173 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.457, allocations: 11.75 kB / 0.7173 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/1.458, allocations: 72.03 kB / 0.7174 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/1.458, allocations: 18.41 kB / 0.7174 GB, free: 109.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.458, allocations: 3.969 kB / 0.7174 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008287/1.459, allocations: 437.1 kB / 0.7178 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.459, allocations: 3.625 kB / 0.7178 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.459, allocations: 18.5 kB / 0.7179 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/1.459, allocations: 83.67 kB / 0.7179 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.459, allocations: 19.02 kB / 0.718 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.46, allocations: 55.03 kB / 0.718 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/1.46, allocations: 23.28 kB / 0.718 GB, free: 109.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001504/1.46, allocations: 165.9 kB / 0.7182 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/1.46, allocations: 50.52 kB / 0.7182 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/1.461, allocations: 284.9 kB / 0.7185 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.877e-06/1.461, allocations: 3.219 kB / 0.7185 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.367e-06/1.461, allocations: 3.938 kB / 0.7185 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.461, allocations: 0 / 0.7185 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/1.461, allocations: 379 kB / 0.7189 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.462, allocations: 0 / 0.7189 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/1.462, allocations: 23.19 kB / 0.7189 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/1.462, allocations: 7.797 kB / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.462, allocations: 7.094 kB / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.114e-06/1.462, allocations: 0 / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.318e-06/1.462, allocations: 0 / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/1.462, allocations: 280.2 kB / 0.7192 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.462, allocations: 127.7 kB / 0.7193 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/1.462, allocations: 7.828 kB / 0.7193 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/1.463, allocations: 19.47 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/1.463, allocations: 11.66 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/1.463, allocations: 3.781 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004616/1.463, allocations: 336.2 kB / 0.7197 GB, free: 108.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.463, allocations: 0 / 0.7197 GB, free: 108.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001684/1.465, allocations: 449.3 kB / 0.7201 GB, free: 108.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.001423/1.467, allocations: 0.4893 MB / 0.7206 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/1.468, allocations: 0.5583 MB / 0.7211 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.385e-06/1.468, allocations: 0 / 0.7211 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/1.468, allocations: 136.3 kB / 0.7212 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/1.469, allocations: 141.7 kB / 0.7214 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/1.47, allocations: 0.5489 MB / 0.7219 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/1.47, allocations: 0.8471 MB / 0.7227 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008564/1.471, allocations: 179 kB / 0.7229 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/1.471, allocations: 33.81 kB / 0.723 GB, free: 106.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.752e-06/1.471, allocations: 0 / 0.723 GB, free: 106.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02313/1.494, allocations: 10.37 MB / 0.7331 GB, free: 105.7 MB / 426.7 MB