Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.128e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5858, allocations: 78.22 MB / 420.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.5862, allocations: 82.89 kB / 421 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.6032, allocations: 3.47 MB / 424.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6033, allocations: 0 / 424.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.6033, allocations: 8 kB / 424.4 MB, free: 12.66 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.0009582/0.6043, allocations: 498.8 kB / 424.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6044, allocations: 12.03 kB / 424.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.6045, allocations: 49.06 kB / 425 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.6046, allocations: 27.62 kB / 425 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.6051, allocations: 302.6 kB / 425.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.6052, allocations: 11.62 kB / 425.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.6052, allocations: 15.05 kB / 425.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.6055, allocations: 111.8 kB / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6056, allocations: 0 / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.6056, allocations: 7.25 kB / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.6056, allocations: 7.953 kB / 425.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.6058, allocations: 71.78 kB / 425.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6071, allocations: 0.5211 MB / 426 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/0.6078, allocations: 169.3 kB / 426.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.608, allocations: 56.28 kB / 426.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.6081, allocations: 4 kB / 426.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6081, allocations: 37.84 kB / 426.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.869e-06/0.6081, allocations: 0 / 426.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001946/0.6101, allocations: 0.5857 MB / 426.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.6102, allocations: 60.33 kB / 426.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.6107, allocations: 302.1 kB / 427.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.6107, allocations: 25.7 kB / 427.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.6109, allocations: 154 kB / 427.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.611, allocations: 64.78 kB / 427.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.611, allocations: 0 / 427.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6111, allocations: 340.7 kB / 427.8 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.6113, allocations: 61.36 kB / 427.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.6115, allocations: 56.06 kB / 427.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.6117, allocations: 69.97 kB / 428 MB, free: 9.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6117, allocations: 0 / 428 MB, free: 9.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005151/0.6123, allocations: 208 kB / 428.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.6123, allocations: 11.98 kB / 428.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6123, allocations: 0 / 428.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6123, allocations: 0 / 428.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.6129, allocations: 63.28 kB / 428.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6129, allocations: 0 / 428.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.6132, allocations: 15.31 kB / 428.3 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.6133, allocations: 8 kB / 428.3 MB, free: 9.133 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 9.856e-05/0.6134, allocations: 111.6 kB / 428.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.6134, allocations: 27.62 kB / 428.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.614, allocations: 207.5 kB / 428.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.614, allocations: 0 / 428.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6141, allocations: 0 / 428.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.6141, allocations: 3.984 kB / 428.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.6146, allocations: 324.3 kB / 429 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6146, allocations: 4 kB / 429 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.6153, allocations: 55.95 kB / 429 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6153, allocations: 0 / 429 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.6154, allocations: 11.05 kB / 429 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6154, allocations: 0 / 429 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6154, allocations: 0 / 429 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.6161, allocations: 379.7 kB / 429.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.6163, allocations: 115.6 kB / 429.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.6163, allocations: 4 kB / 429.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.6167, allocations: 11.73 kB / 429.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.6168, allocations: 15.89 kB / 429.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.6168, allocations: 7.125 kB / 429.5 MB, free: 8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000374/0.6172, allocations: 241.9 kB / 429.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6172, allocations: 0 / 429.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.6176, allocations: 47.56 kB / 429.8 MB, free: 7.77 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.001101/0.6187, allocations: 0.9178 MB / 430.7 MB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.6192, allocations: 143.9 kB / 430.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6192, allocations: 0 / 430.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.6194, allocations: 72.25 kB / 431 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.6198, allocations: 39.5 kB / 431 MB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.622, allocations: 0.6689 MB / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.6224, allocations: 0.7716 MB / 432.4 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.6227, allocations: 30.05 kB / 432.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.6229, allocations: 90.97 kB / 432.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6229, allocations: 4 kB / 432.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/0.7507, allocations: 5.057 MB / 437.6 MB, free: 340 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.003279/0.7543, allocations: 209.8 kB / 437.8 MB, free: 104 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.453, allocations: 0 / 437.8 MB, free: 104 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat