Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.45/2.45, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.01e-05, allocations: 3.812 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.418, allocations: 315.7 MB / 0.5957 GB, free: 69.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.419, allocations: 78.83 kB / 0.5958 GB, free: 69.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086/2.505, allocations: 129.6 MB / 0.7224 GB, free: 113.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/2.505, allocations: 0 / 0.7224 GB, free: 113.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001129/2.505, allocations: 22.75 kB / 0.7224 GB, free: 113.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004908/2.51, allocations: 1.082 MB / 0.7234 GB, free: 112.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/2.51, allocations: 10.75 kB / 0.7235 GB, free: 112.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003669/2.51, allocations: 75.22 kB / 0.7235 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/2.511, allocations: 99.59 kB / 0.7236 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/2.514, allocations: 0.6547 MB / 0.7243 GB, free: 111.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/2.514, allocations: 83.44 kB / 0.7243 GB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/2.515, allocations: 35.22 kB / 0.7244 GB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003051/2.518, allocations: 0.7457 MB / 0.7251 GB, free: 111.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/2.521, allocations: 0.8057 MB / 0.7259 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/2.521, allocations: 0 / 0.7259 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/2.521, allocations: 3.875 kB / 0.7259 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/2.522, allocations: 52.52 kB / 0.7259 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/2.533, allocations: 3.165 MB / 0.729 GB, free: 108.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/2.535, allocations: 0.6262 MB / 0.7296 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/2.536, allocations: 350.4 kB / 0.73 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005929/2.542, allocations: 2.019 MB / 0.732 GB, free: 105.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/2.542, allocations: 43.06 kB / 0.732 GB, free: 105.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 4.849e-06/2.542, allocations: 4 kB / 0.732 GB, free: 105.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.0177/2.56, allocations: 2.483 MB / 0.7344 GB, free: 102.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/2.56, allocations: 89.61 kB / 0.7345 GB, free: 102.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/2.561, allocations: 446.1 kB / 0.7349 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/2.562, allocations: 29.7 kB / 0.735 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/2.562, allocations: 340 kB / 0.7353 GB, free: 101.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/2.563, allocations: 216.8 kB / 0.7355 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/2.563, allocations: 0 / 0.7355 GB, free: 101.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/2.563, allocations: 386.7 kB / 0.7359 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/2.564, allocations: 341.4 kB / 0.7362 GB, free: 101 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/2.566, allocations: 491.1 kB / 0.7367 GB, free: 100.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/2.58, allocations: 0.9918 MB / 0.7376 GB, free: 99.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/2.58, allocations: 0 / 0.7376 GB, free: 99.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01767/2.598, allocations: 1.69 MB / 0.7393 GB, free: 97.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000491/2.598, allocations: 1.57 MB / 0.7408 GB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/2.598, allocations: 8 kB / 0.7408 GB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/2.601, allocations: 368.5 kB / 0.7412 GB, free: 95.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/2.603, allocations: 159.7 kB / 0.7413 GB, free: 95.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/2.609, allocations: 1.224 MB / 0.7425 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/2.612, allocations: 27.83 kB / 0.7425 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/2.612, allocations: 43.94 kB / 0.7426 GB, free: 94.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/2.612, allocations: 4 kB / 0.7426 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/2.627, allocations: 1.307 MB / 0.7439 GB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/2.627, allocations: 4 kB / 0.7439 GB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/2.629, allocations: 245.2 kB / 0.7441 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/2.631, allocations: 163.7 kB / 0.7443 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/2.633, allocations: 0.8293 MB / 0.7451 GB, free: 91.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/2.635, allocations: 24.03 kB / 0.7451 GB, free: 91.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/2.635, allocations: 39.94 kB / 0.7451 GB, free: 91.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005691/2.636, allocations: 124.5 kB / 0.7452 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/2.637, allocations: 79.14 kB / 0.7453 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007452/2.644, allocations: 1.179 MB / 0.7465 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/2.644, allocations: 8 kB / 0.7465 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/2.644, allocations: 3.938 kB / 0.7465 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/2.644, allocations: 7.984 kB / 0.7465 GB, free: 90.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/2.654, allocations: 2.028 MB / 0.7485 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/2.654, allocations: 3.953 kB / 0.7485 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/2.656, allocations: 123.8 kB / 0.7486 GB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/2.658, allocations: 364.6 kB / 0.7489 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/2.658, allocations: 11.98 kB / 0.749 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004998/2.664, allocations: 1.209 MB / 0.7501 GB, free: 86.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/2.664, allocations: 0 / 0.7501 GB, free: 86.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008331/2.672, allocations: 1.689 MB / 0.7518 GB, free: 84.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009331/2.673, allocations: 232.2 kB / 0.752 GB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/2.673, allocations: 3.984 kB / 0.752 GB, free: 84.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/2.675, allocations: 43.81 kB / 0.7521 GB, free: 84.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/2.675, allocations: 56.69 kB / 0.7521 GB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/2.675, allocations: 23.98 kB / 0.7521 GB, free: 84.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008194/2.676, allocations: 342.9 kB / 0.7525 GB, free: 83.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.676, allocations: 7.938 kB / 0.7525 GB, free: 83.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003586/2.68, allocations: 0.5893 MB / 0.753 GB, free: 83.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01184/2.692, allocations: 2.714 MB / 0.7557 GB, free: 80.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005821/2.698, allocations: 1.292 MB / 0.757 GB, free: 79.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/2.698, allocations: 0 / 0.757 GB, free: 79.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/2.7, allocations: 450.5 kB / 0.7574 GB, free: 78.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/2.704, allocations: 306.7 kB / 0.7577 GB, free: 78.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/2.713, allocations: 1.62 MB / 0.7593 GB, free: 76.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/2.714, allocations: 1.015 MB / 0.7602 GB, free: 75.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00288/2.716, allocations: 305.8 kB / 0.7605 GB, free: 75.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008404/2.717, allocations: 271.3 kB / 0.7608 GB, free: 75.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/2.717, allocations: 0 / 0.7608 GB, free: 75.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1387/2.856, allocations: 27.18 MB / 0.7873 GB, free: 48.19 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002803/2.856, allocations: 138.1 kB / 0.7875 GB, free: 47.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.926/7.783, allocations: 0 / 0.7875 GB, free: 47.99 MB / 410.7 MB