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.478/2.478, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.1e-05, allocations: 2.75 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.37, allocations: 315.7 MB / 0.5957 GB, free: 69.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.371, allocations: 75.14 kB / 0.5958 GB, free: 69.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.846/2.217, allocations: 129.3 MB / 0.7221 GB, free: 113.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/2.217, allocations: 0 / 0.7221 GB, free: 113.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.349e-05/2.217, allocations: 33.34 kB / 0.7221 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.003855/2.221, allocations: 1.081 MB / 0.7232 GB, free: 112.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/2.221, allocations: 7.781 kB / 0.7232 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/2.221, allocations: 90 kB / 0.7233 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/2.224, allocations: 0.6565 MB / 0.7239 GB, free: 111.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/2.224, allocations: 88.12 kB / 0.724 GB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/2.224, allocations: 34.92 kB / 0.7241 GB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002127/2.226, allocations: 0.7451 MB / 0.7248 GB, free: 111.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/2.228, allocations: 0.8053 MB / 0.7256 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/2.228, allocations: 0 / 0.7256 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/2.228, allocations: 4 kB / 0.7256 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/2.229, allocations: 54.61 kB / 0.7256 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00955/2.238, allocations: 3.172 MB / 0.7287 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/2.24, allocations: 0.6263 MB / 0.7293 GB, free: 108.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008531/2.241, allocations: 346.4 kB / 0.7297 GB, free: 108 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004947/2.246, allocations: 2.015 MB / 0.7316 GB, free: 105.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/2.246, allocations: 39.12 kB / 0.7317 GB, free: 105.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 4.558e-06/2.246, allocations: 0 / 0.7317 GB, free: 105.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.01314/2.259, allocations: 2.487 MB / 0.7341 GB, free: 103.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/2.259, allocations: 85.67 kB / 0.7342 GB, free: 103.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/2.26, allocations: 454.1 kB / 0.7346 GB, free: 102.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/2.26, allocations: 29.7 kB / 0.7346 GB, free: 102.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/2.26, allocations: 340 kB / 0.735 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/2.261, allocations: 216.8 kB / 0.7352 GB, free: 102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/2.261, allocations: 0 / 0.7352 GB, free: 102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/2.261, allocations: 374.8 kB / 0.7355 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000895/2.262, allocations: 341.4 kB / 0.7359 GB, free: 101.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009942/2.263, allocations: 487.1 kB / 0.7363 GB, free: 100.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/2.272, allocations: 0.9997 MB / 0.7373 GB, free: 99.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/2.272, allocations: 4 kB / 0.7373 GB, free: 99.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01119/2.283, allocations: 1.679 MB / 0.7389 GB, free: 98.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/2.283, allocations: 1.575 MB / 0.7405 GB, free: 96.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/2.283, allocations: 4 kB / 0.7405 GB, free: 96.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/2.285, allocations: 364.5 kB / 0.7408 GB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/2.286, allocations: 163.7 kB / 0.741 GB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/2.29, allocations: 1.229 MB / 0.7422 GB, free: 94.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/2.292, allocations: 35.8 kB / 0.7422 GB, free: 94.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/2.292, allocations: 39.98 kB / 0.7423 GB, free: 94.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/2.292, allocations: 3.938 kB / 0.7423 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008936/2.301, allocations: 1.315 MB / 0.7435 GB, free: 93.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.301, allocations: 4 kB / 0.7435 GB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/2.302, allocations: 244.9 kB / 0.7438 GB, free: 92.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/2.303, allocations: 163.8 kB / 0.7439 GB, free: 92.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/2.305, allocations: 0.8294 MB / 0.7447 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/2.306, allocations: 23.98 kB / 0.7448 GB, free: 91.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/2.306, allocations: 39.97 kB / 0.7448 GB, free: 91.91 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.0003654/2.306, allocations: 132.5 kB / 0.7449 GB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004819/2.311, allocations: 1.045 MB / 0.746 GB, free: 90.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/2.311, allocations: 71.16 kB / 0.746 GB, free: 90.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/2.317, allocations: 1.183 MB / 0.7472 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/2.317, allocations: 8.094 kB / 0.7472 GB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/2.317, allocations: 3.984 kB / 0.7472 GB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/2.317, allocations: 7.938 kB / 0.7472 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007192/2.324, allocations: 2.024 MB / 0.7492 GB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/2.324, allocations: 0 / 0.7492 GB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/2.325, allocations: 127.8 kB / 0.7493 GB, free: 87.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/2.327, allocations: 360.6 kB / 0.7496 GB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/2.327, allocations: 7.984 kB / 0.7496 GB, free: 86.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/2.331, allocations: 1.221 MB / 0.7508 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.331, allocations: 0 / 0.7508 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/2.337, allocations: 1.689 MB / 0.7525 GB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/2.337, allocations: 236.2 kB / 0.7527 GB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/2.338, allocations: 0 / 0.7527 GB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/2.339, allocations: 35.91 kB / 0.7528 GB, free: 83.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/2.339, allocations: 64.83 kB / 0.7528 GB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/2.339, allocations: 23.98 kB / 0.7528 GB, free: 83.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006307/2.34, allocations: 338.9 kB / 0.7532 GB, free: 83.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.34, allocations: 0 / 0.7532 GB, free: 83.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002826/2.343, allocations: 0.5932 MB / 0.7537 GB, free: 82.64 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.008206/2.351, allocations: 2.714 MB / 0.7564 GB, free: 79.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004167/2.355, allocations: 1.289 MB / 0.7576 GB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/2.355, allocations: 0 / 0.7576 GB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/2.357, allocations: 450.5 kB / 0.7581 GB, free: 78.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/2.36, allocations: 309.8 kB / 0.7584 GB, free: 77.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/2.366, allocations: 1.613 MB / 0.7599 GB, free: 76.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/2.367, allocations: 1.019 MB / 0.7609 GB, free: 75.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002303/2.369, allocations: 313.8 kB / 0.7612 GB, free: 74.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/2.37, allocations: 271.3 kB / 0.7615 GB, free: 74.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/2.37, allocations: 0 / 0.7615 GB, free: 74.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/2.476, allocations: 26.45 MB / 0.7873 GB, free: 48.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004337/2.476, allocations: 138.1 kB / 0.7875 GB, free: 48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.669/7.146, allocations: 3.938 kB / 0.7875 GB, free: 48 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat does not exist to compare? outputFormat=mat