Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.698e-05, allocations: 3.188 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07683/0.07688, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.4041, allocations: 77.02 MB / 376.9 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4044, allocations: 67.61 kB / 376.9 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04496/0.4493, allocations: 16.48 MB / 393.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.262e-06/0.4494, allocations: 0 / 393.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4494, allocations: 7.688 kB / 393.4 MB, free: 20.04 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.0004914/0.4499, allocations: 0.6024 MB / 394 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.45, allocations: 7.781 kB / 394 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.18e-05/0.4501, allocations: 39.14 kB / 394.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.4503, allocations: 257.5 kB / 394.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4504, allocations: 7.531 kB / 394.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.4504, allocations: 7.812 kB / 394.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.4507, allocations: 134.5 kB / 394.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4507, allocations: 0 / 394.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.4508, allocations: 3.906 kB / 394.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4508, allocations: 0 / 394.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.4509, allocations: 53.05 kB / 394.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.4516, allocations: 473.8 kB / 395 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.4518, allocations: 96.42 kB / 395.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.452, allocations: 80.03 kB / 395.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-06/0.452, allocations: 0 / 395.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.4523, allocations: 205.1 kB / 395.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.909e-06/0.4523, allocations: 0 / 395.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006552/0.453, allocations: 402.2 kB / 395.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.453, allocations: 165.2 kB / 395.9 MB, free: 18.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.4537, allocations: 465.3 kB / 396.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4537, allocations: 29.52 kB / 396.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.4538, allocations: 159.1 kB / 396.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.4538, allocations: 34.23 kB / 396.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.4539, allocations: 3.906 kB / 396.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.4539, allocations: 317.5 kB / 396.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4541, allocations: 60.53 kB / 397 MB, free: 17.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4542, allocations: 60.72 kB / 397 MB, free: 17.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4544, allocations: 162.5 kB / 397.2 MB, free: 17.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-06/0.4544, allocations: 0 / 397.2 MB, free: 17.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005451/0.455, allocations: 363.4 kB / 397.5 MB, free: 17.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.455, allocations: 126.7 kB / 397.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.528e-06/0.4551, allocations: 0 / 397.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4551, allocations: 3.953 kB / 397.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.842e-05/0.4551, allocations: 0 / 397.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.735e-06/0.4551, allocations: 160 / 397.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.4553, allocations: 19.08 kB / 397.7 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/0.4554, allocations: 62.56 kB / 397.7 MB, free: 17.23 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.0001477/0.4556, allocations: 247 kB / 398 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.4557, allocations: 39.12 kB / 398 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.4558, allocations: 72.25 kB / 398.1 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-06/0.4558, allocations: 0 / 398.1 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.4558, allocations: 3.953 kB / 398.1 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-06/0.4559, allocations: 2.906 kB / 398.1 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.4568, allocations: 0.7946 MB / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-06/0.4569, allocations: 0 / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-06/0.4569, allocations: 0 / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.153e-06/0.4569, allocations: 0 / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.4569, allocations: 22.97 kB / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-06/0.4569, allocations: 0 / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.457, allocations: 0 / 398.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.4576, allocations: 0.512 MB / 399.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.458, allocations: 258.2 kB / 399.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.4581, allocations: 11.59 kB / 399.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4583, allocations: 19.28 kB / 399.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.4584, allocations: 26.06 kB / 399.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.4585, allocations: 58.47 kB / 399.8 MB, free: 16.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004929/0.459, allocations: 383.5 kB / 400.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.459, allocations: 0 / 400.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.4594, allocations: 42.94 kB / 400.2 MB, free: 15.89 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001307/0.4596, allocations: 126.4 kB / 400.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.46, allocations: 434.9 kB / 400.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/0.4601, allocations: 0 / 400.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.4604, allocations: 376.2 kB / 401.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.4609, allocations: 89.88 kB / 401.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4619, allocations: 0.5601 MB / 401.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.4623, allocations: 0.8154 MB / 402.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.4623, allocations: 11.25 kB / 402.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.39e-06/0.4623, allocations: 0 / 402.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.005405/0.4677, allocations: 2.631 MB / 405.2 MB, free: 13.96 MB / 314.7 MB