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.923/1.923, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.129e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09424, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5223, allocations: 77.57 MB / 377.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5226, allocations: 66.67 kB / 377.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09279/0.6154, allocations: 26.96 MB / 404.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6155, allocations: 1.25 kB / 404.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.6155, allocations: 3.781 kB / 404.6 MB, free: 9.234 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.0007742/0.6163, allocations: 0.6205 MB / 405.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6164, allocations: 7.719 kB / 405.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.621e-05/0.6165, allocations: 42.33 kB / 405.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.6166, allocations: 38.56 kB / 405.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.6171, allocations: 264.8 kB / 405.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.6171, allocations: 3.875 kB / 405.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.6172, allocations: 10.62 kB / 405.6 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.6177, allocations: 146.8 kB / 405.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6177, allocations: 0 / 405.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.6178, allocations: 7.891 kB / 405.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6178, allocations: 0 / 405.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.6181, allocations: 64.53 kB / 405.8 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.6192, allocations: 482 kB / 406.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.6195, allocations: 97.17 kB / 406.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.6198, allocations: 88.2 kB / 406.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.6198, allocations: 3.875 kB / 406.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004621/0.6203, allocations: 225.1 kB / 406.6 MB, free: 7.691 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.925e-06/0.6203, allocations: 3.938 kB / 406.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001218/0.6216, allocations: 434.4 kB / 407.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.6217, allocations: 165.6 kB / 407.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.6227, allocations: 463.9 kB / 407.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.6228, allocations: 32.89 kB / 407.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.6229, allocations: 98.03 kB / 407.8 MB, free: 6.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.623, allocations: 37.94 kB / 407.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.623, allocations: 3.938 kB / 407.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.6231, allocations: 329.1 kB / 408.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.6234, allocations: 65.53 kB / 408.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.6237, allocations: 60.58 kB / 408.3 MB, free: 6.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.624, allocations: 169.1 kB / 408.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.624, allocations: 3.844 kB / 408.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001062/0.6251, allocations: 402.2 kB / 408.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.6252, allocations: 130.2 kB / 409 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6252, allocations: 112 / 409 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6252, allocations: 7.938 kB / 409 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.6253, allocations: 3.938 kB / 409 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6253, allocations: 3.906 kB / 409 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.6256, allocations: 11.73 kB / 409 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.6259, allocations: 116.2 kB / 409.1 MB, free: 6.094 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.0002553/0.6261, allocations: 248.6 kB / 409.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6262, allocations: 35.06 kB / 409.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.6265, allocations: 66.45 kB / 409.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6265, allocations: 4 kB / 409.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6265, allocations: 7.953 kB / 409.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6266, allocations: 0 / 409.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.6283, allocations: 0.8429 MB / 410.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6283, allocations: 0 / 410.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.6284, allocations: 0 / 410.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6284, allocations: 0 / 410.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.6285, allocations: 19.48 kB / 410.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6285, allocations: 0 / 410.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6285, allocations: 4 kB / 410.4 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.6297, allocations: 0.5544 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/0.6304, allocations: 255.8 kB / 411.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6305, allocations: 11.56 kB / 411.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.6309, allocations: 15.61 kB / 411.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.6311, allocations: 34.14 kB / 411.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/0.6313, allocations: 116.9 kB / 411.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008591/0.6322, allocations: 386 kB / 411.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6322, allocations: 0 / 411.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006881/0.6329, allocations: 50.55 kB / 411.8 MB, free: 4.508 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.001587/0.6345, allocations: 1.116 MB / 412.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008254/0.6354, allocations: 442.4 kB / 413.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6354, allocations: 0 / 413.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.636, allocations: 382.5 kB / 413.7 MB, free: 19.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6371, allocations: 104.5 kB / 413.8 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.6394, allocations: 0.6157 MB / 414.4 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.6401, allocations: 0.8033 MB / 415.2 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.6402, allocations: 12.56 kB / 415.2 MB, free: 17.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.6403, allocations: 29.39 kB / 415.2 MB, free: 17.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6403, allocations: 0 / 415.2 MB, free: 17.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.6766, allocations: 6.901 MB / 422.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/0.677, allocations: 143.1 kB / 422.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.364, allocations: 0 / 422.3 MB, free: 14.24 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