Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.126e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.532, allocations: 77.56 MB / 377.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5324, allocations: 68.47 kB / 377.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1275/0.6599, allocations: 27.77 MB / 405.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6599, allocations: 1.219 kB / 405.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.66, allocations: 3.844 kB / 405.4 MB, free: 9.047 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.0006238/0.6606, allocations: 0.6822 MB / 406.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6607, allocations: 11.69 kB / 406.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.6607, allocations: 41.64 kB / 406.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.6608, allocations: 51.05 kB / 406.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.6612, allocations: 268.5 kB / 406.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.6612, allocations: 11.16 kB / 406.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.6613, allocations: 7.75 kB / 406.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.6617, allocations: 168.8 kB / 406.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.6617, allocations: 4 kB / 406.6 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.6617, allocations: 3.938 kB / 406.6 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6617, allocations: 3.75 kB / 406.6 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.662, allocations: 92.55 kB / 406.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/0.6628, allocations: 0.4909 MB / 407.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.6631, allocations: 125.1 kB / 407.3 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.6633, allocations: 104.6 kB / 407.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.6633, allocations: 0 / 407.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.6637, allocations: 249.8 kB / 407.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.6637, allocations: 0 / 407.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000918/0.6646, allocations: 0.4948 MB / 408.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.6647, allocations: 199.2 kB / 408.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.6655, allocations: 0.4889 MB / 408.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.6656, allocations: 33.45 kB / 408.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.6656, allocations: 116.4 kB / 409 MB, free: 6.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.6657, allocations: 27.31 kB / 409 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.6657, allocations: 3.906 kB / 409 MB, free: 6.586 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.6658, allocations: 329.5 kB / 409.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.6661, allocations: 83.66 kB / 409.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.6663, allocations: 83.05 kB / 409.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.6665, allocations: 211.5 kB / 409.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.6665, allocations: 0 / 409.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007974/0.6673, allocations: 487.7 kB / 410.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.6674, allocations: 155.9 kB / 410.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6674, allocations: 0 / 410.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6675, allocations: 0 / 410.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.6675, allocations: 3.812 kB / 410.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.6675, allocations: 0 / 410.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.6678, allocations: 23.39 kB / 410.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6679, allocations: 106.5 kB / 410.5 MB, free: 5.652 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.0001782/0.6681, allocations: 265 kB / 410.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.6682, allocations: 42.86 kB / 410.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.6683, allocations: 73.5 kB / 410.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6684, allocations: 3.875 kB / 410.9 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6684, allocations: 3.938 kB / 410.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6684, allocations: 0 / 410.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.6697, allocations: 0.9284 MB / 411.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6697, allocations: 4 kB / 411.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.6697, allocations: 3.438 kB / 411.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6697, allocations: 3.953 kB / 411.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.6698, allocations: 19.77 kB / 411.8 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6698, allocations: 7.938 kB / 411.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6698, allocations: 0 / 411.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.6707, allocations: 0.6268 MB / 412.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.6712, allocations: 260 kB / 412.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/0.6713, allocations: 18.95 kB / 412.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.6716, allocations: 15.66 kB / 412.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.6718, allocations: 57.77 kB / 412.8 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6719, allocations: 102.4 kB / 412.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006395/0.6726, allocations: 418.6 kB / 413.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6726, allocations: 0 / 413.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.673, allocations: 50.06 kB / 413.4 MB, free: 3.949 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.001311/0.6744, allocations: 1.182 MB / 414.5 MB, free: 19.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.6751, allocations: 0.5338 MB / 415.1 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6751, allocations: 0 / 415.1 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.6756, allocations: 458.2 kB / 415.5 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6768, allocations: 167.3 kB / 415.7 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.6786, allocations: 0.694 MB / 416.4 MB, free: 18.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.6792, allocations: 0.8227 MB / 417.2 MB, free: 17.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.257e-05/0.6793, allocations: 16.28 kB / 417.2 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.6794, allocations: 40.27 kB / 417.2 MB, free: 17.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.6794, allocations: 0 / 417.2 MB, free: 17.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.7126, allocations: 8.297 MB / 425.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.7129, allocations: 147.3 kB / 425.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.388, allocations: 0 / 425.7 MB, free: 12.72 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat does not exist to compare? outputFormat=mat