Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.261/3.261, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.607e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4135, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.492/1.906, allocations: 310.6 MB / 0.6494 GB, free: 121.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.906, allocations: 90 kB / 0.6495 GB, free: 121.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6167/2.523, allocations: 95.82 MB / 0.743 GB, free: 63.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.244e-06/2.523, allocations: 3.938 kB / 0.7431 GB, free: 63.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.22e-05/2.523, allocations: 19.98 kB / 0.7431 GB, free: 63.72 MB / 474.7 MB 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.002535/2.526, allocations: 0.8204 MB / 0.7439 GB, free: 62.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/2.526, allocations: 12.03 kB / 0.7439 GB, free: 62.83 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/2.526, allocations: 58.53 kB / 0.7439 GB, free: 62.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/2.526, allocations: 55.44 kB / 0.744 GB, free: 62.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/2.528, allocations: 479.7 kB / 0.7444 GB, free: 62.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/2.528, allocations: 16.56 kB / 0.7445 GB, free: 62.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/2.528, allocations: 16 kB / 0.7445 GB, free: 62.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/2.53, allocations: 389.1 kB / 0.7449 GB, free: 61.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/2.531, allocations: 475.6 kB / 0.7453 GB, free: 61.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/2.531, allocations: 4 kB / 0.7453 GB, free: 61.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/2.531, allocations: 4 kB / 0.7453 GB, free: 61.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.871e-05/2.531, allocations: 24.55 kB / 0.7453 GB, free: 61.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/2.537, allocations: 2.186 MB / 0.7475 GB, free: 58.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/2.537, allocations: 190.6 kB / 0.7477 GB, free: 58.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/2.538, allocations: 112.9 kB / 0.7478 GB, free: 58.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002095/2.54, allocations: 1.057 MB / 0.7488 GB, free: 57.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/2.54, allocations: 141.8 kB / 0.7489 GB, free: 57.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 4.919e-06/2.54, allocations: 0 / 0.7489 GB, free: 57.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.001003/2.541, allocations: 210.8 kB / 0.7491 GB, free: 57.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/2.541, allocations: 162.2 kB / 0.7493 GB, free: 56.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/2.542, allocations: 389 kB / 0.7497 GB, free: 56.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/2.542, allocations: 25.7 kB / 0.7497 GB, free: 56.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/2.542, allocations: 307.1 kB / 0.75 GB, free: 56.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/2.543, allocations: 43.45 kB / 0.75 GB, free: 56.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/2.543, allocations: 0 / 0.75 GB, free: 56.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/2.543, allocations: 366.7 kB / 0.7504 GB, free: 55.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/2.543, allocations: 92.86 kB / 0.7505 GB, free: 55.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/2.544, allocations: 329.4 kB / 0.7508 GB, free: 55.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/2.55, allocations: 0.6114 MB / 0.7514 GB, free: 54.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/2.55, allocations: 0 / 0.7514 GB, free: 54.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00774/2.558, allocations: 0.8781 MB / 0.7522 GB, free: 53.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006537/2.559, allocations: 2.816 MB / 0.755 GB, free: 50.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/2.559, allocations: 11.98 kB / 0.755 GB, free: 50.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/2.559, allocations: 12 kB / 0.755 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/2.56, allocations: 87.84 kB / 0.7551 GB, free: 50.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/2.56, allocations: 15.92 kB / 0.7551 GB, free: 50.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008353/2.561, allocations: 55.42 kB / 0.7551 GB, free: 50.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/2.561, allocations: 24 kB / 0.7552 GB, free: 50.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/2.561, allocations: 4.625 kB / 0.7552 GB, free: 50.49 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008582/2.569, allocations: 0.7887 MB / 0.7559 GB, free: 49.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/2.569, allocations: 8 kB / 0.7559 GB, free: 49.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/2.569, allocations: 8 kB / 0.756 GB, free: 49.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/2.57, allocations: 87.83 kB / 0.756 GB, free: 49.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/2.57, allocations: 15.92 kB / 0.7561 GB, free: 49.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009839/2.571, allocations: 43.62 kB / 0.7561 GB, free: 49.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/2.572, allocations: 24 kB / 0.7561 GB, free: 49.52 MB / 474.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: 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 (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.0002908/2.572, allocations: 162.5 kB / 0.7563 GB, free: 49.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/2.572, allocations: 43.44 kB / 0.7563 GB, free: 49.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/2.574, allocations: 255.7 kB / 0.7566 GB, free: 49.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/2.574, allocations: 3.953 kB / 0.7566 GB, free: 49.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/2.574, allocations: 4 kB / 0.7566 GB, free: 49.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/2.574, allocations: 7.984 kB / 0.7566 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/2.574, allocations: 333.9 kB / 0.7569 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.574, allocations: 0 / 0.7569 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/2.575, allocations: 23.94 kB / 0.7569 GB, free: 48.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/2.575, allocations: 3.984 kB / 0.7569 GB, free: 48.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/2.575, allocations: 4 kB / 0.7569 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/2.575, allocations: 0 / 0.7569 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.575, allocations: 0 / 0.7569 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/2.576, allocations: 260.4 kB / 0.7572 GB, free: 48.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/2.576, allocations: 120.5 kB / 0.7573 GB, free: 48.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/2.577, allocations: 4 kB / 0.7573 GB, free: 48.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/2.577, allocations: 19.88 kB / 0.7573 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/2.577, allocations: 11.98 kB / 0.7573 GB, free: 48.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/2.577, allocations: 8 kB / 0.7573 GB, free: 48.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007248/2.578, allocations: 287 kB / 0.7576 GB, free: 47.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.21e-07/2.578, allocations: 3.938 kB / 0.7576 GB, free: 47.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003144/2.581, allocations: 447.3 kB / 0.758 GB, free: 47.47 MB / 474.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: 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 (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.004112/2.585, allocations: 1.199 MB / 0.7592 GB, free: 46.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00194/2.587, allocations: 0.5967 MB / 0.7598 GB, free: 45.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/2.588, allocations: 8 kB / 0.7598 GB, free: 45.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/2.588, allocations: 155.3 kB / 0.7599 GB, free: 45.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/2.59, allocations: 125.8 kB / 0.7601 GB, free: 45.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/2.594, allocations: 0.7609 MB / 0.7608 GB, free: 44.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/2.594, allocations: 0.8509 MB / 0.7616 GB, free: 43.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001694/2.596, allocations: 176.1 kB / 0.7618 GB, free: 43.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/2.597, allocations: 143.4 kB / 0.7619 GB, free: 43.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/2.597, allocations: 0 / 0.7619 GB, free: 43.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/2.731, allocations: 13.69 MB / 0.7753 GB, free: 29.72 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003397/2.731, allocations: 181.3 kB / 0.7755 GB, free: 29.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.268/6.999, allocations: 0 / 0.7755 GB, free: 29.53 MB / 474.7 MB