Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.752/1.752, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/3.009e-05, allocations: 4 kB / 225.1 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2552, allocations: 38.78 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.3817, allocations: 72.25 MB / 336.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.382, allocations: 63.97 kB / 336.2 MB, free: 1.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1034/0.4854, allocations: 28.26 MB / 364.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4855, allocations: 0 / 364.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.4855, allocations: 4 kB / 364.4 MB, free: 5.172 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.0008635/0.4864, allocations: 0.6815 MB / 365.1 MB, free: 4.414 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4864, allocations: 8.031 kB / 365.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.4865, allocations: 34.56 kB / 365.1 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.4866, allocations: 51.44 kB / 365.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4871, allocations: 281.3 kB / 365.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.4872, allocations: 8 kB / 365.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.4872, allocations: 8 kB / 365.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.4877, allocations: 161.6 kB / 365.6 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4877, allocations: 0 / 365.6 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.4877, allocations: 7.984 kB / 365.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4878, allocations: 4 kB / 365.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.488, allocations: 83.86 kB / 365.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.4891, allocations: 0.4927 MB / 366.2 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.4894, allocations: 122.5 kB / 366.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.4897, allocations: 108.9 kB / 366.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.4897, allocations: 4 kB / 366.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.4902, allocations: 242.7 kB / 366.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.4902, allocations: 0 / 366.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.00114/0.4913, allocations: 0.5053 MB / 367.2 MB, free: 2.133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.4915, allocations: 199.9 kB / 367.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4925, allocations: 0.491 MB / 367.9 MB, free: 1.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.4926, allocations: 29.7 kB / 367.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4927, allocations: 121.1 kB / 368 MB, free: 1.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.4928, allocations: 27.77 kB / 368.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.4928, allocations: 4 kB / 368.1 MB, free: 1.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.493, allocations: 334.8 kB / 368.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.4932, allocations: 79.92 kB / 368.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.4935, allocations: 83.97 kB / 368.6 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.4938, allocations: 208.5 kB / 368.8 MB, free: 492 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4938, allocations: 0 / 368.8 MB, free: 492 kB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.2257/0.7195, allocations: 480.6 kB / 369.2 MB, free: 89.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.7197, allocations: 151.4 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7197, allocations: 6.359 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.7198, allocations: 1.031 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.832e-05/0.7198, allocations: 1.109 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7199, allocations: 0.875 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.7202, allocations: 20.81 kB / 369.4 MB, free: 89.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.7204, allocations: 96.02 kB / 369.5 MB, free: 89.7 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.0002505/0.7207, allocations: 273.3 kB / 369.8 MB, free: 89.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.7208, allocations: 46.81 kB / 369.8 MB, free: 89.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.7211, allocations: 71.03 kB / 369.9 MB, free: 89.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7211, allocations: 1.25 kB / 369.9 MB, free: 89.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7211, allocations: 4.312 kB / 369.9 MB, free: 89.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7211, allocations: 2.781 kB / 369.9 MB, free: 89.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.7229, allocations: 0.924 MB / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7229, allocations: 3.625 kB / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.723, allocations: 5.297 kB / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.723, allocations: 0.5625 kB / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.723, allocations: 22.75 kB / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7231, allocations: 0 / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7231, allocations: 1.141 kB / 370.8 MB, free: 88.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.7242, allocations: 0.6295 MB / 371.5 MB, free: 88.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.7248, allocations: 260.9 kB / 371.7 MB, free: 88.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.7249, allocations: 11.98 kB / 371.7 MB, free: 88.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.7252, allocations: 23.72 kB / 371.8 MB, free: 88.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.7255, allocations: 51.59 kB / 371.8 MB, free: 88.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.7256, allocations: 106.5 kB / 371.9 MB, free: 88.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006792/0.7263, allocations: 415.3 kB / 372.3 MB, free: 88.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7263, allocations: 0 / 372.3 MB, free: 88.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.7267, allocations: 47.22 kB / 372.4 MB, free: 88.34 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.001199/0.7279, allocations: 1.198 MB / 373.6 MB, free: 87.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.7286, allocations: 0.5261 MB / 374.1 MB, free: 87.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7287, allocations: 0 / 374.1 MB, free: 87.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.7291, allocations: 464.7 kB / 374.5 MB, free: 86.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7302, allocations: 155.8 kB / 374.7 MB, free: 86.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.7318, allocations: 0.6945 MB / 375.4 MB, free: 86.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.7323, allocations: 0.8297 MB / 376.2 MB, free: 85.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.812e-05/0.7323, allocations: 11.8 kB / 376.2 MB, free: 85.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.7324, allocations: 42.78 kB / 376.3 MB, free: 85.87 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7324, allocations: 1.875 kB / 376.3 MB, free: 85.87 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.7703, allocations: 8.299 MB / 384.6 MB, free: 84.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.7706, allocations: 152.9 kB / 384.7 MB, free: 84.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.313, allocations: 64 / 384.7 MB, free: 84.02 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat does not exist to compare? outputFormat=mat