Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.215e-05/4.214e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4154, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.676, allocations: 401.7 MB / 0.7437 GB, free: 132.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.676, allocations: 81.44 kB / 0.7438 GB, free: 132.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097/2.773, allocations: 190.8 MB / 0.9302 GB, free: 107.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/2.773, allocations: 2.594 kB / 0.9302 GB, free: 107.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001113/2.773, allocations: 24.41 kB / 0.9302 GB, free: 107.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005094/2.778, allocations: 1.343 MB / 0.9315 GB, free: 106.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/2.778, allocations: 9.125 kB / 0.9315 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003634/2.779, allocations: 118.9 kB / 0.9317 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/2.78, allocations: 119 kB / 0.9318 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/2.782, allocations: 0.8013 MB / 0.9326 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/2.783, allocations: 116.9 kB / 0.9327 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/2.783, allocations: 72.62 kB / 0.9327 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/2.786, allocations: 1.174 MB / 0.9339 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/2.786, allocations: 2.438 kB / 0.9339 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/2.786, allocations: 32.09 kB / 0.9339 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/2.786, allocations: 73.58 kB / 0.934 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/2.789, allocations: 1.153 MB / 0.9351 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/2.803, allocations: 4.783 MB / 0.9398 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/2.805, allocations: 0.6325 MB / 0.9404 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/2.806, allocations: 401.2 kB / 0.9408 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005143/2.811, allocations: 2.523 MB / 0.9432 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/2.811, allocations: 39.22 kB / 0.9433 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.477e-06/2.811, allocations: 3.781 kB / 0.9433 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.007517/2.819, allocations: 2.265 MB / 0.9455 GB, free: 102.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/2.819, allocations: 165.4 kB / 0.9457 GB, free: 101.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/2.82, allocations: 0.7605 MB / 0.9464 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002361/2.821, allocations: 40.8 kB / 0.9464 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/2.821, allocations: 485.8 kB / 0.9469 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/2.821, allocations: 197.5 kB / 0.9471 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/2.822, allocations: 17.19 kB / 0.9471 GB, free: 101.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/2.822, allocations: 403 kB / 0.9475 GB, free: 101 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/2.823, allocations: 414.1 kB / 0.9479 GB, free: 101 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/2.824, allocations: 0.7188 MB / 0.9486 GB, free: 100.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/2.825, allocations: 0.5038 MB / 0.9491 GB, free: 100.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/2.825, allocations: 3.938 kB / 0.9491 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003678/2.829, allocations: 1.46 MB / 0.9505 GB, free: 100.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007986/2.83, allocations: 3.575 MB / 0.954 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/2.83, allocations: 11.25 kB / 0.954 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/2.832, allocations: 0.4965 MB / 0.9545 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/2.834, allocations: 199.5 kB / 0.9547 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/2.837, allocations: 2.904 MB / 0.9575 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/2.839, allocations: 63.59 kB / 0.9576 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003653/2.84, allocations: 47.67 kB / 0.9576 GB, free: 94.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/2.84, allocations: 3.188 kB / 0.9576 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003532/2.843, allocations: 1.263 MB / 0.9589 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/2.843, allocations: 10.97 kB / 0.9589 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/2.845, allocations: 323.5 kB / 0.9592 GB, free: 94.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/2.847, allocations: 198.9 kB / 0.9594 GB, free: 94.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/2.849, allocations: 2.672 MB / 0.962 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/2.851, allocations: 62.23 kB / 0.962 GB, free: 91.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/2.851, allocations: 53.08 kB / 0.9621 GB, free: 91.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004043/2.851, allocations: 162.2 kB / 0.9622 GB, free: 91.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/2.851, allocations: 92.53 kB / 0.9623 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/2.855, allocations: 1.339 MB / 0.9636 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/2.855, allocations: 7.938 kB / 0.9637 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.855, allocations: 7.859 kB / 0.9637 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/2.855, allocations: 3.938 kB / 0.9637 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/2.86, allocations: 2.285 MB / 0.9659 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/2.86, allocations: 9.688 kB / 0.9659 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/2.861, allocations: 88.77 kB / 0.966 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/2.864, allocations: 0.5076 MB / 0.9665 GB, free: 91.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/2.864, allocations: 20.47 kB / 0.9665 GB, free: 91.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/2.867, allocations: 2.894 MB / 0.9693 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.867, allocations: 3.781 kB / 0.9693 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/2.87, allocations: 1.738 MB / 0.971 GB, free: 88.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/2.871, allocations: 292 kB / 0.9713 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/2.871, allocations: 12.59 kB / 0.9713 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/2.873, allocations: 40.94 kB / 0.9714 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/2.873, allocations: 61.77 kB / 0.9714 GB, free: 88.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/2.873, allocations: 26.22 kB / 0.9714 GB, free: 88.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001089/2.874, allocations: 0.5812 MB / 0.972 GB, free: 88.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.455e-06/2.874, allocations: 0 / 0.972 GB, free: 88.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00353/2.877, allocations: 0.873 MB / 0.9729 GB, free: 88.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006404/2.884, allocations: 3.16 MB / 0.9759 GB, free: 86.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005474/2.889, allocations: 1.85 MB / 0.9778 GB, free: 85.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.89, allocations: 0 / 0.9778 GB, free: 85.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/2.891, allocations: 0.5595 MB / 0.9783 GB, free: 85.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/2.894, allocations: 342.5 kB / 0.9786 GB, free: 85.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/2.901, allocations: 2.016 MB / 0.9806 GB, free: 84.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/2.901, allocations: 1.083 MB / 0.9817 GB, free: 83.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002539/2.904, allocations: 481.1 kB / 0.9821 GB, free: 83.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/2.905, allocations: 340.3 kB / 0.9824 GB, free: 83.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.905, allocations: 0 / 0.9824 GB, free: 83.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09066/2.995, allocations: 36.81 MB / 1.018 GB, free: 67.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/2.996, allocations: 236.1 kB / 1.019 GB, free: 67.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.448/7.443, allocations: 0 / 1.019 GB, free: 67.45 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat