Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.149/2.149, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.85e-05, allocations: 7.984 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 50.36 MB / 334.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5447, allocations: 80.28 MB / 415 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5451, allocations: 74.81 kB / 415.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01787/0.563, allocations: 3.681 MB / 418.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.563, allocations: 0 / 418.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.5631, allocations: 4 kB / 418.8 MB, free: 10.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009785/0.564, allocations: 0.5082 MB / 419.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5641, allocations: 12.03 kB / 419.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.5642, allocations: 46.36 kB / 419.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.5643, allocations: 31.62 kB / 419.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.5649, allocations: 303.1 kB / 419.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.565, allocations: 16.11 kB / 419.7 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.565, allocations: 19.72 kB / 419.7 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.5659, allocations: 356.7 kB / 420.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5659, allocations: 0 / 420.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.566, allocations: 3.938 kB / 420.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.566, allocations: 7.938 kB / 420.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.5663, allocations: 74.86 kB / 420.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5673, allocations: 0.5299 MB / 420.7 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.5684, allocations: 300.3 kB / 421 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.5687, allocations: 137.3 kB / 421.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/0.5688, allocations: 4 kB / 421.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.5688, allocations: 42.44 kB / 421.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/0.5688, allocations: 0 / 421.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.003161/0.572, allocations: 1.142 MB / 422.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.5722, allocations: 136.9 kB / 422.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.5728, allocations: 296.1 kB / 422.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.5728, allocations: 32.27 kB / 422.8 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.573, allocations: 194 kB / 422.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.5731, allocations: 43.97 kB / 423 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.5731, allocations: 5.75 kB / 423 MB, free: 6.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5733, allocations: 332.4 kB / 423.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.5734, allocations: 56.69 kB / 423.4 MB, free: 6.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.5738, allocations: 275.4 kB / 423.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5741, allocations: 112.8 kB / 423.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5741, allocations: 4 kB / 423.8 MB, free: 5.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007965/0.5749, allocations: 327.8 kB / 424.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.575, allocations: 8 kB / 424.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.575, allocations: 11.94 kB / 424.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.575, allocations: 12 kB / 424.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.5756, allocations: 87.66 kB / 424.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.192e-05/0.5756, allocations: 23.88 kB / 424.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.576, allocations: 23.31 kB / 424.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.5761, allocations: 19.69 kB / 424.3 MB, free: 5.367 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.5763, allocations: 139 kB / 424.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007497/0.577, allocations: 270.4 kB / 424.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.578, allocations: 356.3 kB / 425 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.578, allocations: 8.062 kB / 425 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5781, allocations: 8.656 kB / 425 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5781, allocations: 3.953 kB / 425 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.5787, allocations: 315.3 kB / 425.3 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5787, allocations: 0 / 425.3 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5798, allocations: 119.4 kB / 425.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.5798, allocations: 0 / 425.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.5799, allocations: 15.36 kB / 425.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5799, allocations: 0 / 425.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5799, allocations: 7.938 kB / 425.5 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5813, allocations: 0.6804 MB / 426.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.5815, allocations: 119.7 kB / 426.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.5816, allocations: 10.19 kB / 426.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.5821, allocations: 23.12 kB / 426.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.5821, allocations: 3.125 kB / 426.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.5822, allocations: 11.44 kB / 426.3 MB, free: 3.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.5826, allocations: 246.4 kB / 426.6 MB, free: 3.406 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5826, allocations: 0 / 426.6 MB, free: 3.406 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006553/0.5833, allocations: 61.56 kB / 426.6 MB, free: 3.355 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/0.5851, allocations: 1.384 MB / 428 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007149/0.5859, allocations: 250.6 kB / 428.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5859, allocations: 4.062 kB / 428.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.586, allocations: 18.69 kB / 428.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/0.5869, allocations: 180.4 kB / 428.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.5891, allocations: 0.6637 MB / 429.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5897, allocations: 0.8107 MB / 429.9 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.5899, allocations: 114.8 kB / 430 MB, free: 264 kB / 346.7 MB Notification: Performance of SimCode: time 3.547e-06/0.59, allocations: 0 / 430 MB, free: 264 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.814/3.404, allocations: 4.946 MB / 435 MB, free: 11.36 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit_res.mat does not exist to compare? outputFormat=mat