Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.646e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4172, allocations: 44.49 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002925/0.4202, allocations: 1.203 MB / 304.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003785/0.424, allocations: 0.8111 MB / 305.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.4242, allocations: 2.125 kB / 305.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.197e-05/0.4243, allocations: 7.922 kB / 305.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.4244, allocations: 19.16 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.4248, allocations: 29.56 kB / 305.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.4249, allocations: 60.77 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4251, allocations: 5.188 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007754/0.4259, allocations: 285.2 kB / 305.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.4261, allocations: 72.7 kB / 305.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.4262, allocations: 3.969 kB / 305.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.4263, allocations: 2.781 kB / 305.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.4264, allocations: 60.52 kB / 305.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.4265, allocations: 14.41 kB / 305.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.4271, allocations: 280.9 kB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4271, allocations: 1.219 kB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4271, allocations: 0 / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.4272, allocations: 0 / 306.1 MB, free: 10.69 MB / 250.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.0009869/0.4282, allocations: 0.6081 MB / 306.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.4282, allocations: 17.47 kB / 306.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.4284, allocations: 46.36 kB / 306.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.429, allocations: 252.4 kB / 307 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.4291, allocations: 8.5 kB / 307 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.774e-05/0.4292, allocations: 11.97 kB / 307.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.43, allocations: 124.4 kB / 307.2 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4301, allocations: 7.922 kB / 307.2 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.4301, allocations: 4 kB / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4302, allocations: 0 / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.4305, allocations: 59.91 kB / 307.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.432, allocations: 464.4 kB / 307.7 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.4324, allocations: 94.55 kB / 307.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.4325, allocations: 7.938 kB / 307.8 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.4331, allocations: 206.8 kB / 308 MB, free: 8.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 5.099e-06/0.4332, allocations: 0 / 308 MB, free: 8.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001942/0.4352, allocations: 0.5958 MB / 308.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.4354, allocations: 170.2 kB / 308.8 MB, free: 7.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.4368, allocations: 460.5 kB / 309.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.4369, allocations: 33.64 kB / 309.3 MB, free: 7.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4371, allocations: 167.5 kB / 309.4 MB, free: 7.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/0.4372, allocations: 27.62 kB / 309.4 MB, free: 7.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.4372, allocations: 4 kB / 309.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4374, allocations: 322.8 kB / 309.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4378, allocations: 51.97 kB / 309.8 MB, free: 6.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.4381, allocations: 69.69 kB / 309.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.4385, allocations: 170.8 kB / 310 MB, free: 6.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4386, allocations: 0 / 310 MB, free: 6.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00119/0.4398, allocations: 356.4 kB / 310.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.44, allocations: 130.8 kB / 310.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.44, allocations: 0 / 310.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.44, allocations: 0 / 310.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.529e-05/0.4401, allocations: 8 kB / 310.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.4401, allocations: 3.953 kB / 310.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4406, allocations: 8.109 kB / 310.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4407, allocations: 51.86 kB / 310.6 MB, free: 5.977 MB / 250.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.0008159/0.4415, allocations: 362.2 kB / 310.9 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4417, allocations: 43.53 kB / 311 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.4419, allocations: 67.14 kB / 311.1 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4419, allocations: 4 kB / 311.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4419, allocations: 0 / 311.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.442, allocations: 3.953 kB / 311.1 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.4435, allocations: 0.7823 MB / 311.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4435, allocations: 0 / 311.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.4436, allocations: 0 / 311.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4436, allocations: 4 kB / 311.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.4436, allocations: 8 kB / 311.9 MB, free: 4.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.984e-06/0.4437, allocations: 11.89 kB / 311.9 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.4437, allocations: 4.172 kB / 311.9 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.4447, allocations: 0.5138 MB / 312.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.4453, allocations: 248.5 kB / 312.6 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4455, allocations: 16 kB / 312.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.4457, allocations: 11.98 kB / 312.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4459, allocations: 31.92 kB / 312.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/0.446, allocations: 40 kB / 312.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008051/0.4468, allocations: 390.8 kB / 313.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4469, allocations: 0 / 313.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.4473, allocations: 43.91 kB / 313.2 MB, free: 3.238 MB / 250.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.0002029/0.4475, allocations: 119 kB / 313.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.4483, allocations: 441.5 kB / 313.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4483, allocations: 0 / 313.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.4488, allocations: 373.6 kB / 314.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.4497, allocations: 101.5 kB / 314.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4516, allocations: 0.7874 MB / 315 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.4522, allocations: 0.8102 MB / 315.8 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.4523, allocations: 11.44 kB / 315.8 MB, free: 468 kB / 250.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4523, allocations: 0 / 315.8 MB, free: 468 kB / 250.7 MB Notification: Performance of Templates: time 0.006911/0.4592, allocations: 2.453 MB / 318.2 MB, free: 14.01 MB / 266.7 MB