Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.597/2.597, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.921e-05, allocations: 4.125 kB / 249.8 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5775/0.6847, allocations: 76.91 MB / 371.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.6851, allocations: 70.72 kB / 371.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.7877, allocations: 26.76 MB / 398 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7878, allocations: 0 / 398 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.7878, allocations: 3.875 kB / 398 MB, free: 15.96 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.0007623/0.7886, allocations: 0.6209 MB / 398.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7886, allocations: 11.62 kB / 398.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.7888, allocations: 38.3 kB / 398.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.7889, allocations: 42.09 kB / 398.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.7894, allocations: 255.1 kB / 399 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.7894, allocations: 7.75 kB / 399 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.7895, allocations: 7.375 kB / 399 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002342/0.7898, allocations: 65.09 kB / 399 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.7902, allocations: 141.7 kB / 399.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7902, allocations: 0 / 399.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.7903, allocations: 3.75 kB / 399.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7903, allocations: 3.844 kB / 399.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.7914, allocations: 453 kB / 399.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.7917, allocations: 101.4 kB / 399.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.792, allocations: 81.97 kB / 399.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.792, allocations: 0 / 399.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.7925, allocations: 217.3 kB / 400 MB, free: 14.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.7925, allocations: 0 / 400 MB, free: 14.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001061/0.7936, allocations: 313.1 kB / 400.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.7937, allocations: 165.4 kB / 400.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/0.7947, allocations: 452.3 kB / 400.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.7948, allocations: 33.42 kB / 401 MB, free: 13.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.7949, allocations: 99.16 kB / 401.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/0.795, allocations: 31.14 kB / 401.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.7951, allocations: 3.844 kB / 401.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7953, allocations: 325.8 kB / 401.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.7955, allocations: 59.91 kB / 401.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.7957, allocations: 55.67 kB / 401.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.7959, allocations: 55.98 kB / 401.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7959, allocations: 0 / 401.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009424/0.7969, allocations: 289.9 kB / 401.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.797, allocations: 129.5 kB / 402 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7971, allocations: 3.984 kB / 402 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.7971, allocations: 0 / 402 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.016e-05/0.7971, allocations: 3.375 kB / 402 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.7972, allocations: 0 / 402 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.7975, allocations: 11.62 kB / 402 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.7977, allocations: 117.2 kB / 402.1 MB, free: 13.24 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.0003471/0.7981, allocations: 251.7 kB / 402.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.7982, allocations: 34.81 kB / 402.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.7985, allocations: 73.53 kB / 402.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7985, allocations: 0 / 402.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7986, allocations: 3.938 kB / 402.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.7986, allocations: 3.984 kB / 402.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.8003, allocations: 0.6733 MB / 403.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8003, allocations: 0 / 403.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.8004, allocations: 7.984 kB / 403.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.8004, allocations: 3.906 kB / 403.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.8005, allocations: 19.48 kB / 403.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.8005, allocations: 3.875 kB / 403.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.8005, allocations: 0 / 403.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.8016, allocations: 434.4 kB / 403.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.8023, allocations: 258.3 kB / 403.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.8025, allocations: 6.938 kB / 403.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.8029, allocations: 19.52 kB / 403.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.8031, allocations: 34.47 kB / 403.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.8033, allocations: 120.3 kB / 404 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008287/0.8042, allocations: 373.3 kB / 404.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.8042, allocations: 0 / 404.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005633/0.8048, allocations: 42.53 kB / 404.4 MB, free: 11.93 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.001574/0.8063, allocations: 0.9749 MB / 405.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007948/0.8072, allocations: 433.6 kB / 405.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8072, allocations: 0 / 405.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.8077, allocations: 369.4 kB / 406.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.8088, allocations: 106 kB / 406.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.811, allocations: 0.6048 MB / 406.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.8117, allocations: 0.8018 MB / 407.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.8118, allocations: 12.58 kB / 407.7 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.8119, allocations: 29.86 kB / 407.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8119, allocations: 0 / 407.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08847/0.9004, allocations: 6.666 MB / 414.4 MB, free: 3.387 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000315/0.9008, allocations: 132.5 kB / 414.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.3/4.2, allocations: 0 / 414.6 MB, free: 3.195 MB / 314.7 MB "" Variables in the reference:time,bUF3S.y Variables in the result:_D_whenCondition1,_D_whenCondition2,bUF3S.enable,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.tHL,bUF3S.inertialDelaySensitive.tLH,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y0,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.nextstate,bUF3S.strength,bUF3S.tHL,bUF3S.tLH,bUF3S.x,bUF3S.y,bUF3S.yy,e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0