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.999/1.999, allocations: 194.9 MB / 211.2 MB, free: 7.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.128e-05, allocations: 4 kB / 258.8 MB, free: 8.223 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 44.5 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002149/0.3183, allocations: 1.188 MB / 304.5 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.321, allocations: 0.8235 MB / 305.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.3212, allocations: 0.9688 kB / 305.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.481e-05/0.3212, allocations: 4.906 kB / 305.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3214, allocations: 15.22 kB / 305.3 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3216, allocations: 33.97 kB / 305.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3218, allocations: 48.03 kB / 305.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.3219, allocations: 16.86 kB / 305.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.3226, allocations: 418.6 kB / 305.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.3229, allocations: 74.11 kB / 305.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.3229, allocations: 3.781 kB / 305.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.323, allocations: 3.969 kB / 305.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3231, allocations: 60.16 kB / 306 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.3232, allocations: 13.72 kB / 306 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.3237, allocations: 301.5 kB / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3237, allocations: 0 / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3237, allocations: 0 / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.3237, allocations: 4 kB / 306.3 MB, free: 10.64 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.0007895/0.3245, allocations: 0.5969 MB / 306.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3246, allocations: 12.03 kB / 306.9 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3247, allocations: 43.48 kB / 306.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.3251, allocations: 261.3 kB / 307.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3252, allocations: 4 kB / 307.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3252, allocations: 8 kB / 307.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.3257, allocations: 137.6 kB / 307.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3257, allocations: 0 / 307.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.3258, allocations: 12 kB / 307.3 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3258, allocations: 0 / 307.3 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.3261, allocations: 59.97 kB / 307.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.3271, allocations: 468.4 kB / 307.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.3274, allocations: 98.55 kB / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3274, allocations: 0 / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.3279, allocations: 202.8 kB / 308.1 MB, free: 8.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.328, allocations: 3.938 kB / 308.1 MB, free: 8.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001435/0.3294, allocations: 0.6153 MB / 308.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.3296, allocations: 162.2 kB / 308.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3306, allocations: 468.4 kB / 309.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.3307, allocations: 33.7 kB / 309.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.3308, allocations: 159.6 kB / 309.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.3309, allocations: 39.56 kB / 309.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.3309, allocations: 4 kB / 309.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3311, allocations: 314.8 kB / 309.9 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.3313, allocations: 55.97 kB / 310 MB, free: 6.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3316, allocations: 77.67 kB / 310 MB, free: 6.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3319, allocations: 166.7 kB / 310.2 MB, free: 6.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3319, allocations: 4 kB / 310.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000916/0.3328, allocations: 372.4 kB / 310.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.333, allocations: 126.8 kB / 310.7 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.333, allocations: 3.984 kB / 310.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3331, allocations: 0 / 310.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-05/0.3331, allocations: 4 kB / 310.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3331, allocations: 4.062 kB / 310.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.3334, allocations: 11.94 kB / 310.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.3335, allocations: 63.92 kB / 310.8 MB, free: 5.699 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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.0006077/0.3341, allocations: 358.8 kB / 311.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.3343, allocations: 39.53 kB / 311.2 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.3345, allocations: 67.14 kB / 311.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3345, allocations: 0 / 311.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3345, allocations: 0 / 311.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3345, allocations: 7.953 kB / 311.3 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.3361, allocations: 0.7941 MB / 312 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3361, allocations: 4 kB / 312 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.3361, allocations: 4 kB / 312.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.3362, allocations: 4 kB / 312.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.3362, allocations: 8 kB / 312.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3362, allocations: 3.953 kB / 312.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3362, allocations: 0 / 312.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3373, allocations: 0.5372 MB / 312.6 MB, free: 3.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.3379, allocations: 248.4 kB / 312.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.338, allocations: 12 kB / 312.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.3383, allocations: 15.98 kB / 312.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.3384, allocations: 31.92 kB / 312.9 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.3386, allocations: 55.94 kB / 313 MB, free: 3.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008247/0.3394, allocations: 386.9 kB / 313.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3394, allocations: 0 / 313.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000426/0.3398, allocations: 40 kB / 313.4 MB, free: 2.93 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,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.0002109/0.3401, allocations: 125.8 kB / 313.5 MB, free: 2.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008214/0.3409, allocations: 449.5 kB / 313.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3409, allocations: 0 / 313.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.3414, allocations: 369.6 kB / 314.3 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.3422, allocations: 102.1 kB / 314.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3441, allocations: 0.7678 MB / 315.2 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.3448, allocations: 0.8102 MB / 316 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3448, allocations: 15.44 kB / 316 MB, free: 156 kB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3448, allocations: 0 / 316 MB, free: 156 kB / 250.7 MB Notification: Performance of Templates: time 0.006974/0.3518, allocations: 2.638 MB / 318.6 MB, free: 13.45 MB / 266.7 MB