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_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadModel(Modelica_Synchronous): time 2.247/2.247, allocations: 218.4 MB / 234.2 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.359e-05, allocations: 2.938 kB / 287.6 MB, free: 8.469 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.38 MB / 338 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002816/0.1238, allocations: 1.709 MB / 339.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1251, allocations: 0.5001 MB / 340.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1252, allocations: 4 kB / 340.2 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.187e-05/0.1254, allocations: 11.86 kB / 340.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.1257, allocations: 59.77 kB / 340.3 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1259, allocations: 35.94 kB / 340.3 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1261, allocations: 135.6 kB / 340.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1263, allocations: 28.16 kB / 340.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1264, allocations: 79.67 kB / 340.5 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1267, allocations: 103.6 kB / 340.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.1267, allocations: 12 kB / 340.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1268, allocations: 11.94 kB / 340.7 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.1269, allocations: 47.75 kB / 340.7 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.127, allocations: 16 kB / 340.7 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1272, allocations: 163.9 kB / 340.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1272, allocations: 0 / 340.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1272, allocations: 0 / 340.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1273, allocations: 0 / 340.9 MB, free: 7.633 MB / 282.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.0009982/0.1283, allocations: 498.6 kB / 341.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1283, allocations: 8.031 kB / 341.4 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.1284, allocations: 35.61 kB / 341.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.129, allocations: 298.9 kB / 341.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.129, allocations: 8 kB / 341.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.1291, allocations: 19.89 kB / 341.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.1294, allocations: 121.6 kB / 341.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1295, allocations: 0 / 341.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1295, allocations: 8 kB / 341.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1295, allocations: 0 / 341.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.1299, allocations: 95.81 kB / 341.9 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1311, allocations: 0.5197 MB / 342.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.1319, allocations: 174.8 kB / 342.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1319, allocations: 4 kB / 342.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.132, allocations: 38.56 kB / 342.7 MB, free: 5.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 5.37e-06/0.132, allocations: 0 / 342.7 MB, free: 5.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002289/0.1343, allocations: 0.6814 MB / 343.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1344, allocations: 51.41 kB / 343.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.1349, allocations: 303.7 kB / 343.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.135, allocations: 25.7 kB / 343.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1351, allocations: 206.8 kB / 343.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.1352, allocations: 59.11 kB / 344 MB, free: 4.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.1352, allocations: 4 kB / 344 MB, free: 4.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1354, allocations: 322.8 kB / 344.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1356, allocations: 64.28 kB / 344.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1359, allocations: 60.72 kB / 344.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1361, allocations: 76.11 kB / 344.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1362, allocations: 4 kB / 344.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005967/0.1368, allocations: 201.8 kB / 344.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1368, allocations: 6.031 kB / 344.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1368, allocations: 0 / 344.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1368, allocations: 0 / 344.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.1374, allocations: 59.95 kB / 344.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1374, allocations: 0 / 344.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.1377, allocations: 12 kB / 344.8 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1377, allocations: 8 kB / 344.8 MB, free: 3.465 MB / 282.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.0001804/0.1379, allocations: 137.8 kB / 344.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.138, allocations: 31.58 kB / 345 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/0.1387, allocations: 220.7 kB / 345.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1387, allocations: 4 kB / 345.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1388, allocations: 4 kB / 345.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1388, allocations: 3.984 kB / 345.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.1393, allocations: 317.4 kB / 345.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.1393, allocations: 11.92 kB / 345.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/0.14, allocations: 59.95 kB / 345.6 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1401, allocations: 0 / 345.6 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.1401, allocations: 7.953 kB / 345.6 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1401, allocations: 0 / 345.6 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1401, allocations: 0 / 345.6 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.1411, allocations: 400.5 kB / 346 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1412, allocations: 108.8 kB / 346.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.1413, allocations: 8 kB / 346.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.1416, allocations: 11.95 kB / 346.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.1417, allocations: 15.89 kB / 346.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.1417, allocations: 7.984 kB / 346.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004321/0.1422, allocations: 251.1 kB / 346.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1422, allocations: 0 / 346.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.1426, allocations: 40 kB / 346.4 MB, free: 1.75 MB / 282.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.0001507/0.1427, allocations: 99.25 kB / 346.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.1433, allocations: 163.8 kB / 346.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1433, allocations: 0 / 346.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.1436, allocations: 87.89 kB / 346.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.144, allocations: 29.08 kB / 346.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1462, allocations: 0.8751 MB / 347.6 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1467, allocations: 0.7716 MB / 348.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.1469, allocations: 27.42 kB / 348.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1469, allocations: 0 / 348.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Templates: time 0.007852/0.1547, allocations: 2.985 MB / 351.4 MB, free: 12.66 MB / 298.7 MB