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_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 1.815/1.815, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.234e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08319, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8154/0.8986, allocations: 304.8 MB / 0.6118 GB, free: 66.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.8989, allocations: 89.75 kB / 0.6119 GB, free: 66.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5949/1.494, allocations: 96.27 MB / 0.7059 GB, free: 116.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.456e-06/1.494, allocations: 2.125 kB / 0.7059 GB, free: 116.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.634e-05/1.494, allocations: 15.78 kB / 0.706 GB, free: 116.9 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.001656/1.496, allocations: 0.8154 MB / 0.7067 GB, free: 116.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.496, allocations: 7.688 kB / 0.7068 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/1.496, allocations: 65.52 kB / 0.7068 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/1.497, allocations: 478.6 kB / 0.7073 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/1.497, allocations: 24.02 kB / 0.7073 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/1.497, allocations: 32.16 kB / 0.7073 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/1.498, allocations: 0.4959 MB / 0.7078 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.498, allocations: 0 / 0.7078 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/1.498, allocations: 13.75 kB / 0.7078 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/1.498, allocations: 31.61 kB / 0.7079 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/1.499, allocations: 430.8 kB / 0.7083 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/1.503, allocations: 2.243 MB / 0.7105 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/1.503, allocations: 200.7 kB / 0.7106 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/1.503, allocations: 98.98 kB / 0.7107 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.505, allocations: 1.046 MB / 0.7118 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/1.505, allocations: 141.7 kB / 0.7119 GB, free: 113.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.353e-06/1.505, allocations: 0 / 0.7119 GB, free: 113.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.000516/1.506, allocations: 232.7 kB / 0.7121 GB, free: 113.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.506, allocations: 158.2 kB / 0.7123 GB, free: 113.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/1.506, allocations: 433.3 kB / 0.7127 GB, free: 113.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.506, allocations: 27.7 kB / 0.7127 GB, free: 113.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/1.507, allocations: 350.3 kB / 0.713 GB, free: 113.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/1.507, allocations: 43.97 kB / 0.7131 GB, free: 113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.507, allocations: 6.438 kB / 0.7131 GB, free: 113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/1.507, allocations: 332.7 kB / 0.7134 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.507, allocations: 93.94 kB / 0.7135 GB, free: 112.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/1.507, allocations: 324.7 kB / 0.7138 GB, free: 112.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/1.508, allocations: 194.1 kB / 0.714 GB, free: 112.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-06/1.508, allocations: 0 / 0.714 GB, free: 112.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009359/1.509, allocations: 462.4 kB / 0.7144 GB, free: 112.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005559/1.509, allocations: 2.819 MB / 0.7172 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.509, allocations: 6.219 kB / 0.7172 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/1.509, allocations: 10 kB / 0.7172 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/1.51, allocations: 87.83 kB / 0.7173 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/1.51, allocations: 15.69 kB / 0.7173 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/1.51, allocations: 59.89 kB / 0.7174 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/1.51, allocations: 29.34 kB / 0.7174 GB, free: 109.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.51, allocations: 6.406 kB / 0.7174 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000852/1.511, allocations: 423.4 kB / 0.7178 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.511, allocations: 11.12 kB / 0.7178 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.511, allocations: 19.38 kB / 0.7178 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/1.512, allocations: 86.19 kB / 0.7179 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.512, allocations: 10.5 kB / 0.7179 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/1.512, allocations: 48.78 kB / 0.718 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/1.512, allocations: 24.47 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.0001539/1.512, allocations: 166 kB / 0.7181 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.512, allocations: 49.14 kB / 0.7182 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/1.513, allocations: 289.7 kB / 0.7185 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-06/1.513, allocations: 2.531 kB / 0.7185 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.683e-06/1.513, allocations: 3.875 kB / 0.7185 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.795e-06/1.513, allocations: 3.938 kB / 0.7185 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/1.514, allocations: 366.6 kB / 0.7188 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.154e-06/1.514, allocations: 7.328 kB / 0.7188 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.514, allocations: 14.38 kB / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/1.514, allocations: 7.141 kB / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/1.514, allocations: 7.969 kB / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.404e-06/1.514, allocations: 0 / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.514, allocations: 0 / 0.7189 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/1.514, allocations: 291.1 kB / 0.7191 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.515, allocations: 123.5 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/1.515, allocations: 7.953 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/1.515, allocations: 18.67 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/1.515, allocations: 11.5 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/1.515, allocations: 3.844 kB / 0.7193 GB, free: 108.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004361/1.515, allocations: 325 kB / 0.7196 GB, free: 108.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.507e-06/1.515, allocations: 3.938 kB / 0.7196 GB, free: 108.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001627/1.517, allocations: 460.7 kB / 0.7201 GB, free: 108 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.001336/1.518, allocations: 0.4941 MB / 0.7205 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009801/1.519, allocations: 0.5421 MB / 0.7211 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.52, allocations: 3.562 kB / 0.7211 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.52, allocations: 137.9 kB / 0.7212 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/1.521, allocations: 131.4 kB / 0.7213 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/1.522, allocations: 0.5766 MB / 0.7219 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/1.522, allocations: 0.8496 MB / 0.7227 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/1.522, allocations: 38.23 kB / 0.7228 GB, free: 106.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.762e-06/1.522, allocations: 3.781 kB / 0.7228 GB, free: 106.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01583/1.538, allocations: 9.339 MB / 0.7319 GB, free: 105.5 MB / 426.7 MB