Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.664/2.664, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.591e-05, allocations: 0 / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4499, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.735, allocations: 406.8 MB / 0.7706 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.736, allocations: 81.77 kB / 0.7707 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.052/2.788, allocations: 192.7 MB / 0.9589 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/2.788, allocations: 3.062 kB / 0.9589 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000176/2.788, allocations: 29.42 kB / 0.9589 GB, free: 129.7 MB / 0.5105 GB 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.005262/2.793, allocations: 1.341 MB / 0.9602 GB, free: 129 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/2.793, allocations: 7.594 kB / 0.9602 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004603/2.794, allocations: 125 kB / 0.9604 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/2.795, allocations: 118.2 kB / 0.9605 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/2.797, allocations: 0.7825 MB / 0.9612 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/2.798, allocations: 114.9 kB / 0.9613 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/2.798, allocations: 70.59 kB / 0.9614 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/2.801, allocations: 1.179 MB / 0.9626 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/2.801, allocations: 2.438 kB / 0.9626 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/2.801, allocations: 38.08 kB / 0.9626 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/2.801, allocations: 75.81 kB / 0.9627 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/2.804, allocations: 1.151 MB / 0.9638 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/2.818, allocations: 4.727 MB / 0.9684 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/2.82, allocations: 0.6547 MB / 0.969 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009465/2.821, allocations: 420.2 kB / 0.9694 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005296/2.826, allocations: 2.492 MB / 0.9719 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/2.827, allocations: 41.97 kB / 0.9719 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 3.747e-06/2.827, allocations: 0 / 0.9719 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.008285/2.835, allocations: 2.353 MB / 0.9742 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/2.835, allocations: 161.7 kB / 0.9744 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/2.837, allocations: 0.8282 MB / 0.9752 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000267/2.837, allocations: 37.3 kB / 0.9752 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/2.837, allocations: 464.4 kB / 0.9757 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/2.838, allocations: 198.1 kB / 0.9759 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/2.838, allocations: 19.28 kB / 0.9759 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/2.838, allocations: 350 kB / 0.9762 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/2.839, allocations: 436.2 kB / 0.9766 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/2.84, allocations: 0.6554 MB / 0.9773 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/2.842, allocations: 0.5013 MB / 0.9777 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/2.842, allocations: 6.688 kB / 0.9778 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004168/2.846, allocations: 1.469 MB / 0.9792 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005877/2.847, allocations: 2.44 MB / 0.9816 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/2.847, allocations: 17.77 kB / 0.9816 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/2.85, allocations: 0.502 MB / 0.9821 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/2.851, allocations: 181.7 kB / 0.9823 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/2.855, allocations: 2.933 MB / 0.9851 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/2.857, allocations: 50.8 kB / 0.9852 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/2.857, allocations: 49.2 kB / 0.9852 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/2.857, allocations: 4.719 kB / 0.9852 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003745/2.861, allocations: 1.325 MB / 0.9865 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/2.861, allocations: 10.97 kB / 0.9865 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/2.863, allocations: 404.1 kB / 0.9869 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/2.864, allocations: 191.5 kB / 0.9871 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/2.867, allocations: 2.818 MB / 0.9898 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/2.869, allocations: 54.62 kB / 0.9899 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/2.869, allocations: 49.02 kB / 0.9899 GB, free: 116 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (99): * Single equations (assignments): 96 * 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.0004169/2.87, allocations: 158.4 kB / 0.9901 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/2.87, allocations: 96.78 kB / 0.9902 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/2.874, allocations: 1.386 MB / 0.9915 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/2.874, allocations: 3.719 kB / 0.9915 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/2.874, allocations: 3.719 kB / 0.9915 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/2.874, allocations: 3.844 kB / 0.9915 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/2.88, allocations: 2.336 MB / 0.9938 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/2.88, allocations: 0 / 0.9938 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/2.881, allocations: 99 kB / 0.9939 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/2.883, allocations: 0.4964 MB / 0.9944 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/2.883, allocations: 21.89 kB / 0.9944 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/2.886, allocations: 2.909 MB / 0.9973 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.886, allocations: 0 / 0.9973 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/2.891, allocations: 1.771 MB / 0.999 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/2.891, allocations: 307.7 kB / 0.9993 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/2.892, allocations: 16.91 kB / 0.9993 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/2.893, allocations: 39.95 kB / 0.9993 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/2.894, allocations: 58.17 kB / 0.9994 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/2.894, allocations: 30.97 kB / 0.9994 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001316/2.895, allocations: 0.653 MB / 1 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/2.895, allocations: 0 / 1 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003974/2.899, allocations: 0.8893 MB / 1.001 GB, free: 112 MB / 0.5105 GB 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.007025/2.906, allocations: 3.198 MB / 1.004 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006108/2.912, allocations: 1.87 MB / 1.006 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.912, allocations: 6.406 kB / 1.006 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/2.914, allocations: 0.5559 MB / 1.006 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/2.918, allocations: 391.6 kB / 1.007 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/2.925, allocations: 1.927 MB / 1.009 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/2.926, allocations: 1.087 MB / 1.01 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002781/2.929, allocations: 0.4957 MB / 1.01 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007539/2.929, allocations: 334.8 kB / 1.011 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/2.929, allocations: 3.5 kB / 1.011 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/3.064, allocations: 39.39 MB / 1.049 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/3.064, allocations: 240.1 kB / 1.049 GB, free: 78.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.372/7.436, allocations: 0 / 1.049 GB, free: 78.49 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat