Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.107e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5073, allocations: 81.8 MB / 398.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.5075, allocations: 63.03 kB / 398.9 MB, free: 5.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09791/0.6055, allocations: 27.82 MB / 426.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6055, allocations: 0 / 426.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.6055, allocations: 4 kB / 426.7 MB, free: 14.77 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.0007934/0.6063, allocations: 0.6847 MB / 427.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.6064, allocations: 8.031 kB / 427.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.233e-05/0.6065, allocations: 46.48 kB / 427.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.6066, allocations: 43.53 kB / 427.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6071, allocations: 267.5 kB / 427.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.6071, allocations: 15.92 kB / 427.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.6072, allocations: 8 kB / 427.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.6076, allocations: 164.3 kB / 427.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.6076, allocations: 0 / 427.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.6077, allocations: 7.75 kB / 427.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.6077, allocations: 4 kB / 427.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.6079, allocations: 81.09 kB / 428 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.6091, allocations: 0.5025 MB / 428.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.6094, allocations: 114.1 kB / 428.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.6096, allocations: 108.1 kB / 428.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.6097, allocations: 4 kB / 428.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004918/0.6102, allocations: 245.7 kB / 429 MB, free: 12.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.296e-06/0.6102, allocations: 0 / 429 MB, free: 12.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001159/0.6114, allocations: 0.5046 MB / 429.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.6115, allocations: 198.7 kB / 429.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6126, allocations: 0.4935 MB / 430.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.6127, allocations: 29.7 kB / 430.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.6128, allocations: 119.4 kB / 430.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.6129, allocations: 38.97 kB / 430.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.6129, allocations: 7.688 kB / 430.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6131, allocations: 325.6 kB / 430.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.6133, allocations: 81.09 kB / 430.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.6136, allocations: 77.61 kB / 430.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.6139, allocations: 209.5 kB / 431 MB, free: 10.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6139, allocations: 0 / 431 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009856/0.6149, allocations: 481 kB / 431.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.615, allocations: 159.7 kB / 431.7 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6151, allocations: 3.938 kB / 431.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6151, allocations: 0 / 431.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.138e-05/0.6151, allocations: 7.938 kB / 431.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6151, allocations: 4.062 kB / 431.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.6154, allocations: 19.92 kB / 431.7 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.6156, allocations: 97.3 kB / 431.8 MB, free: 9.809 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.0002594/0.6159, allocations: 270.1 kB / 432.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.616, allocations: 43.53 kB / 432.1 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.6162, allocations: 70.81 kB / 432.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6162, allocations: 0 / 432.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6162, allocations: 0 / 432.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6163, allocations: 3.953 kB / 432.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.6179, allocations: 0.9342 MB / 433.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6179, allocations: 0 / 433.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/0.618, allocations: 3.938 kB / 433.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.618, allocations: 0 / 433.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.618, allocations: 27.17 kB / 433.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.618, allocations: 0 / 433.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.6181, allocations: 3.953 kB / 433.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6192, allocations: 0.6222 MB / 433.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.6198, allocations: 262.3 kB / 434 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6199, allocations: 11.69 kB / 434 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.6202, allocations: 12 kB / 434 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.6204, allocations: 61.56 kB / 434.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.6206, allocations: 105.4 kB / 434.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008342/0.6215, allocations: 420.1 kB / 434.6 MB, free: 7.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6215, allocations: 3.938 kB / 434.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004644/0.622, allocations: 51.12 kB / 434.7 MB, free: 7.082 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.001634/0.6236, allocations: 1.189 MB / 435.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009156/0.6246, allocations: 0.5236 MB / 436.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6246, allocations: 3.938 kB / 436.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.6252, allocations: 455.3 kB / 436.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6264, allocations: 157.9 kB / 437 MB, free: 4.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.6285, allocations: 0.6983 MB / 437.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.6292, allocations: 0.8255 MB / 438.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.6293, allocations: 12.48 kB / 438.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.6294, allocations: 42.05 kB / 438.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6294, allocations: 0 / 438.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.6628, allocations: 8.304 MB / 446.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000535/0.6634, allocations: 148.1 kB / 447 MB, free: 10.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.079, allocations: 0 / 447 MB, free: 10.7 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat does not exist to compare? outputFormat=mat