Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.958e-05, allocations: 3.438 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07884/0.07889, allocations: 44.51 MB / 299.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4147, allocations: 77.02 MB / 376.9 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.415, allocations: 65.47 kB / 376.9 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04751/0.4625, allocations: 16.48 MB / 393.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.845e-06/0.4626, allocations: 3.938 kB / 393.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4626, allocations: 3.844 kB / 393.4 MB, free: 19.8 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.0005084/0.4631, allocations: 0.6062 MB / 394 MB, free: 19.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4632, allocations: 11.66 kB / 394 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.4633, allocations: 35.2 kB / 394.1 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.4636, allocations: 254.6 kB / 394.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4636, allocations: 3.969 kB / 394.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4637, allocations: 15.09 kB / 394.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.464, allocations: 133.1 kB / 394.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.606e-06/0.464, allocations: 0 / 394.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.464, allocations: 3.844 kB / 394.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4641, allocations: 0 / 394.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.4642, allocations: 56.22 kB / 394.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.4649, allocations: 465.5 kB / 395 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.4652, allocations: 93.75 kB / 395.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4653, allocations: 82.64 kB / 395.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.4654, allocations: 0 / 395.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.4657, allocations: 201.8 kB / 395.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.158e-06/0.4657, allocations: 7.922 kB / 395.3 MB, free: 18.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007482/0.4665, allocations: 394.7 kB / 395.7 MB, free: 18.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.4666, allocations: 172.9 kB / 395.9 MB, free: 18.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.4673, allocations: 462.2 kB / 396.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4673, allocations: 33.02 kB / 396.4 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.4674, allocations: 162.6 kB / 396.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.4674, allocations: 27 kB / 396.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.4675, allocations: 3.906 kB / 396.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.4675, allocations: 321.6 kB / 396.9 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4677, allocations: 52.09 kB / 396.9 MB, free: 17.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4679, allocations: 70.67 kB / 397 MB, free: 17.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.468, allocations: 161.6 kB / 397.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-06/0.4681, allocations: 3.938 kB / 397.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006242/0.4687, allocations: 362.3 kB / 397.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.4688, allocations: 120.4 kB / 397.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-06/0.4688, allocations: 0 / 397.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4688, allocations: 7.828 kB / 397.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.4689, allocations: 3.562 kB / 397.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.921e-06/0.4689, allocations: 3.938 kB / 397.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.4691, allocations: 19.19 kB / 397.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.4692, allocations: 58.81 kB / 397.7 MB, free: 16.98 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,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.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.0001531/0.4693, allocations: 242.8 kB / 398 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.4694, allocations: 43.19 kB / 398 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.4696, allocations: 65.11 kB / 398.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4696, allocations: 3.938 kB / 398.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.4697, allocations: 3.953 kB / 398.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4697, allocations: 0 / 398.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4708, allocations: 0.7965 MB / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4708, allocations: 0 / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.4708, allocations: 3.906 kB / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.038e-06/0.4708, allocations: 0 / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.4709, allocations: 22.55 kB / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.997e-06/0.4709, allocations: 0 / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.937e-06/0.4709, allocations: 0 / 398.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.4716, allocations: 0.5036 MB / 399.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.4721, allocations: 248.2 kB / 399.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.4721, allocations: 19.23 kB / 399.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4724, allocations: 19.66 kB / 399.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4725, allocations: 26.62 kB / 399.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-05/0.4726, allocations: 62.14 kB / 399.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005432/0.4732, allocations: 384.1 kB / 400.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.676e-06/0.4732, allocations: 0 / 400.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.4736, allocations: 47 kB / 400.2 MB, free: 15.64 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001531/0.4738, allocations: 124.6 kB / 400.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.4743, allocations: 426 kB / 400.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.22e-06/0.4743, allocations: 3.938 kB / 400.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.4746, allocations: 371.5 kB / 401.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.4752, allocations: 95.09 kB / 401.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4764, allocations: 0.5711 MB / 401.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4767, allocations: 0.8124 MB / 402.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.4768, allocations: 7.438 kB / 402.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.878e-06/0.4768, allocations: 3.938 kB / 402.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Templates: time 0.004749/0.4815, allocations: 2.624 MB / 405.2 MB, free: 13.72 MB / 314.7 MB