Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.672/2.672, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.406e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4698, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.625/3.095, allocations: 0.792 GB / 1.165 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/3.095, allocations: 80.94 kB / 1.165 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.075/9.17, allocations: 1.144 GB / 2.31 GB, free: 13.5 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.785e-06/9.17, allocations: 3.938 kB / 2.31 GB, free: 13.5 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001636/9.17, allocations: 35.98 kB / 2.31 GB, free: 13.46 MB / 0.5418 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.02212/9.192, allocations: 2.351 MB / 2.312 GB, free: 11.06 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/9.192, allocations: 11.97 kB / 2.312 GB, free: 11.05 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009808/9.193, allocations: 202.3 kB / 2.312 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007683/9.201, allocations: 441.6 kB / 2.313 GB, free: 10.41 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/9.206, allocations: 1.199 MB / 2.314 GB, free: 9.164 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/9.206, allocations: 94.16 kB / 2.314 GB, free: 9.07 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006386/9.207, allocations: 115.9 kB / 2.314 GB, free: 8.957 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008637/9.215, allocations: 2.868 MB / 2.317 GB, free: 6.016 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/9.215, allocations: 0 / 2.317 GB, free: 6.016 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/9.216, allocations: 47.98 kB / 2.317 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003131/9.216, allocations: 146.5 kB / 2.317 GB, free: 5.824 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/9.227, allocations: 3.573 MB / 2.321 GB, free: 2.246 MB / 0.5418 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.477/9.704, allocations: 8.505 MB / 2.329 GB, free: 67.17 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006828/9.711, allocations: 1.534 MB / 2.33 GB, free: 67.14 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/9.713, allocations: 0.7863 MB / 2.331 GB, free: 67.13 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/9.715, allocations: 0.7978 MB / 2.332 GB, free: 66.47 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/9.715, allocations: 52.58 kB / 2.332 GB, free: 66.43 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006252/9.722, allocations: 0.8397 MB / 2.333 GB, free: 66.39 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=74): time 1.273e-05/9.722, allocations: 2.25 kB / 2.333 GB, free: 66.39 MB / 0.5418 GB Notification: Performance of matching and sorting (n=74): time 0.006165/9.728, allocations: 2.092 MB / 2.335 GB, free: 66.27 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/9.728, allocations: 140.1 kB / 2.335 GB, free: 66.11 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/9.731, allocations: 1.485 MB / 2.336 GB, free: 65.95 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005047/9.732, allocations: 43.55 kB / 2.337 GB, free: 65.92 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/9.732, allocations: 0.6453 MB / 2.337 GB, free: 65.73 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.000507/9.733, allocations: 265.2 kB / 2.337 GB, free: 65.61 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/9.733, allocations: 19.31 kB / 2.337 GB, free: 65.61 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001059/9.733, allocations: 351.2 kB / 2.338 GB, free: 65.3 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/9.735, allocations: 0.8183 MB / 2.339 GB, free: 65.3 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/9.737, allocations: 1.01 MB / 2.34 GB, free: 65.09 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/9.74, allocations: 0.9268 MB / 2.34 GB, free: 65.08 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/9.74, allocations: 1.562 kB / 2.34 GB, free: 65.08 MB / 0.5418 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007977/9.748, allocations: 2.619 MB / 2.343 GB, free: 64.95 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004749/9.748, allocations: 1.877 MB / 2.345 GB, free: 63.04 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/9.748, allocations: 3.188 kB / 2.345 GB, free: 63.04 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03855/9.787, allocations: 3.607 MB / 2.348 GB, free: 63.03 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/9.789, allocations: 189.1 kB / 2.349 GB, free: 63.03 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/9.794, allocations: 2.243 MB / 2.351 GB, free: 62.48 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/9.798, allocations: 85.09 kB / 2.351 GB, free: 62.48 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/9.798, allocations: 85.67 kB / 2.351 GB, free: 62.48 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/9.798, allocations: 3.688 kB / 2.351 GB, free: 62.48 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00609/9.804, allocations: 2.026 MB / 2.353 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/9.804, allocations: 8.5 kB / 2.353 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/9.806, allocations: 155.4 kB / 2.353 GB, free: 62.44 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/9.808, allocations: 267.7 kB / 2.353 GB, free: 62.44 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004252/9.813, allocations: 2.174 MB / 2.355 GB, free: 61.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/9.816, allocations: 77.62 kB / 2.355 GB, free: 61.16 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004225/9.816, allocations: 83.23 kB / 2.356 GB, free: 61.16 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.0006635/9.817, allocations: 159.5 kB / 2.356 GB, free: 61.05 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/9.818, allocations: 153.9 kB / 2.356 GB, free: 60.97 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007423/9.825, allocations: 2.27 MB / 2.358 GB, free: 60.86 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/9.825, allocations: 7.562 kB / 2.358 GB, free: 60.86 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/9.825, allocations: 3.438 kB / 2.358 GB, free: 60.86 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/9.825, allocations: 7.016 kB / 2.358 GB, free: 60.86 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008219/9.833, allocations: 3.216 MB / 2.361 GB, free: 60.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/9.833, allocations: 2.734 kB / 2.361 GB, free: 60.5 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/9.834, allocations: 74.64 kB / 2.361 GB, free: 60.5 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01987/9.854, allocations: 2.447 MB / 2.364 GB, free: 60.48 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/9.855, allocations: 20.39 kB / 2.364 GB, free: 60.48 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/9.858, allocations: 1.882 MB / 2.366 GB, free: 59.94 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/9.858, allocations: 3.531 kB / 2.366 GB, free: 59.94 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/9.863, allocations: 1.87 MB / 2.367 GB, free: 59.66 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/9.864, allocations: 263 kB / 2.368 GB, free: 59.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/9.865, allocations: 14.28 kB / 2.368 GB, free: 59.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/9.867, allocations: 91.89 kB / 2.368 GB, free: 59.49 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/9.868, allocations: 47.75 kB / 2.368 GB, free: 59.49 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/9.868, allocations: 58.3 kB / 2.368 GB, free: 59.49 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002511/9.87, allocations: 1.164 MB / 2.369 GB, free: 59.37 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.32e-07/9.87, allocations: 0 / 2.369 GB, free: 59.37 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.00835/9.879, allocations: 1.902 MB / 2.371 GB, free: 59.36 MB / 0.5418 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01484/9.894, allocations: 4.99 MB / 2.376 GB, free: 58.34 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.008394/9.902, allocations: 2.937 MB / 2.379 GB, free: 58.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/9.902, allocations: 6.547 kB / 2.379 GB, free: 58.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/9.904, allocations: 0.6996 MB / 2.379 GB, free: 58.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008336/9.913, allocations: 0.9287 MB / 2.38 GB, free: 58.17 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009785/9.922, allocations: 2.825 MB / 2.383 GB, free: 57.68 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/9.924, allocations: 1.329 MB / 2.384 GB, free: 56.96 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.005183/9.929, allocations: 0.8215 MB / 2.385 GB, free: 56.93 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/9.93, allocations: 0.5042 MB / 2.386 GB, free: 56.93 MB / 0.5418 GB Notification: Performance of SimCode: time 3.486e-06/9.93, allocations: 0 / 2.386 GB, free: 56.93 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.273/10.2, allocations: 99.22 MB / 2.482 GB, free: 27.14 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/10.2, allocations: 227.5 kB / 2.483 GB, free: 26.85 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/17.2, allocations: 0 / 2.483 GB, free: 26.85 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat