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.735/1.735, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.216e-05, allocations: 4 kB / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 38.78 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.4363, allocations: 72.24 MB / 336.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4366, allocations: 75.95 kB / 336.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1132/0.5499, allocations: 27.44 MB / 363.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5499, allocations: 0 / 363.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.55, allocations: 4 kB / 363.6 MB, free: 6.004 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.001032/0.551, allocations: 0.6216 MB / 364.2 MB, free: 5.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.5511, allocations: 11.97 kB / 364.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.5512, allocations: 46.55 kB / 364.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.5514, allocations: 39.53 kB / 364.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.5519, allocations: 253.5 kB / 364.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.552, allocations: 16 kB / 364.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.5521, allocations: 4 kB / 364.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.5526, allocations: 145.6 kB / 364.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5527, allocations: 3.953 kB / 364.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.5527, allocations: 4 kB / 364.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.5528, allocations: 0 / 364.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.5531, allocations: 71.97 kB / 364.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.5545, allocations: 468.6 kB / 365.3 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.5549, allocations: 106.5 kB / 365.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.5552, allocations: 88.89 kB / 365.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.5553, allocations: 3.938 kB / 365.5 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.5558, allocations: 226.6 kB / 365.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.5559, allocations: 0 / 365.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00124/0.5571, allocations: 431.9 kB / 366.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.5573, allocations: 170.2 kB / 366.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.5582, allocations: 462.5 kB / 366.7 MB, free: 2.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.5583, allocations: 29.7 kB / 366.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.5584, allocations: 101.1 kB / 366.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.5585, allocations: 35.53 kB / 366.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.5585, allocations: 8 kB / 366.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5587, allocations: 326.8 kB / 367.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.5589, allocations: 59.97 kB / 367.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.5591, allocations: 66.52 kB / 367.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.5594, allocations: 174.8 kB / 367.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5594, allocations: 0 / 367.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009283/0.5604, allocations: 404.2 kB / 367.9 MB, free: 1.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.5605, allocations: 126.8 kB / 368 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5605, allocations: 0 / 368 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5606, allocations: 3.938 kB / 368 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.812e-05/0.5606, allocations: 4 kB / 368 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5606, allocations: 4 kB / 368 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.5609, allocations: 15.89 kB / 368.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.5612, allocations: 119.8 kB / 368.2 MB, free: 1.055 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.0002585/0.5614, allocations: 245.5 kB / 368.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.5615, allocations: 39.58 kB / 368.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.5619, allocations: 63.44 kB / 368.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5619, allocations: 0 / 368.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5619, allocations: 3.984 kB / 368.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.562, allocations: 11.98 kB / 368.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2346/0.7965, allocations: 0.8295 MB / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7966, allocations: 3.844 kB / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.7966, allocations: 2.688 kB / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.7967, allocations: 1.156 kB / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.7967, allocations: 20.36 kB / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7967, allocations: 0.5312 kB / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7968, allocations: 0 / 369.4 MB, free: 90.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.7979, allocations: 0.5487 MB / 369.9 MB, free: 89.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/0.7985, allocations: 258.9 kB / 370.2 MB, free: 89.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.7987, allocations: 10.53 kB / 370.2 MB, free: 89.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.799, allocations: 14.2 kB / 370.2 MB, free: 89.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.7992, allocations: 32.17 kB / 370.2 MB, free: 89.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/0.7994, allocations: 123 kB / 370.4 MB, free: 89.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007423/0.8002, allocations: 389.8 kB / 370.7 MB, free: 89.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.8002, allocations: 0 / 370.7 MB, free: 89.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.8006, allocations: 47.41 kB / 370.8 MB, free: 89.51 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.001184/0.8018, allocations: 1.12 MB / 371.9 MB, free: 88.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.8024, allocations: 442.7 kB / 372.3 MB, free: 88.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8024, allocations: 0 / 372.3 MB, free: 88.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.8028, allocations: 379.4 kB / 372.7 MB, free: 88.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.8036, allocations: 96.91 kB / 372.8 MB, free: 88.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.8051, allocations: 0.6212 MB / 373.4 MB, free: 87.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.8054, allocations: 0.8017 MB / 374.2 MB, free: 87.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.8055, allocations: 12.33 kB / 374.2 MB, free: 87.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.8056, allocations: 25.38 kB / 374.3 MB, free: 87.2 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.8056, allocations: 0 / 374.3 MB, free: 87.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.8359, allocations: 6.917 MB / 381.2 MB, free: 86.47 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.8362, allocations: 151.6 kB / 381.3 MB, free: 86.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.23, allocations: 3.938 kB / 381.3 MB, free: 86.24 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