Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.971e-05, allocations: 8 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09182, allocations: 44.52 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4867, allocations: 77.56 MB / 377.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.487, allocations: 69.3 kB / 377.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08414/0.5712, allocations: 26.96 MB / 404.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5712, allocations: 0 / 404.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.5713, allocations: 3.875 kB / 404.6 MB, free: 9.324 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.0005937/0.5719, allocations: 0.6185 MB / 405.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5719, allocations: 7.75 kB / 405.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.572, allocations: 46.17 kB / 405.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.5721, allocations: 35.16 kB / 405.3 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5724, allocations: 261.6 kB / 405.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.5725, allocations: 7.75 kB / 405.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.5725, allocations: 11.72 kB / 405.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.5729, allocations: 142.6 kB / 405.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5729, allocations: 4 kB / 405.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.573, allocations: 7.625 kB / 405.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.573, allocations: 3.969 kB / 405.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.5732, allocations: 57.95 kB / 405.7 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009011/0.5741, allocations: 479.2 kB / 406.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.5744, allocations: 107.4 kB / 406.3 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.5746, allocations: 82.38 kB / 406.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.5746, allocations: 7.562 kB / 406.4 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/0.575, allocations: 219.9 kB / 406.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.298e-06/0.575, allocations: 0 / 406.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009148/0.5759, allocations: 434.1 kB / 407 MB, free: 7.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.576, allocations: 173.9 kB / 407.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.5769, allocations: 467.8 kB / 407.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.5769, allocations: 29.52 kB / 407.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.577, allocations: 99.28 kB / 407.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.5771, allocations: 34.44 kB / 407.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.5771, allocations: 0 / 407.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.5772, allocations: 329.7 kB / 408.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.5774, allocations: 64.72 kB / 408.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.5776, allocations: 61.42 kB / 408.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.5778, allocations: 175.4 kB / 408.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5778, allocations: 0 / 408.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007816/0.5786, allocations: 407.3 kB / 408.8 MB, free: 6.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.524e-05/0.5787, allocations: 125.3 kB / 409 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5787, allocations: 112 / 409 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5787, allocations: 3.938 kB / 409 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-05/0.5788, allocations: 3.938 kB / 409 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5788, allocations: 0 / 409 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.579, allocations: 11.69 kB / 409 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5792, allocations: 127.7 kB / 409.1 MB, free: 6.184 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.0001945/0.5794, allocations: 251.8 kB / 409.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.5795, allocations: 35 kB / 409.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.5797, allocations: 66.36 kB / 409.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5797, allocations: 0 / 409.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5797, allocations: 3.875 kB / 409.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5798, allocations: 3.984 kB / 409.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.5811, allocations: 0.8343 MB / 410.3 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5811, allocations: 11.84 kB / 410.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.5811, allocations: 0 / 410.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.5811, allocations: 0 / 410.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.5812, allocations: 23.39 kB / 410.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5812, allocations: 0 / 410.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5812, allocations: 0 / 410.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.5821, allocations: 0.5534 MB / 410.9 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.5826, allocations: 256.8 kB / 411.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.5827, allocations: 11.53 kB / 411.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.583, allocations: 15.77 kB / 411.2 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.5831, allocations: 34.39 kB / 411.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.5833, allocations: 124.3 kB / 411.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005984/0.5839, allocations: 379.3 kB / 411.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5839, allocations: 0 / 411.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.5843, allocations: 41.53 kB / 411.7 MB, free: 4.602 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.001202/0.5856, allocations: 1.122 MB / 412.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007876/0.5864, allocations: 449.2 kB / 413.3 MB, free: 19.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5864, allocations: 0 / 413.3 MB, free: 19.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.5868, allocations: 377.3 kB / 413.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.5877, allocations: 106.7 kB / 413.8 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.5894, allocations: 0.6148 MB / 414.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.59, allocations: 0.8096 MB / 415.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.5901, allocations: 4.453 kB / 415.2 MB, free: 18.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.5901, allocations: 29.73 kB / 415.2 MB, free: 18.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5902, allocations: 0 / 415.2 MB, free: 18.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.6203, allocations: 6.889 MB / 422.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003155/0.6207, allocations: 148.4 kB / 422.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.037, allocations: 0 / 422.3 MB, free: 14.34 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S_res.mat does not exist to compare? outputFormat=mat