Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.622/2.622, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.755e-05, allocations: 4.312 kB / 249.7 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5511/0.6539, allocations: 76.9 MB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6543, allocations: 67.72 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1076/0.7619, allocations: 27.59 MB / 398.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7619, allocations: 0 / 398.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.762, allocations: 3.906 kB / 398.8 MB, free: 20.09 MB / 314.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.0007052/0.7627, allocations: 0.6805 MB / 399.5 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.7627, allocations: 11.59 kB / 399.5 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/0.7628, allocations: 50.11 kB / 399.6 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.763, allocations: 46.48 kB / 399.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.7634, allocations: 277.4 kB / 399.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.7634, allocations: 3.75 kB / 399.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.7635, allocations: 7.75 kB / 399.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000243/0.7638, allocations: 73.3 kB / 400 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.7642, allocations: 154.8 kB / 400.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7642, allocations: 0 / 400.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.7643, allocations: 7.875 kB / 400.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.7643, allocations: 7.797 kB / 400.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.7658, allocations: 472.6 kB / 400.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.7662, allocations: 114.9 kB / 400.7 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.7666, allocations: 101.6 kB / 400.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.7666, allocations: 0 / 400.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.7672, allocations: 251.6 kB / 401 MB, free: 18.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 4.017e-06/0.7672, allocations: 0 / 401 MB, free: 18.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001462/0.7687, allocations: 358 kB / 401.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.7688, allocations: 191.4 kB / 401.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.7702, allocations: 485 kB / 402.1 MB, free: 17.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.7704, allocations: 29.58 kB / 402.1 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.7705, allocations: 119.9 kB / 402.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.7707, allocations: 35.27 kB / 402.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.7707, allocations: 3.938 kB / 402.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.771, allocations: 326.4 kB / 402.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.7713, allocations: 77.77 kB / 402.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.7716, allocations: 76.48 kB / 402.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.7719, allocations: 61.39 kB / 402.8 MB, free: 17.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7719, allocations: 0 / 402.8 MB, free: 17.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001306/0.7733, allocations: 324.8 kB / 403.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.7735, allocations: 158.8 kB / 403.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.7735, allocations: 0 / 403.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.7736, allocations: 7.953 kB / 403.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.7736, allocations: 7.812 kB / 403.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7736, allocations: 0 / 403.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.7741, allocations: 19.52 kB / 403.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.7744, allocations: 93.61 kB / 403.4 MB, free: 17.19 MB / 314.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.0004383/0.7748, allocations: 269.8 kB / 403.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.775, allocations: 42.44 kB / 403.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.7754, allocations: 78.73 kB / 403.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7754, allocations: 3.906 kB / 403.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.7754, allocations: 3.953 kB / 403.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7754, allocations: 3.938 kB / 403.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.7777, allocations: 0.7392 MB / 404.5 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.7778, allocations: 0 / 404.5 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.7778, allocations: 128 / 404.5 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.7779, allocations: 4 kB / 404.5 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.778, allocations: 23.55 kB / 404.5 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.778, allocations: 3.953 kB / 404.5 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.778, allocations: 4 kB / 404.5 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.7797, allocations: 475.6 kB / 405 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009854/0.7807, allocations: 263.8 kB / 405.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.7809, allocations: 7.5 kB / 405.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.7815, allocations: 19.55 kB / 405.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.7819, allocations: 60.89 kB / 405.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/0.7821, allocations: 106 kB / 405.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.7834, allocations: 398.8 kB / 405.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.7834, allocations: 3.875 kB / 405.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009106/0.7844, allocations: 46.09 kB / 405.9 MB, free: 15.84 MB / 314.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.002252/0.7866, allocations: 1.019 MB / 406.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.7878, allocations: 0.5259 MB / 407.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7879, allocations: 3.5 kB / 407.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.7886, allocations: 450.5 kB / 407.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.7904, allocations: 152.4 kB / 408 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.7939, allocations: 0.6865 MB / 408.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.7949, allocations: 0.8259 MB / 409.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.7951, allocations: 16.31 kB / 409.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.7953, allocations: 41.08 kB / 409.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.724e-06/0.7953, allocations: 0 / 409.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.8541, allocations: 8.059 MB / 417.6 MB, free: 5.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004019/0.8546, allocations: 137.8 kB / 417.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.244/4.098, allocations: 0 / 417.8 MB, free: 5.055 MB / 314.7 MB "" Variables in the reference:time,Mux2x1.out Variables in the result:Input0.n,Input0.t[1],Input0.t[2],Input0.t[3],Input0.t[4],Input0.t[5],Input0.t[6],Input0.x[1],Input0.x[2],Input0.x[3],Input0.x[4],Input0.x[5],Input0.x[6],Input0.y,Input0.y0,Input1.n,Input1.t[1],Input1.t[2],Input1.t[3],Input1.t[4],Input1.t[5],Input1.t[6],Input1.x[1],Input1.x[2],Input1.x[3],Input1.x[4],Input1.x[5],Input1.x[6],Input1.y,Input1.y0,Mux2x1.in0,Mux2x1.in1,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.tHL,Mux2x1.inertialDelaySensitive.tLH,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y0,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.nextstate,Mux2x1.out,Mux2x1.sel,Mux2x1.strength,Mux2x1.tHL,Mux2x1.tLH,Mux2x1.yy,Select.after,Select.before,Select.stepTime,Select.y,_D_whenCondition1,_D_whenCondition2,time