Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.14/2.14, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.184e-05, allocations: 7.984 kB / 284.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.36 MB / 334.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.5767, allocations: 79.5 MB / 414.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5771, allocations: 83.38 kB / 414.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.5944, allocations: 3.463 MB / 417.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.5945, allocations: 0 / 417.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.5946, allocations: 8 kB / 417.8 MB, free: 11.36 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001512/0.5961, allocations: 0.502 MB / 418.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.5962, allocations: 8.031 kB / 418.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.5963, allocations: 41.12 kB / 418.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.5965, allocations: 31.53 kB / 418.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.5975, allocations: 308.1 kB / 418.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.5976, allocations: 11.2 kB / 418.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.5977, allocations: 15.44 kB / 418.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.5983, allocations: 118.9 kB / 418.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5983, allocations: 0 / 418.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.5984, allocations: 3.062 kB / 418.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.5984, allocations: 4 kB / 418.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.5988, allocations: 65.05 kB / 418.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.6012, allocations: 0.5295 MB / 419.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.6026, allocations: 167.8 kB / 419.6 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.6029, allocations: 49.92 kB / 419.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.603, allocations: 4.156 kB / 419.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.603, allocations: 37.62 kB / 419.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 5.39e-06/0.603, allocations: 3.938 kB / 419.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002847/0.6059, allocations: 0.6046 MB / 420.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.606, allocations: 51.41 kB / 420.4 MB, free: 8.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/0.6069, allocations: 299.6 kB / 420.7 MB, free: 8.707 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.607, allocations: 25.7 kB / 420.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.6072, allocations: 209.6 kB / 420.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.6073, allocations: 68.22 kB / 420.9 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.6073, allocations: 2.938 kB / 421 MB, free: 8.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6075, allocations: 318.3 kB / 421.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.6077, allocations: 57.8 kB / 421.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.6079, allocations: 56.88 kB / 421.4 MB, free: 8.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.6081, allocations: 70.28 kB / 421.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6081, allocations: 0 / 421.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004971/0.6086, allocations: 181.2 kB / 421.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6087, allocations: 11.95 kB / 421.6 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6087, allocations: 3.938 kB / 421.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6087, allocations: 0 / 421.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.6093, allocations: 59.97 kB / 421.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.6093, allocations: 0 / 421.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.6097, allocations: 11.3 kB / 421.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.6097, allocations: 7.5 kB / 421.7 MB, free: 7.801 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001172/0.6098, allocations: 115.8 kB / 421.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.6099, allocations: 27.62 kB / 421.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.6106, allocations: 213.6 kB / 422.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6106, allocations: 0 / 422.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6106, allocations: 3.984 kB / 422.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.6106, allocations: 4 kB / 422.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.6112, allocations: 320.3 kB / 422.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6112, allocations: 4 kB / 422.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.6119, allocations: 63.64 kB / 422.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.612, allocations: 4 kB / 422.5 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.612, allocations: 0 / 422.5 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.612, allocations: 3.953 kB / 422.5 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.612, allocations: 8 kB / 422.5 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.6128, allocations: 373 kB / 422.8 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.613, allocations: 108.7 kB / 422.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.6131, allocations: 11.8 kB / 422.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.6134, allocations: 4 kB / 422.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.6135, allocations: 15.81 kB / 423 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.6135, allocations: 7.984 kB / 423 MB, free: 6.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004392/0.614, allocations: 246.8 kB / 423.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.614, allocations: 3.938 kB / 423.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.6145, allocations: 47.75 kB / 423.3 MB, free: 6.422 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.00119/0.6157, allocations: 0.9037 MB / 424.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.6162, allocations: 155.4 kB / 424.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6162, allocations: 0 / 424.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.6164, allocations: 81.61 kB / 424.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.6169, allocations: 34.09 kB / 424.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.6193, allocations: 0.7031 MB / 425.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.6199, allocations: 0.7707 MB / 425.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.6202, allocations: 95.97 kB / 426 MB, free: 3.863 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6202, allocations: 0 / 426 MB, free: 3.863 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/3.186, allocations: 4.024 MB / 430 MB, free: 15.88 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat