Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.03e-05, allocations: 5.406 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09331, allocations: 44.51 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5215, allocations: 77.57 MB / 377.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5218, allocations: 63.39 kB / 377.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0843/0.6061, allocations: 26.97 MB / 404.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6062, allocations: 0 / 404.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.6062, allocations: 3.875 kB / 404.6 MB, free: 9.406 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.000589/0.6068, allocations: 0.6121 MB / 405.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.6068, allocations: 11.38 kB / 405.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.6069, allocations: 41.86 kB / 405.2 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.607, allocations: 42.75 kB / 405.3 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.6073, allocations: 258 kB / 405.5 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.6074, allocations: 11.31 kB / 405.5 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.6075, allocations: 7.75 kB / 405.5 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.6078, allocations: 143.8 kB / 405.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.6079, allocations: 0 / 405.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.6079, allocations: 3.875 kB / 405.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6079, allocations: 0 / 405.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.6081, allocations: 71.5 kB / 405.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.609, allocations: 481.5 kB / 406.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.6092, allocations: 99.02 kB / 406.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.6094, allocations: 90.73 kB / 406.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.6095, allocations: 7.812 kB / 406.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.6098, allocations: 216.5 kB / 406.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.946e-06/0.6098, allocations: 4 kB / 406.6 MB, free: 7.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009225/0.6108, allocations: 438.7 kB / 407.1 MB, free: 7.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.6109, allocations: 161.6 kB / 407.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007924/0.6117, allocations: 465.4 kB / 407.7 MB, free: 7.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.6117, allocations: 32.83 kB / 407.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.6118, allocations: 162.6 kB / 407.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.6119, allocations: 30.89 kB / 407.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.6119, allocations: 3.875 kB / 407.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.612, allocations: 321.9 kB / 408.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.6122, allocations: 64.47 kB / 408.3 MB, free: 6.703 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.6124, allocations: 61.58 kB / 408.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.6126, allocations: 174.9 kB / 408.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6126, allocations: 0 / 408.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007602/0.6134, allocations: 400.5 kB / 408.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/0.6135, allocations: 130.9 kB / 409 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6135, allocations: 112 / 409 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6135, allocations: 3.938 kB / 409 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.6136, allocations: 1.25 kB / 409 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.6136, allocations: 5.25 kB / 409 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.6138, allocations: 14.08 kB / 409 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.614, allocations: 117.8 kB / 409.2 MB, free: 6.207 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.0001938/0.6142, allocations: 250.1 kB / 409.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.6143, allocations: 38.88 kB / 409.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.6145, allocations: 66.3 kB / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6145, allocations: 3.984 kB / 409.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6145, allocations: 0 / 409.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6146, allocations: 4 kB / 409.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6158, allocations: 0.8372 MB / 410.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6158, allocations: 0 / 410.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.6159, allocations: 0 / 410.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.6159, allocations: 3.969 kB / 410.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.6159, allocations: 22.7 kB / 410.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.6159, allocations: 0 / 410.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.616, allocations: 0 / 410.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008737/0.6168, allocations: 0.5589 MB / 410.9 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.6173, allocations: 252.9 kB / 411.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.6174, allocations: 15.17 kB / 411.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.6177, allocations: 11.78 kB / 411.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.6179, allocations: 39.08 kB / 411.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.618, allocations: 119.8 kB / 411.4 MB, free: 4.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006088/0.6187, allocations: 391 kB / 411.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6187, allocations: 0 / 411.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.6191, allocations: 46.06 kB / 411.8 MB, free: 4.617 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.001159/0.6203, allocations: 1.109 MB / 412.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007502/0.6211, allocations: 441 kB / 413.3 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6211, allocations: 3.938 kB / 413.3 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.6215, allocations: 383.4 kB / 413.7 MB, free: 19.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.6223, allocations: 100.4 kB / 413.8 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.624, allocations: 0.6603 MB / 414.5 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.6246, allocations: 0.8067 MB / 415.3 MB, free: 18.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.6246, allocations: 25.67 kB / 415.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6247, allocations: 0 / 415.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/3.182, allocations: 4.329 MB / 419.6 MB, free: 15.89 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.BUF3S_res.mat does not exist to compare? outputFormat=mat