Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.279e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4206, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.41/2.831, allocations: 0.787 GB / 1.138 GB, free: 123 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/2.831, allocations: 80.22 kB / 1.138 GB, free: 123 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.308/9.139, allocations: 1.142 GB / 2.28 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/9.139, allocations: 0 / 2.28 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001732/9.14, allocations: 43.36 kB / 2.28 GB, free: 59.18 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02221/9.162, allocations: 2.342 MB / 2.283 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/9.162, allocations: 14.39 kB / 2.283 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/9.163, allocations: 198.5 kB / 2.283 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008198/9.171, allocations: 436.6 kB / 2.283 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/9.176, allocations: 1.266 MB / 2.284 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/9.177, allocations: 93.34 kB / 2.284 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009065/9.178, allocations: 113.3 kB / 2.285 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008785/9.186, allocations: 2.851 MB / 2.287 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.908e-05/9.186, allocations: 3 kB / 2.287 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005349/9.187, allocations: 55.61 kB / 2.287 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002839/9.187, allocations: 139 kB / 2.288 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/9.198, allocations: 3.555 MB / 2.291 GB, free: 57.56 MB / 0.5105 GB 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.02386/9.222, allocations: 7.366 MB / 2.298 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/9.224, allocations: 0.8121 MB / 2.299 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/9.225, allocations: 432.4 kB / 2.299 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/9.227, allocations: 0.7965 MB / 2.3 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/9.227, allocations: 38.28 kB / 2.3 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002065/9.229, allocations: 225.5 kB / 2.3 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 4.95e-06/9.229, allocations: 0 / 2.3 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.003314/9.233, allocations: 1.167 MB / 2.302 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/9.233, allocations: 137.6 kB / 2.302 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/9.235, allocations: 0.9176 MB / 2.303 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/9.235, allocations: 38.73 kB / 2.303 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/9.236, allocations: 0.7664 MB / 2.303 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/9.236, allocations: 212.5 kB / 2.304 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/9.236, allocations: 21.72 kB / 2.304 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001171/9.236, allocations: 364 kB / 2.304 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/9.238, allocations: 0.5216 MB / 2.304 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/9.239, allocations: 0.8484 MB / 2.305 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/9.241, allocations: 0.6588 MB / 2.306 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/9.241, allocations: 3.219 kB / 2.306 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004493/9.245, allocations: 1.705 MB / 2.308 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000957/9.246, allocations: 4.013 MB / 2.312 GB, free: 48.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/9.246, allocations: 9.188 kB / 2.312 GB, free: 48.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006567/9.253, allocations: 0.9098 MB / 2.312 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/9.255, allocations: 246.2 kB / 2.313 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/9.259, allocations: 1.474 MB / 2.314 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/9.261, allocations: 97.83 kB / 2.314 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/9.261, allocations: 88.58 kB / 2.314 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/9.261, allocations: 2.906 kB / 2.314 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004635/9.266, allocations: 1.488 MB / 2.316 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/9.266, allocations: 10.25 kB / 2.316 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/9.267, allocations: 151.4 kB / 2.316 GB, free: 47.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/9.269, allocations: 273.4 kB / 2.316 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/9.274, allocations: 2.146 MB / 2.318 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/9.275, allocations: 81.61 kB / 2.318 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/9.276, allocations: 87.39 kB / 2.318 GB, free: 46.41 MB / 0.5105 GB 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.0005048/9.276, allocations: 169.2 kB / 2.319 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/9.277, allocations: 113.4 kB / 2.319 GB, free: 46.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/9.281, allocations: 1.407 MB / 2.32 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/9.281, allocations: 7.406 kB / 2.32 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/9.281, allocations: 2.062 kB / 2.32 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/9.281, allocations: 7.672 kB / 2.32 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/9.287, allocations: 2.416 MB / 2.322 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/9.287, allocations: 0 / 2.322 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/9.288, allocations: 73.33 kB / 2.323 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006371/9.294, allocations: 0.9085 MB / 2.323 GB, free: 45.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/9.295, allocations: 15.97 kB / 2.323 GB, free: 45.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/9.298, allocations: 1.426 MB / 2.325 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/9.298, allocations: 0 / 2.325 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/9.301, allocations: 1.266 MB / 2.326 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/9.302, allocations: 189.5 kB / 2.326 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/9.302, allocations: 15.77 kB / 2.326 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/9.303, allocations: 55.14 kB / 2.326 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/9.304, allocations: 39.33 kB / 2.326 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/9.304, allocations: 43.08 kB / 2.326 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001423/9.305, allocations: 0.6891 MB / 2.327 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.723e-06/9.305, allocations: 0 / 2.327 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007863/9.313, allocations: 1.867 MB / 2.329 GB, free: 44.34 MB / 0.5105 GB 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.01272/9.326, allocations: 4.227 MB / 2.333 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006691/9.333, allocations: 2.101 MB / 2.335 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/9.333, allocations: 0 / 2.335 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/9.334, allocations: 460.8 kB / 2.335 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/9.338, allocations: 437.6 kB / 2.336 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/9.347, allocations: 2.673 MB / 2.339 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/9.348, allocations: 1.318 MB / 2.34 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/9.35, allocations: 0.5361 MB / 2.34 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/9.35, allocations: 3.938 kB / 2.34 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.793/13.14, allocations: 49.74 MB / 2.389 GB, free: 18.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat