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.071/2.071, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.913e-05/4.922e-05, allocations: 5.547 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.526/2.635, allocations: 0.7728 GB / 1.087 GB, free: 45.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/2.635, allocations: 82.33 kB / 1.087 GB, free: 45.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.475/9.11, allocations: 1.135 GB / 2.222 GB, free: 49.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.745e-06/9.11, allocations: 0 / 2.222 GB, free: 49.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002071/9.111, allocations: 38.5 kB / 2.222 GB, free: 49.74 MB / 474.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.02216/9.133, allocations: 2.36 MB / 2.225 GB, free: 48.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/9.133, allocations: 7.375 kB / 2.225 GB, free: 48.45 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001092/9.134, allocations: 197 kB / 2.225 GB, free: 48.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008074/9.142, allocations: 432.6 kB / 2.225 GB, free: 48.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/9.147, allocations: 1.266 MB / 2.227 GB, free: 47.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/9.148, allocations: 93.47 kB / 2.227 GB, free: 47.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000894/9.149, allocations: 121.4 kB / 2.227 GB, free: 47.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009205/9.158, allocations: 2.842 MB / 2.23 GB, free: 47.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/9.158, allocations: 0 / 2.23 GB, free: 47.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005526/9.158, allocations: 57.33 kB / 2.23 GB, free: 47.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003011/9.159, allocations: 137.8 kB / 2.23 GB, free: 47.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/9.169, allocations: 3.561 MB / 2.233 GB, free: 47.73 MB / 474.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.02138/9.191, allocations: 6.926 MB / 2.24 GB, free: 45.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/9.193, allocations: 0.8088 MB / 2.241 GB, free: 45.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/9.194, allocations: 429.3 kB / 2.241 GB, free: 45.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/9.196, allocations: 0.6814 MB / 2.242 GB, free: 45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/9.196, allocations: 47.8 kB / 2.242 GB, free: 44.96 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00202/9.198, allocations: 231.5 kB / 2.242 GB, free: 44.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 4.929e-06/9.198, allocations: 0 / 2.242 GB, free: 44.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.003322/9.202, allocations: 1.164 MB / 2.243 GB, free: 44.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/9.202, allocations: 143.2 kB / 2.243 GB, free: 44.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/9.204, allocations: 0.9171 MB / 2.244 GB, free: 44.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003216/9.204, allocations: 45.12 kB / 2.244 GB, free: 44.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/9.205, allocations: 0.7549 MB / 2.245 GB, free: 43.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/9.205, allocations: 212.2 kB / 2.245 GB, free: 43.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/9.205, allocations: 23.44 kB / 2.245 GB, free: 43.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/9.205, allocations: 356.3 kB / 2.246 GB, free: 43.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/9.207, allocations: 0.5131 MB / 2.246 GB, free: 43.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/9.208, allocations: 0.8464 MB / 2.247 GB, free: 42.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/9.21, allocations: 0.6544 MB / 2.248 GB, free: 42.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/9.21, allocations: 5.344 kB / 2.248 GB, free: 42.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005082/9.215, allocations: 1.691 MB / 2.249 GB, free: 41.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001199/9.217, allocations: 4.013 MB / 2.253 GB, free: 37.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.557e-05/9.217, allocations: 7.875 kB / 2.253 GB, free: 37.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006922/9.224, allocations: 0.9103 MB / 2.254 GB, free: 37.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/9.226, allocations: 241.2 kB / 2.254 GB, free: 37.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/9.229, allocations: 1.475 MB / 2.256 GB, free: 36.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/9.232, allocations: 103.2 kB / 2.256 GB, free: 36.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/9.232, allocations: 74.11 kB / 2.256 GB, free: 36.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/9.232, allocations: 3.156 kB / 2.256 GB, free: 36.57 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004641/9.237, allocations: 1.469 MB / 2.257 GB, free: 36.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/9.237, allocations: 7.094 kB / 2.257 GB, free: 36.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/9.238, allocations: 146.2 kB / 2.258 GB, free: 36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/9.24, allocations: 263.8 kB / 2.258 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/9.244, allocations: 2.145 MB / 2.26 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/9.246, allocations: 82.91 kB / 2.26 GB, free: 34.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/9.246, allocations: 79 kB / 2.26 GB, free: 34.28 MB / 474.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.0004424/9.247, allocations: 170.9 kB / 2.26 GB, free: 34.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/9.247, allocations: 116.5 kB / 2.26 GB, free: 34.06 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/9.251, allocations: 1.403 MB / 2.262 GB, free: 33.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/9.251, allocations: 7.781 kB / 2.262 GB, free: 33.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/9.251, allocations: 0 / 2.262 GB, free: 33.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/9.251, allocations: 3 kB / 2.262 GB, free: 33.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/9.258, allocations: 2.414 MB / 2.264 GB, free: 32.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/9.258, allocations: 4.281 kB / 2.264 GB, free: 32.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/9.258, allocations: 70.72 kB / 2.264 GB, free: 32.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006446/9.265, allocations: 0.908 MB / 2.265 GB, free: 31.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/9.265, allocations: 23.86 kB / 2.265 GB, free: 31.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/9.268, allocations: 1.431 MB / 2.266 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/9.268, allocations: 3.594 kB / 2.266 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/9.272, allocations: 1.259 MB / 2.268 GB, free: 29.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009296/9.272, allocations: 301.3 kB / 2.268 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/9.273, allocations: 15.44 kB / 2.268 GB, free: 28.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/9.274, allocations: 46.2 kB / 2.268 GB, free: 28.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/9.274, allocations: 39.31 kB / 2.268 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/9.274, allocations: 42.94 kB / 2.268 GB, free: 28.85 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001384/9.276, allocations: 0.6884 MB / 2.269 GB, free: 28.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.276, allocations: 0 / 2.269 GB, free: 28.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007528/9.283, allocations: 1.855 MB / 2.271 GB, free: 26.4 MB / 474.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.01322/9.297, allocations: 4.285 MB / 2.275 GB, free: 22.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006642/9.303, allocations: 2.079 MB / 2.277 GB, free: 21.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/9.303, allocations: 3.312 kB / 2.277 GB, free: 21.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/9.305, allocations: 458.4 kB / 2.277 GB, free: 20.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/9.309, allocations: 446.9 kB / 2.278 GB, free: 20.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009935/9.319, allocations: 2.72 MB / 2.28 GB, free: 17.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/9.32, allocations: 1.328 MB / 2.282 GB, free: 16.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/9.322, allocations: 0.5129 MB / 2.282 GB, free: 16.35 MB / 474.7 MB Notification: Performance of SimCode: time 2.625e-06/9.322, allocations: 0 / 2.282 GB, free: 16.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.423/13.74, allocations: 49.8 MB / 2.331 GB, free: 52.79 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