Running command: translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.568/2.568, allocations: 251.5 MB / 266 MB, free: 0.6836 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09937/0.09937, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.488e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4268, allocations: 59.43 MB / 459.2 MB, free: 28.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002254/0.4291, allocations: 1.702 MB / 460.9 MB, free: 26.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.4301, allocations: 0.5002 MB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.4303, allocations: 4 kB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.4304, allocations: 11.86 kB / 461.4 MB, free: 26.36 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.4307, allocations: 59.77 kB / 461.5 MB, free: 26.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.4309, allocations: 47.88 kB / 461.5 MB, free: 26.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.4311, allocations: 123.6 kB / 461.6 MB, free: 26.14 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4313, allocations: 30.84 kB / 461.7 MB, free: 26.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4314, allocations: 91.66 kB / 461.8 MB, free: 26.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.4316, allocations: 95.62 kB / 461.9 MB, free: 25.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.4317, allocations: 12 kB / 461.9 MB, free: 25.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.4317, allocations: 8 kB / 461.9 MB, free: 25.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.4318, allocations: 55.73 kB / 461.9 MB, free: 25.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.4319, allocations: 12 kB / 461.9 MB, free: 25.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.4321, allocations: 155.6 kB / 462.1 MB, free: 25.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4321, allocations: 0 / 462.1 MB, free: 25.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4321, allocations: 4 kB / 462.1 MB, free: 25.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.4321, allocations: 0 / 462.1 MB, free: 25.68 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.0008162/0.4329, allocations: 494.6 kB / 462.6 MB, free: 25.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.433, allocations: 12.03 kB / 462.6 MB, free: 25.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.4331, allocations: 39.58 kB / 462.6 MB, free: 25.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.4335, allocations: 303 kB / 462.9 MB, free: 24.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4335, allocations: 8 kB / 462.9 MB, free: 24.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.4336, allocations: 12 kB / 462.9 MB, free: 24.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.4339, allocations: 121.6 kB / 463.1 MB, free: 24.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4339, allocations: 3.984 kB / 463.1 MB, free: 24.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.434, allocations: 7.938 kB / 463.1 MB, free: 24.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.434, allocations: 4 kB / 463.1 MB, free: 24.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.4342, allocations: 89.86 kB / 463.2 MB, free: 24.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.4352, allocations: 0.5313 MB / 463.7 MB, free: 23.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.436, allocations: 166.8 kB / 463.9 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.436, allocations: 7.984 kB / 463.9 MB, free: 23.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.4361, allocations: 42.5 kB / 463.9 MB, free: 23.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.4361, allocations: 0 / 463.9 MB, free: 23.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002025/0.4381, allocations: 0.6672 MB / 464.6 MB, free: 22.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.4382, allocations: 55.41 kB / 464.6 MB, free: 22.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.4386, allocations: 299.7 kB / 464.9 MB, free: 22.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4387, allocations: 29.7 kB / 465 MB, free: 22.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4388, allocations: 160.2 kB / 465.1 MB, free: 22.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.4388, allocations: 63.09 kB / 465.2 MB, free: 22.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.4389, allocations: 4 kB / 465.2 MB, free: 22.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.439, allocations: 342.8 kB / 465.5 MB, free: 22.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.4392, allocations: 68.34 kB / 465.6 MB, free: 21.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4394, allocations: 61.28 kB / 465.6 MB, free: 21.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.4396, allocations: 70.42 kB / 465.7 MB, free: 21.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4396, allocations: 0 / 465.7 MB, free: 21.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005412/0.4402, allocations: 219 kB / 465.9 MB, free: 21.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4402, allocations: 9.094 kB / 465.9 MB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4402, allocations: 0 / 465.9 MB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4403, allocations: 0 / 465.9 MB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.4408, allocations: 63.95 kB / 466 MB, free: 21.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4408, allocations: 0 / 466 MB, free: 21.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.4411, allocations: 4 kB / 466 MB, free: 21.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4411, allocations: 11.98 kB / 466 MB, free: 21.52 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.0001344/0.4412, allocations: 133.7 kB / 466.1 MB, free: 21.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.4413, allocations: 27.72 kB / 466.2 MB, free: 21.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.4419, allocations: 222.5 kB / 466.4 MB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4419, allocations: 4 kB / 466.4 MB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4419, allocations: 3.938 kB / 466.4 MB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.442, allocations: 3.984 kB / 466.4 MB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.4424, allocations: 337.3 kB / 466.7 MB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4424, allocations: 0 / 466.7 MB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.4431, allocations: 59.95 kB / 466.8 MB, free: 20.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4431, allocations: 0 / 466.8 MB, free: 20.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.4431, allocations: 4 kB / 466.8 MB, free: 20.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4431, allocations: 4 kB / 466.8 MB, free: 20.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4431, allocations: 0 / 466.8 MB, free: 20.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.4439, allocations: 398.8 kB / 467.2 MB, free: 20.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.444, allocations: 112.8 kB / 467.3 MB, free: 20.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.4441, allocations: 4 kB / 467.3 MB, free: 20.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.4444, allocations: 8 kB / 467.3 MB, free: 20.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.4445, allocations: 7.984 kB / 467.3 MB, free: 20.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4445, allocations: 11.98 kB / 467.3 MB, free: 20.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003289/0.4449, allocations: 247.1 kB / 467.6 MB, free: 19.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4449, allocations: 0 / 467.6 MB, free: 19.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.4452, allocations: 44 kB / 467.6 MB, free: 19.82 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.0001187/0.4454, allocations: 103.2 kB / 467.7 MB, free: 19.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.4459, allocations: 163.8 kB / 467.9 MB, free: 19.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4459, allocations: 0 / 467.9 MB, free: 19.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.4461, allocations: 89.94 kB / 468 MB, free: 19.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.4465, allocations: 37.41 kB / 468 MB, free: 19.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.4483, allocations: 0.846 MB / 468.8 MB, free: 18.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.4485, allocations: 0.7716 MB / 469.6 MB, free: 17.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.4487, allocations: 34.28 kB / 469.6 MB, free: 17.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.4488, allocations: 27.36 kB / 469.7 MB, free: 17.7 MB / 346.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4488, allocations: 0 / 469.7 MB, free: 17.7 MB / 346.7 MB Notification: Performance of Templates: time 0.008083/0.4569, allocations: 2.435 MB / 472.1 MB, free: 15.28 MB / 346.7 MB