Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.232e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2447, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3609, allocations: 76.89 MB / 371 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.3612, allocations: 75.94 kB / 371.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08635/0.4475, allocations: 27.59 MB / 398.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.886e-06/0.4476, allocations: 0 / 398.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4476, allocations: 4 kB / 398.7 MB, free: 9.508 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007946/0.4484, allocations: 0.6741 MB / 399.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4485, allocations: 8.031 kB / 399.3 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.4486, allocations: 47.48 kB / 399.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.449, allocations: 271.4 kB / 399.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.449, allocations: 12 kB / 399.7 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.4491, allocations: 11.98 kB / 399.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002142/0.4493, allocations: 71.98 kB / 399.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.4497, allocations: 157.6 kB / 399.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.82e-06/0.4497, allocations: 0 / 399.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.4498, allocations: 4 kB / 399.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-06/0.4498, allocations: 3.953 kB / 399.9 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.4507, allocations: 477.1 kB / 400.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.4509, allocations: 110.5 kB / 400.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.4512, allocations: 108.8 kB / 400.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.4512, allocations: 0 / 400.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.4516, allocations: 242.6 kB / 400.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.05e-06/0.4516, allocations: 0 / 400.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008667/0.4525, allocations: 353.1 kB / 401.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.4527, allocations: 195.9 kB / 401.4 MB, free: 6.559 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008604/0.4535, allocations: 480.9 kB / 401.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.4536, allocations: 29.7 kB / 401.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4537, allocations: 179.7 kB / 402 MB, free: 5.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.4538, allocations: 27.7 kB / 402.1 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4539, allocations: 4.109 kB / 402.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.454, allocations: 322.8 kB / 402.4 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4542, allocations: 84.11 kB / 402.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.4544, allocations: 75.92 kB / 402.5 MB, free: 5.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4546, allocations: 61.78 kB / 402.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-06/0.4546, allocations: 0 / 402.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007613/0.4554, allocations: 317.4 kB / 402.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.4555, allocations: 152.5 kB / 403.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4556, allocations: 0 / 403.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4556, allocations: 0 / 403.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.218e-05/0.4556, allocations: 7.891 kB / 403.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4556, allocations: 4 kB / 403.1 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.4559, allocations: 23.98 kB / 403.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.4561, allocations: 93.25 kB / 403.2 MB, free: 4.672 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: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0002889/0.4564, allocations: 279 kB / 403.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.4565, allocations: 43.53 kB / 403.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.4567, allocations: 71.73 kB / 403.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-06/0.4567, allocations: 4 kB / 403.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.88e-06/0.4567, allocations: 7.953 kB / 403.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.153e-06/0.4567, allocations: 3.984 kB / 403.6 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.4581, allocations: 0.7407 MB / 404.3 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-06/0.4581, allocations: 3.984 kB / 404.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-06/0.4582, allocations: 0 / 404.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.204e-06/0.4582, allocations: 0 / 404.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.4582, allocations: 23.98 kB / 404.4 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.667e-06/0.4583, allocations: 0 / 404.4 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4583, allocations: 3.953 kB / 404.4 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.4592, allocations: 475 kB / 404.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.4597, allocations: 256.4 kB / 405.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.062e-05/0.4598, allocations: 12 kB / 405.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4601, allocations: 19.92 kB / 405.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.4603, allocations: 59.88 kB / 405.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.4605, allocations: 101.2 kB / 405.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007002/0.4612, allocations: 398.7 kB / 405.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.4612, allocations: 4 kB / 405.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004499/0.4617, allocations: 48 kB / 405.7 MB, free: 2.043 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.0001918/0.4619, allocations: 119.2 kB / 405.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.4626, allocations: 0.5049 MB / 406.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.143e-06/0.4626, allocations: 0 / 406.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.4632, allocations: 464.9 kB / 406.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.464, allocations: 162.2 kB / 406.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4654, allocations: 0.6395 MB / 407.6 MB, free: 8 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.4662, allocations: 0.83 MB / 408.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.4662, allocations: 11.44 kB / 408.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.445e-06/0.4662, allocations: 4 kB / 408.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Templates: time 0.008113/0.4743, allocations: 4.2 MB / 412.6 MB, free: 10.82 MB / 362.7 MB