Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.607e-05, allocations: 7.984 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2508, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.3964, allocations: 72.25 MB / 336.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.3967, allocations: 71.95 kB / 336.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1006/0.4973, allocations: 27.45 MB / 363.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4974, allocations: 4 kB / 363.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.4974, allocations: 4 kB / 363.7 MB, free: 5.902 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007523/0.4982, allocations: 0.6214 MB / 364.3 MB, free: 5.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4982, allocations: 8.031 kB / 364.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.4983, allocations: 38.55 kB / 364.3 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4984, allocations: 43.53 kB / 364.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.4988, allocations: 253.5 kB / 364.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4989, allocations: 4 kB / 364.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.4989, allocations: 8 kB / 364.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.4994, allocations: 149.6 kB / 364.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4994, allocations: 3.953 kB / 364.8 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.4994, allocations: 4 kB / 364.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4994, allocations: 0 / 364.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.4997, allocations: 63.98 kB / 364.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009306/0.5006, allocations: 480.6 kB / 365.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5009, allocations: 106.5 kB / 365.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.5011, allocations: 84.91 kB / 365.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5012, allocations: 0 / 365.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/0.5016, allocations: 230.6 kB / 365.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.5016, allocations: 0 / 365.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009951/0.5026, allocations: 431.9 kB / 366.1 MB, free: 3.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5027, allocations: 170.2 kB / 366.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.5036, allocations: 466.7 kB / 366.8 MB, free: 2.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.5037, allocations: 33.64 kB / 366.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.5037, allocations: 101 kB / 366.9 MB, free: 2.363 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.5038, allocations: 31.59 kB / 366.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.5039, allocations: 4 kB / 366.9 MB, free: 2.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.504, allocations: 322.8 kB / 367.2 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5042, allocations: 67.97 kB / 367.3 MB, free: 1.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.5044, allocations: 67.97 kB / 367.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.5047, allocations: 170.8 kB / 367.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5047, allocations: 0 / 367.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008667/0.5056, allocations: 404.2 kB / 367.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.5057, allocations: 130.8 kB / 368.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5057, allocations: 0 / 368.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5057, allocations: 0 / 368.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.5058, allocations: 0 / 368.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.5058, allocations: 3.938 kB / 368.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.506, allocations: 19.84 kB / 368.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.5062, allocations: 123.7 kB / 368.2 MB, free: 0.957 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: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.00023/0.5065, allocations: 241.5 kB / 368.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.5066, allocations: 39.58 kB / 368.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.5067, allocations: 63.44 kB / 368.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.5068, allocations: 7.984 kB / 368.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5068, allocations: 0 / 368.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5068, allocations: 0 / 368.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2107/0.7174, allocations: 0.8364 MB / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7175, allocations: 0.5625 kB / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.7175, allocations: 2.062 kB / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.7175, allocations: 0.5 kB / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.7176, allocations: 22.77 kB / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.7176, allocations: 0.5625 kB / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7177, allocations: 0 / 369.4 MB, free: 90.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.7189, allocations: 0.5475 MB / 370 MB, free: 89.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.7195, allocations: 256.3 kB / 370.2 MB, free: 89.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.7196, allocations: 14.69 kB / 370.2 MB, free: 89.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.7199, allocations: 13.86 kB / 370.2 MB, free: 89.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.7201, allocations: 32.67 kB / 370.3 MB, free: 89.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/0.7204, allocations: 118.8 kB / 370.4 MB, free: 89.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007327/0.7212, allocations: 387.5 kB / 370.8 MB, free: 89.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7212, allocations: 1.094 kB / 370.8 MB, free: 89.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000446/0.7216, allocations: 41.97 kB / 370.8 MB, free: 89.53 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.001191/0.7228, allocations: 1.127 MB / 371.9 MB, free: 88.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.7235, allocations: 439.9 kB / 372.4 MB, free: 88.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7235, allocations: 0 / 372.4 MB, free: 88.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.7239, allocations: 388.1 kB / 372.8 MB, free: 88.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.7247, allocations: 95.62 kB / 372.8 MB, free: 88.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.7262, allocations: 0.6125 MB / 373.5 MB, free: 87.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.7266, allocations: 0.809 MB / 374.3 MB, free: 87.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.7267, allocations: 4.641 kB / 374.3 MB, free: 87.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.7267, allocations: 32.77 kB / 374.3 MB, free: 87.22 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7267, allocations: 0 / 374.3 MB, free: 87.22 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.7526, allocations: 6.906 MB / 381.2 MB, free: 86.49 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.7529, allocations: 142.7 kB / 381.3 MB, free: 86.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.196, allocations: 0 / 381.3 MB, free: 86.27 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S_res.mat does not exist to compare? outputFormat=mat