Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.352/2.352, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.927e-05/5.956e-05, allocations: 7.234 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.6238, allocations: 79.42 MB / 414.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.6242, allocations: 82.39 kB / 414.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.6415, allocations: 3.457 MB / 417.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6415, allocations: 0 / 417.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.931e-05/0.6416, allocations: 4 kB / 417.8 MB, free: 11.9 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.001094/0.6427, allocations: 0.5007 MB / 418.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.6428, allocations: 12.03 kB / 418.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.6428, allocations: 46.3 kB / 418.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.643, allocations: 35.53 kB / 418.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.6437, allocations: 299.6 kB / 418.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.6437, allocations: 10.77 kB / 418.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.6438, allocations: 26.05 kB / 418.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.6442, allocations: 110.6 kB / 418.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6442, allocations: 4 kB / 418.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.6443, allocations: 3.688 kB / 418.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.6443, allocations: 7.984 kB / 418.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.6445, allocations: 63.73 kB / 418.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.6458, allocations: 0.5215 MB / 419.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.6466, allocations: 170.2 kB / 419.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.6467, allocations: 54.78 kB / 419.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.6468, allocations: 4.031 kB / 419.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.6468, allocations: 30.56 kB / 419.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.356e-06/0.6468, allocations: 3.938 kB / 419.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001958/0.6488, allocations: 0.6011 MB / 420.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.6489, allocations: 55.41 kB / 420.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.6494, allocations: 303 kB / 420.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.6494, allocations: 25.7 kB / 420.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.6496, allocations: 162.2 kB / 420.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/0.6497, allocations: 62.09 kB / 420.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.6497, allocations: 3.625 kB / 420.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6499, allocations: 345 kB / 421.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.6501, allocations: 57.38 kB / 421.2 MB, free: 8.664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.6503, allocations: 55.81 kB / 421.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.6505, allocations: 66.72 kB / 421.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6505, allocations: 0 / 421.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005402/0.651, allocations: 212.8 kB / 421.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.6511, allocations: 7.953 kB / 421.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6511, allocations: 0 / 421.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6511, allocations: 0 / 421.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.6517, allocations: 63.95 kB / 421.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.6517, allocations: 0 / 421.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.652, allocations: 7.25 kB / 421.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.6521, allocations: 7.312 kB / 421.7 MB, free: 8.352 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.0001185/0.6522, allocations: 116.1 kB / 421.8 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.6523, allocations: 27.62 kB / 421.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.6529, allocations: 221.4 kB / 422 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6529, allocations: 3.938 kB / 422 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6529, allocations: 4 kB / 422 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6529, allocations: 0 / 422 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.6535, allocations: 319.9 kB / 422.3 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.6535, allocations: 0 / 422.3 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.6542, allocations: 63.89 kB / 422.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6542, allocations: 0 / 422.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.6543, allocations: 3.5 kB / 422.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.6543, allocations: 15.94 kB / 422.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6543, allocations: 7.984 kB / 422.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.6551, allocations: 369.5 kB / 422.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6552, allocations: 111.7 kB / 422.9 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.6553, allocations: 7.875 kB / 422.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.6556, allocations: 7.562 kB / 422.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.6557, allocations: 15.92 kB / 422.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.6557, allocations: 4 kB / 422.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.6561, allocations: 253 kB / 423.2 MB, free: 7 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6562, allocations: 0 / 423.2 MB, free: 7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.6566, allocations: 46.88 kB / 423.2 MB, free: 6.961 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.001133/0.6577, allocations: 0.9061 MB / 424.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.6582, allocations: 148.1 kB / 424.3 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6582, allocations: 0 / 424.3 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.6584, allocations: 78.61 kB / 424.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.6588, allocations: 37.7 kB / 424.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.6611, allocations: 0.671 MB / 425.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.6616, allocations: 0.7677 MB / 425.8 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.6618, allocations: 38.05 kB / 425.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.662, allocations: 90.03 kB / 425.9 MB, free: 4.414 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.662, allocations: 0 / 425.9 MB, free: 4.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.6903, allocations: 5.057 MB / 431 MB, free: 15.44 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.6907, allocations: 222.8 kB / 431.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.242, allocations: 4 kB / 431.2 MB, free: 15.2 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat