Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.274e-05, allocations: 5.406 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.09908, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.109, allocations: 316.4 MB / 0.6019 GB, free: 70.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/1.109, allocations: 79.33 kB / 0.602 GB, free: 70.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7657/1.875, allocations: 130.2 MB / 0.7292 GB, free: 111 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.875, allocations: 0 / 0.7292 GB, free: 111 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.292e-05/1.875, allocations: 24.81 kB / 0.7292 GB, free: 111 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.003661/1.879, allocations: 1.086 MB / 0.7303 GB, free: 110.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.879, allocations: 10.66 kB / 0.7303 GB, free: 110.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/1.879, allocations: 102.4 kB / 0.7304 GB, free: 110.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/1.88, allocations: 93.45 kB / 0.7305 GB, free: 110.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/1.882, allocations: 0.6458 MB / 0.7311 GB, free: 109.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.882, allocations: 111.2 kB / 0.7312 GB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.882, allocations: 54.31 kB / 0.7312 GB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.884, allocations: 0.8806 MB / 0.7321 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.884, allocations: 3.75 kB / 0.7321 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.884, allocations: 27.55 kB / 0.7321 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.884, allocations: 49.84 kB / 0.7322 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.886, allocations: 0.8162 MB / 0.733 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008524/1.895, allocations: 3.299 MB / 0.7362 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.896, allocations: 0.6583 MB / 0.7368 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008311/1.897, allocations: 362.4 kB / 0.7372 GB, free: 105.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004188/1.901, allocations: 2.062 MB / 0.7392 GB, free: 103 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.902, allocations: 43.11 kB / 0.7392 GB, free: 103 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 4.128e-06/1.902, allocations: 0 / 0.7392 GB, free: 103 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.006795/1.908, allocations: 2.22 MB / 0.7414 GB, free: 100.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.908, allocations: 89.61 kB / 0.7415 GB, free: 100.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.91, allocations: 0.5933 MB / 0.7421 GB, free: 99.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.91, allocations: 37.7 kB / 0.7421 GB, free: 99.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/1.91, allocations: 340.2 kB / 0.7424 GB, free: 99.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/1.91, allocations: 230.3 kB / 0.7427 GB, free: 99.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/1.91, allocations: 12 kB / 0.7427 GB, free: 99.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/1.91, allocations: 386.8 kB / 0.743 GB, free: 98.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/1.911, allocations: 353.4 kB / 0.7434 GB, free: 98.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/1.912, allocations: 0.4894 MB / 0.7438 GB, free: 98.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/1.913, allocations: 401.9 kB / 0.7442 GB, free: 97.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.913, allocations: 0 / 0.7442 GB, free: 97.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002812/1.916, allocations: 1.132 MB / 0.7453 GB, free: 96.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003364/1.916, allocations: 1.58 MB / 0.7469 GB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.916, allocations: 4 kB / 0.7469 GB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/1.918, allocations: 428.5 kB / 0.7473 GB, free: 94.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.92, allocations: 155.7 kB / 0.7474 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/1.921, allocations: 1.025 MB / 0.7484 GB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.923, allocations: 47.89 kB / 0.7485 GB, free: 93.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.923, allocations: 35.98 kB / 0.7485 GB, free: 93.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.923, allocations: 8 kB / 0.7485 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002355/1.925, allocations: 0.9134 MB / 0.7494 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.925, allocations: 4 kB / 0.7494 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/1.926, allocations: 244.6 kB / 0.7497 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.927, allocations: 167.8 kB / 0.7498 GB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/1.928, allocations: 0.8175 MB / 0.7506 GB, free: 90.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.929, allocations: 35.98 kB / 0.7506 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.93, allocations: 35.98 kB / 0.7507 GB, free: 90.9 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.0003281/1.93, allocations: 152.7 kB / 0.7508 GB, free: 90.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.93, allocations: 79.06 kB / 0.7509 GB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/1.933, allocations: 1.075 MB / 0.752 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/1.933, allocations: 11.98 kB / 0.752 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.933, allocations: 3.953 kB / 0.752 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.933, allocations: 4 kB / 0.752 GB, free: 89.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/1.938, allocations: 1.994 MB / 0.7539 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.938, allocations: 0 / 0.7539 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.939, allocations: 115.9 kB / 0.754 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/1.941, allocations: 452.4 kB / 0.7545 GB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.941, allocations: 19.98 kB / 0.7545 GB, free: 86.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.942, allocations: 1.03 MB / 0.7555 GB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.943, allocations: 0 / 0.7555 GB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/1.946, allocations: 1.572 MB / 0.757 GB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/1.947, allocations: 259.9 kB / 0.7573 GB, free: 84.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/1.947, allocations: 12 kB / 0.7573 GB, free: 84.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.948, allocations: 43.92 kB / 0.7573 GB, free: 83.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.948, allocations: 64.69 kB / 0.7574 GB, free: 83.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.948, allocations: 31.92 kB / 0.7574 GB, free: 83.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008293/1.949, allocations: 467.1 kB / 0.7579 GB, free: 83.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.949, allocations: 0 / 0.7579 GB, free: 83.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002598/1.952, allocations: 0.6323 MB / 0.7585 GB, free: 82.8 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.00549/1.957, allocations: 2.612 MB / 0.761 GB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003993/1.961, allocations: 1.351 MB / 0.7624 GB, free: 78.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.961, allocations: 1.938 kB / 0.7624 GB, free: 78.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.963, allocations: 464.1 kB / 0.7628 GB, free: 78.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.966, allocations: 351.1 kB / 0.7631 GB, free: 78.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/1.972, allocations: 1.694 MB / 0.7648 GB, free: 76.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/1.972, allocations: 1.016 MB / 0.7658 GB, free: 75.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00205/1.974, allocations: 362 kB / 0.7661 GB, free: 74.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/1.975, allocations: 275.3 kB / 0.7664 GB, free: 74.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.001e-06/1.975, allocations: 0 / 0.7664 GB, free: 74.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/2.077, allocations: 30.28 MB / 0.796 GB, free: 44.39 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/2.078, allocations: 176.9 kB / 0.7961 GB, free: 44.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.953/6.03, allocations: 0 / 0.7961 GB, free: 44.16 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat does not exist to compare? outputFormat=mat