Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.03e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.524/2.638, allocations: 0.7728 GB / 1.087 GB, free: 46.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/2.638, allocations: 82.52 kB / 1.087 GB, free: 46.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.529/9.167, allocations: 1.135 GB / 2.222 GB, free: 35.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.715e-06/9.167, allocations: 0 / 2.222 GB, free: 35.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001904/9.168, allocations: 37.89 kB / 2.222 GB, free: 35.73 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02274/9.19, allocations: 2.353 MB / 2.225 GB, free: 34.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/9.19, allocations: 10.31 kB / 2.225 GB, free: 34.47 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009428/9.191, allocations: 198 kB / 2.225 GB, free: 34.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008007/9.199, allocations: 434.5 kB / 2.225 GB, free: 34.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/9.204, allocations: 1.262 MB / 2.227 GB, free: 33.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/9.205, allocations: 85.97 kB / 2.227 GB, free: 33.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008152/9.206, allocations: 113.7 kB / 2.227 GB, free: 33.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/9.214, allocations: 2.868 MB / 2.23 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/9.214, allocations: 1.469 kB / 2.23 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005167/9.215, allocations: 55.42 kB / 2.23 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/9.215, allocations: 140.8 kB / 2.23 GB, free: 33.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/9.226, allocations: 3.574 MB / 2.233 GB, free: 33.73 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/9.249, allocations: 6.933 MB / 2.24 GB, free: 31.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/9.252, allocations: 0.8198 MB / 2.241 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/9.253, allocations: 431.8 kB / 2.241 GB, free: 31.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/9.255, allocations: 0.6809 MB / 2.242 GB, free: 30.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/9.255, allocations: 43.75 kB / 2.242 GB, free: 30.95 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002047/9.257, allocations: 232.3 kB / 2.242 GB, free: 30.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=56): time 5.891e-06/9.257, allocations: 0 / 2.242 GB, free: 30.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=56): time 0.003649/9.26, allocations: 1.171 MB / 2.243 GB, free: 30.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/9.261, allocations: 139.8 kB / 2.243 GB, free: 30.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/9.263, allocations: 0.922 MB / 2.244 GB, free: 30.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003077/9.263, allocations: 37.2 kB / 2.244 GB, free: 30.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/9.264, allocations: 0.7594 MB / 2.245 GB, free: 29.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/9.264, allocations: 205.1 kB / 2.245 GB, free: 29.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/9.264, allocations: 23.56 kB / 2.245 GB, free: 29.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/9.264, allocations: 359 kB / 2.246 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/9.266, allocations: 0.5123 MB / 2.246 GB, free: 29.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/9.267, allocations: 0.8585 MB / 2.247 GB, free: 28.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/9.269, allocations: 0.6519 MB / 2.248 GB, free: 28.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/9.269, allocations: 2.75 kB / 2.248 GB, free: 28.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005038/9.274, allocations: 1.712 MB / 2.249 GB, free: 27.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001136/9.275, allocations: 4.021 MB / 2.253 GB, free: 23.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/9.275, allocations: 9.969 kB / 2.253 GB, free: 23.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006843/9.282, allocations: 0.9094 MB / 2.254 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/9.284, allocations: 240.3 kB / 2.254 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/9.288, allocations: 1.471 MB / 2.256 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/9.29, allocations: 103.1 kB / 2.256 GB, free: 22.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/9.291, allocations: 73.94 kB / 2.256 GB, free: 22.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/9.291, allocations: 3.188 kB / 2.256 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004839/9.296, allocations: 1.494 MB / 2.257 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-05/9.296, allocations: 14.09 kB / 2.257 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/9.297, allocations: 147.3 kB / 2.258 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/9.299, allocations: 266.7 kB / 2.258 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/9.303, allocations: 2.153 MB / 2.26 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/9.305, allocations: 84.16 kB / 2.26 GB, free: 20.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/9.305, allocations: 70.66 kB / 2.26 GB, free: 20.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004725/9.306, allocations: 168.8 kB / 2.26 GB, free: 19.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/9.306, allocations: 113.7 kB / 2.26 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/9.311, allocations: 1.409 MB / 2.262 GB, free: 19.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/9.311, allocations: 7.656 kB / 2.262 GB, free: 19.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/9.311, allocations: 0 / 2.262 GB, free: 19.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/9.311, allocations: 3 kB / 2.262 GB, free: 19.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/9.317, allocations: 2.408 MB / 2.264 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/9.317, allocations: 0 / 2.264 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/9.318, allocations: 77.2 kB / 2.264 GB, free: 18.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006593/9.325, allocations: 0.9103 MB / 2.265 GB, free: 17.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/9.325, allocations: 19.8 kB / 2.265 GB, free: 17.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/9.328, allocations: 1.435 MB / 2.266 GB, free: 16.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/9.328, allocations: 0 / 2.266 GB, free: 16.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/9.331, allocations: 1.26 MB / 2.268 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/9.333, allocations: 300.5 kB / 2.268 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/9.333, allocations: 8 kB / 2.268 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/9.334, allocations: 58.91 kB / 2.268 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/9.334, allocations: 39.8 kB / 2.268 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/9.334, allocations: 35.84 kB / 2.268 GB, free: 14.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001421/9.336, allocations: 0.6904 MB / 2.269 GB, free: 14.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.336, allocations: 0 / 2.269 GB, free: 14.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007847/9.344, allocations: 1.857 MB / 2.271 GB, free: 12.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0136/9.357, allocations: 4.26 MB / 2.275 GB, free: 8.836 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007003/9.365, allocations: 2.129 MB / 2.277 GB, free: 6.891 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/9.365, allocations: 2.219 kB / 2.277 GB, free: 6.891 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/9.366, allocations: 456.1 kB / 2.277 GB, free: 6.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/9.37, allocations: 435 kB / 2.278 GB, free: 6.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/9.38, allocations: 2.731 MB / 2.28 GB, free: 3.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/9.381, allocations: 1.334 MB / 2.282 GB, free: 18.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/9.383, allocations: 0.5042 MB / 2.282 GB, free: 18.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.223e-06/9.383, allocations: 0 / 2.282 GB, free: 18.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.343/13.73, allocations: 49.7 MB / 2.331 GB, free: 51.25 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat