Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 2.121/2.121, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.809e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001992/0.1127, allocations: 1.209 MB / 346.2 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.1152, allocations: 0.7844 MB / 347 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.1153, allocations: 0 / 347 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.625e-05/0.1154, allocations: 7.938 kB / 347 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.1155, allocations: 15.95 kB / 347 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1157, allocations: 35.91 kB / 347 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1159, allocations: 55.86 kB / 347.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.116, allocations: 8 kB / 347.1 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005096/0.1165, allocations: 283.6 kB / 347.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1166, allocations: 67.83 kB / 347.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.1167, allocations: 7.938 kB / 347.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1168, allocations: 4 kB / 347.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1169, allocations: 59.83 kB / 347.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.117, allocations: 19.88 kB / 347.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1173, allocations: 287.3 kB / 347.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1174, allocations: 0 / 347.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1174, allocations: 0 / 347.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1174, allocations: 0 / 347.8 MB, free: 6.09 MB / 282.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.0006875/0.1181, allocations: 0.6031 MB / 348.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1181, allocations: 12.03 kB / 348.4 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.1182, allocations: 31.62 kB / 348.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1186, allocations: 261.3 kB / 348.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1187, allocations: 8 kB / 348.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.1187, allocations: 8 kB / 348.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.1192, allocations: 117.6 kB / 348.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1192, allocations: 3.984 kB / 348.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.1192, allocations: 11.95 kB / 348.8 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1193, allocations: 0 / 348.8 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1195, allocations: 59.97 kB / 348.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.1204, allocations: 468.5 kB / 349.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1207, allocations: 90.55 kB / 349.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1207, allocations: 3.953 kB / 349.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.1212, allocations: 198.7 kB / 349.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.155e-06/0.1212, allocations: 0 / 349.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001273/0.1225, allocations: 0.6077 MB / 350.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1226, allocations: 166.2 kB / 350.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/0.1236, allocations: 464.5 kB / 350.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.1237, allocations: 33.81 kB / 350.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.1238, allocations: 167.3 kB / 351.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.1238, allocations: 27.7 kB / 351.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1239, allocations: 8 kB / 351.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.124, allocations: 310.8 kB / 351.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1242, allocations: 63.97 kB / 351.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.1245, allocations: 69.67 kB / 351.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1248, allocations: 162.8 kB / 351.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1248, allocations: 0 / 351.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008249/0.1256, allocations: 356.4 kB / 352 MB, free: 1.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.1257, allocations: 126.8 kB / 352.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1258, allocations: 4 kB / 352.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1258, allocations: 0 / 352.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-05/0.1258, allocations: 8.016 kB / 352.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1258, allocations: 0 / 352.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.1261, allocations: 15.91 kB / 352.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.1262, allocations: 36 kB / 352.2 MB, free: 1.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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.0005164/0.1267, allocations: 374.2 kB / 352.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.1268, allocations: 43.55 kB / 352.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.127, allocations: 71.09 kB / 352.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1271, allocations: 0 / 352.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1271, allocations: 4 kB / 352.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1271, allocations: 0 / 352.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1286, allocations: 0.7943 MB / 353.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1286, allocations: 3.984 kB / 353.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.1286, allocations: 3.953 kB / 353.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1286, allocations: 0 / 353.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1287, allocations: 12 kB / 353.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.1287, allocations: 0 / 353.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1287, allocations: 4 kB / 353.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009851/0.1297, allocations: 0.5057 MB / 354 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.1303, allocations: 248.4 kB / 354.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.1304, allocations: 16.2 kB / 354.3 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1306, allocations: 16 kB / 354.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.1308, allocations: 27.91 kB / 354.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.1309, allocations: 43.92 kB / 354.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007549/0.1317, allocations: 382.9 kB / 354.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1317, allocations: 4 kB / 354.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.1321, allocations: 48 kB / 354.8 MB, free: 14.49 MB / 298.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.0001929/0.1323, allocations: 119 kB / 354.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.1331, allocations: 433.5 kB / 355.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1331, allocations: 0 / 355.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.1336, allocations: 373.6 kB / 355.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.1344, allocations: 110.6 kB / 355.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1362, allocations: 0.7756 MB / 356.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.1368, allocations: 0.8141 MB / 357.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.1369, allocations: 11.44 kB / 357.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1369, allocations: 3.938 kB / 357.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Templates: time 0.006422/0.1433, allocations: 2.449 MB / 359.9 MB, free: 9.273 MB / 298.7 MB