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 2.045/2.045, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.037e-05, allocations: 4 kB / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5095, allocations: 77.55 MB / 377.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5098, allocations: 70.14 kB / 377.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08522/0.595, allocations: 27.77 MB / 405.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5951, allocations: 0 / 405.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.5951, allocations: 7.875 kB / 405.4 MB, free: 9.402 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.0006145/0.5957, allocations: 0.6763 MB / 406 MB, free: 8.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5958, allocations: 15.02 kB / 406.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.5959, allocations: 38.12 kB / 406.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.596, allocations: 46.17 kB / 406.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.5963, allocations: 273 kB / 406.4 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.5964, allocations: 15.03 kB / 406.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.5964, allocations: 7.75 kB / 406.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.5968, allocations: 166 kB / 406.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5968, allocations: 0 / 406.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.5969, allocations: 3.875 kB / 406.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.5969, allocations: 0 / 406.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.5971, allocations: 91.05 kB / 406.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.598, allocations: 0.494 MB / 407.2 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.5983, allocations: 129.2 kB / 407.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.5985, allocations: 109.2 kB / 407.4 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.5985, allocations: 3.906 kB / 407.4 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.5989, allocations: 246.8 kB / 407.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.5989, allocations: 0 / 407.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009418/0.5998, allocations: 0.4945 MB / 408.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.5999, allocations: 202.5 kB / 408.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.6007, allocations: 495.5 kB / 408.8 MB, free: 7.082 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.6008, allocations: 29.55 kB / 408.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.6009, allocations: 120.4 kB / 409 MB, free: 6.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.6009, allocations: 27.06 kB / 409 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.601, allocations: 7.906 kB / 409 MB, free: 6.941 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.601, allocations: 325.1 kB / 409.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.6013, allocations: 90.22 kB / 409.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.6015, allocations: 81.28 kB / 409.5 MB, free: 6.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.6017, allocations: 211.1 kB / 409.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6017, allocations: 0 / 409.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008024/0.6025, allocations: 483 kB / 410.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.6026, allocations: 155.4 kB / 410.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6026, allocations: 0 / 410.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6027, allocations: 3.844 kB / 410.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.087e-05/0.6027, allocations: 7.984 kB / 410.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6027, allocations: 0 / 410.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.603, allocations: 15.66 kB / 410.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.6031, allocations: 101.8 kB / 410.5 MB, free: 6.016 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.000194/0.6033, allocations: 272.9 kB / 410.7 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.6034, allocations: 42.97 kB / 410.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.6036, allocations: 77.12 kB / 410.8 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6036, allocations: 4 kB / 410.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6036, allocations: 0 / 410.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6036, allocations: 0 / 410.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.6049, allocations: 0.9272 MB / 411.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6049, allocations: 0 / 411.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-06/0.6049, allocations: 0 / 411.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.605, allocations: 11.88 kB / 411.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.605, allocations: 23.23 kB / 411.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.605, allocations: 0 / 411.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.605, allocations: 3.984 kB / 411.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.606, allocations: 0.6217 MB / 412.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.6064, allocations: 264.5 kB / 412.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.6065, allocations: 14.73 kB / 412.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.6069, allocations: 15.64 kB / 412.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.6071, allocations: 52.22 kB / 412.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6073, allocations: 105.9 kB / 412.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006567/0.6079, allocations: 424.5 kB / 413.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.608, allocations: 0 / 413.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.6084, allocations: 50.28 kB / 413.3 MB, free: 4.309 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.001174/0.6095, allocations: 1.187 MB / 414.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.6102, allocations: 0.5285 MB / 415 MB, free: 3.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6102, allocations: 4 kB / 415.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.6108, allocations: 463 kB / 415.5 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6119, allocations: 160.3 kB / 415.7 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.6136, allocations: 0.694 MB / 416.4 MB, free: 18.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.6142, allocations: 0.8291 MB / 417.2 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.817e-05/0.6143, allocations: 12.23 kB / 417.2 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.6144, allocations: 39.8 kB / 417.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6144, allocations: 0 / 417.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.6501, allocations: 8.297 MB / 425.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.6505, allocations: 149.4 kB / 425.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.278, allocations: 4 kB / 425.7 MB, free: 13.07 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