Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.225/2.225, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.385e-05, allocations: 4 kB / 292.7 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 50.42 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.5794, allocations: 82.67 MB / 425.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5797, allocations: 68.97 kB / 425.9 MB, free: 7.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09134/0.6711, allocations: 28.18 MB / 454.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6711, allocations: 4 kB / 454.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6711, allocations: 8 kB / 454.1 MB, free: 13.9 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.0008176/0.672, allocations: 0.6836 MB / 454.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.672, allocations: 8.031 kB / 454.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/0.6721, allocations: 41.98 kB / 454.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.6722, allocations: 43.53 kB / 454.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.6727, allocations: 267.4 kB / 455.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.6727, allocations: 14.92 kB / 455.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.6728, allocations: 11.95 kB / 455.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.6733, allocations: 166.3 kB / 455.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6733, allocations: 0 / 455.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.6733, allocations: 7.25 kB / 455.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6734, allocations: 4 kB / 455.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.6736, allocations: 87.22 kB / 455.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6747, allocations: 0.4954 MB / 455.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.675, allocations: 119.7 kB / 456 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.6753, allocations: 104.8 kB / 456.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.6753, allocations: 0 / 456.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.6758, allocations: 241.3 kB / 456.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 4.869e-06/0.6758, allocations: 4 kB / 456.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001155/0.677, allocations: 0.4933 MB / 456.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.6771, allocations: 201.7 kB / 457 MB, free: 10.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.6782, allocations: 0.4921 MB / 457.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.6783, allocations: 29.7 kB / 457.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.6784, allocations: 113.9 kB / 457.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.6785, allocations: 30.95 kB / 457.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.6785, allocations: 7.984 kB / 457.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6787, allocations: 333.6 kB / 458 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.6789, allocations: 85.34 kB / 458.1 MB, free: 10 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.6792, allocations: 77.36 kB / 458.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.6795, allocations: 209.7 kB / 458.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6795, allocations: 0 / 458.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001029/0.6805, allocations: 487.2 kB / 458.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.6807, allocations: 147.8 kB / 459 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6807, allocations: 80 / 459 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.6807, allocations: 0 / 459 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.887e-05/0.6808, allocations: 4 kB / 459 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6808, allocations: 3.984 kB / 459 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.6811, allocations: 27.3 kB / 459.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.6813, allocations: 109.2 kB / 459.2 MB, free: 8.969 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.0002656/0.6816, allocations: 269.9 kB / 459.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.6817, allocations: 47.47 kB / 459.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.6819, allocations: 70.73 kB / 459.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.682, allocations: 0 / 459.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.682, allocations: 0 / 459.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.682, allocations: 0 / 459.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.6836, allocations: 0.9304 MB / 460.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6837, allocations: 4.062 kB / 460.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.6837, allocations: 4 kB / 460.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.6837, allocations: 0 / 460.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.6838, allocations: 19.98 kB / 460.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6838, allocations: 0 / 460.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6838, allocations: 0 / 460.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.685, allocations: 0.6397 MB / 461.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.6856, allocations: 260.8 kB / 461.4 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6857, allocations: 11.56 kB / 461.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.686, allocations: 12 kB / 461.4 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.6863, allocations: 61.17 kB / 461.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.6865, allocations: 97.23 kB / 461.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008274/0.6873, allocations: 420.1 kB / 462 MB, free: 6.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6873, allocations: 0 / 462 MB, free: 6.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.6878, allocations: 48 kB / 462 MB, free: 6.258 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.001583/0.6894, allocations: 1.192 MB / 463.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008491/0.6903, allocations: 0.5233 MB / 463.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6903, allocations: 0 / 463.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.6909, allocations: 462.5 kB / 464.2 MB, free: 4.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6921, allocations: 161.2 kB / 464.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.6941, allocations: 0.6895 MB / 465 MB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.6948, allocations: 0.8247 MB / 465.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.6949, allocations: 17.02 kB / 465.9 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.695, allocations: 46.8 kB / 465.9 MB, free: 2.512 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.695, allocations: 0 / 465.9 MB, free: 2.512 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.729, allocations: 8.288 MB / 474.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.7294, allocations: 151 kB / 474.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.229, allocations: 0 / 474.4 MB, free: 9.969 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat does not exist to compare? outputFormat=mat