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.689/1.689, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.172e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.3814, allocations: 71.59 MB / 329.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.3818, allocations: 75.95 kB / 330 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09705/0.4789, allocations: 27.23 MB / 357.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.479, allocations: 0 / 357.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.479, allocations: 4 kB / 357.2 MB, free: 10.93 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.0007944/0.4798, allocations: 0.6213 MB / 357.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4799, allocations: 11.97 kB / 357.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.48, allocations: 43.53 kB / 357.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.4804, allocations: 255.7 kB / 358.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4804, allocations: 4 kB / 358.2 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.4805, allocations: 8 kB / 358.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002042/0.4807, allocations: 55.98 kB / 358.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.4811, allocations: 145.5 kB / 358.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4811, allocations: 0 / 358.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.4811, allocations: 4 kB / 358.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4811, allocations: 0 / 358.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009503/0.4821, allocations: 449.2 kB / 358.8 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.4824, allocations: 98.48 kB / 358.9 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.4826, allocations: 88.89 kB / 359 MB, free: 9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4826, allocations: 3.953 kB / 359 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003817/0.483, allocations: 219.3 kB / 359.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.483, allocations: 0 / 359.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000884/0.4839, allocations: 313.1 kB / 359.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.484, allocations: 170.2 kB / 359.7 MB, free: 8.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.4848, allocations: 456.8 kB / 360.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.4849, allocations: 29.7 kB / 360.2 MB, free: 7.758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.485, allocations: 101.3 kB / 360.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.4851, allocations: 35.69 kB / 360.3 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.4851, allocations: 8 kB / 360.3 MB, free: 7.613 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4853, allocations: 318.8 kB / 360.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4854, allocations: 55.98 kB / 360.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4856, allocations: 67.97 kB / 360.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.4858, allocations: 49.23 kB / 360.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4858, allocations: 0 / 360.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007319/0.4865, allocations: 277.4 kB / 361.1 MB, free: 6.848 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4867, allocations: 130.7 kB / 361.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4867, allocations: 0 / 361.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4867, allocations: 0 / 361.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.223e-05/0.4867, allocations: 4 kB / 361.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4867, allocations: 0 / 361.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.487, allocations: 19.89 kB / 361.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.4872, allocations: 123.7 kB / 361.3 MB, free: 6.551 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.0002251/0.4874, allocations: 233.5 kB / 361.6 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008154/0.4883, allocations: 337.1 kB / 361.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.4884, allocations: 43.48 kB / 361.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.4885, allocations: 59.44 kB / 362 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4886, allocations: 0 / 362 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4886, allocations: 0 / 362 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4886, allocations: 0 / 362 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.4898, allocations: 0.6901 MB / 362.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4899, allocations: 0 / 362.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.4899, allocations: 4 kB / 362.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4899, allocations: 0 / 362.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.49, allocations: 27.97 kB / 362.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.49, allocations: 0 / 362.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.49, allocations: 0 / 362.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008553/0.4909, allocations: 427 kB / 363.1 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.4914, allocations: 260.3 kB / 363.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4915, allocations: 12 kB / 363.4 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.4918, allocations: 11.98 kB / 363.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.492, allocations: 31.97 kB / 363.4 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/0.4922, allocations: 120 kB / 363.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006676/0.4929, allocations: 370.7 kB / 363.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4929, allocations: 0 / 363.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.4933, allocations: 40 kB / 364 MB, free: 3.801 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.001256/0.4946, allocations: 0.9968 MB / 364.9 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.4953, allocations: 429.5 kB / 365.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4953, allocations: 0 / 365.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.4958, allocations: 369.6 kB / 365.7 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.4966, allocations: 115.2 kB / 365.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4983, allocations: 0.5983 MB / 366.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.4989, allocations: 0.8101 MB / 367.2 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.499, allocations: 8.656 kB / 367.3 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.4991, allocations: 31.42 kB / 367.3 MB, free: 288 kB / 314.7 MB Notification: Performance of SimCode: time 2.555e-06/0.4991, allocations: 3.938 kB / 367.3 MB, free: 284 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2854/0.7845, allocations: 6.469 MB / 373.8 MB, free: 90.98 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.7848, allocations: 131.6 kB / 373.9 MB, free: 90.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.158, allocations: 7.938 kB / 373.9 MB, free: 90.79 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