Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/2.975e-05, allocations: 4 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00191/0.3093, allocations: 1.187 MB / 304.5 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.3118, allocations: 0.8121 MB / 305.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.3119, allocations: 1.031 kB / 305.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.183e-05/0.312, allocations: 8.984 kB / 305.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.3121, allocations: 19.09 kB / 305.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.3123, allocations: 33.97 kB / 305.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3124, allocations: 47.16 kB / 305.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.3125, allocations: 12.92 kB / 305.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.3132, allocations: 423.6 kB / 305.9 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3134, allocations: 75.83 kB / 305.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.3135, allocations: 4 kB / 305.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.3135, allocations: 4 kB / 305.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.3136, allocations: 55.83 kB / 306 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.3137, allocations: 16 kB / 306 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.3141, allocations: 303.3 kB / 306.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3141, allocations: 3.938 kB / 306.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3141, allocations: 0 / 306.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3141, allocations: 0 / 306.3 MB, free: 10.62 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.0007214/0.3149, allocations: 0.5936 MB / 306.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3149, allocations: 11.97 kB / 306.9 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.315, allocations: 43.48 kB / 306.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.3154, allocations: 261.3 kB / 307.2 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.3155, allocations: 7.984 kB / 307.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.3155, allocations: 12 kB / 307.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.316, allocations: 133.6 kB / 307.4 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.316, allocations: 0 / 307.4 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.316, allocations: 8 kB / 307.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3161, allocations: 0 / 307.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.3163, allocations: 59.97 kB / 307.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.3172, allocations: 476.4 kB / 307.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.3175, allocations: 90.55 kB / 308 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3175, allocations: 0 / 308 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.3179, allocations: 206.8 kB / 308.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.3179, allocations: 0 / 308.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001304/0.3192, allocations: 0.6153 MB / 308.8 MB, free: 7.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3194, allocations: 170.2 kB / 309 MB, free: 7.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.3203, allocations: 464.4 kB / 309.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.3203, allocations: 29.7 kB / 309.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.3204, allocations: 97.14 kB / 309.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.3205, allocations: 35.58 kB / 309.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3205, allocations: 4 kB / 309.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3206, allocations: 322.8 kB / 309.9 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3209, allocations: 59.97 kB / 309.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3211, allocations: 69.69 kB / 310 MB, free: 6.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3214, allocations: 170.6 kB / 310.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3214, allocations: 0 / 310.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000833/0.3222, allocations: 380.3 kB / 310.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.3224, allocations: 126.8 kB / 310.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3224, allocations: 0 / 310.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3224, allocations: 0 / 310.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.3225, allocations: 7.938 kB / 310.7 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3225, allocations: 3.953 kB / 310.7 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.3227, allocations: 16.12 kB / 310.7 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3228, allocations: 63.88 kB / 310.8 MB, free: 5.738 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,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: 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.000484/0.3233, allocations: 361.9 kB / 311.1 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.3234, allocations: 39.53 kB / 311.2 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3236, allocations: 71.12 kB / 311.2 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3236, allocations: 0 / 311.2 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3236, allocations: 0 / 311.2 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3236, allocations: 7.953 kB / 311.2 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.3251, allocations: 0.7939 MB / 312 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3251, allocations: 0 / 312 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-06/0.3251, allocations: 0 / 312 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3252, allocations: 4.188 kB / 312 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.3252, allocations: 19.98 kB / 312.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3252, allocations: 3.953 kB / 312.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3252, allocations: 0 / 312.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.3262, allocations: 0.5295 MB / 312.6 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.3268, allocations: 248.3 kB / 312.8 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.3269, allocations: 15.98 kB / 312.8 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.3271, allocations: 8 kB / 312.9 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3273, allocations: 31.92 kB / 312.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.3274, allocations: 59.92 kB / 312.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007201/0.3281, allocations: 382.9 kB / 313.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3281, allocations: 0 / 313.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000395/0.3285, allocations: 44 kB / 313.4 MB, free: 2.969 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,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.0001768/0.3287, allocations: 123 kB / 313.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007665/0.3295, allocations: 445.5 kB / 313.9 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3295, allocations: 0 / 313.9 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.33, allocations: 377.6 kB / 314.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.3308, allocations: 96.27 kB / 314.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3324, allocations: 0.731 MB / 315.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.333, allocations: 0.8103 MB / 315.9 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.609e-05/0.333, allocations: 8.656 kB / 315.9 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.3331, allocations: 11.44 kB / 315.9 MB, free: 232 kB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3331, allocations: 0 / 315.9 MB, free: 232 kB / 250.7 MB Notification: Performance of Templates: time 0.04096/0.3741, allocations: 4.05 MB / 320 MB, free: 12.09 MB / 266.7 MB