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.877/1.877, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.564e-05, allocations: 8 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4703, allocations: 77.03 MB / 376.9 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4706, allocations: 70.77 kB / 377 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0472/0.5178, allocations: 16.47 MB / 393.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5179, allocations: 3.938 kB / 393.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.5179, allocations: 3.969 kB / 393.4 MB, free: 19.95 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.0004947/0.5184, allocations: 0.6092 MB / 394.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5184, allocations: 7.812 kB / 394.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.039e-05/0.5185, allocations: 39.11 kB / 394.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.5188, allocations: 260 kB / 394.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5188, allocations: 7.875 kB / 394.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.5189, allocations: 3.906 kB / 394.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.5192, allocations: 129.8 kB / 394.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.373e-06/0.5192, allocations: 0 / 394.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.5193, allocations: 3.969 kB / 394.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5193, allocations: 0 / 394.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.5194, allocations: 66.03 kB / 394.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.5201, allocations: 456.6 kB / 395 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.5203, allocations: 91.42 kB / 395.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5204, allocations: 81.25 kB / 395.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.5205, allocations: 4 kB / 395.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.5208, allocations: 213.7 kB / 395.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.619e-06/0.5208, allocations: 0 / 395.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006668/0.5215, allocations: 400.2 kB / 395.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.5215, allocations: 162.1 kB / 395.9 MB, free: 18.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.5222, allocations: 466.3 kB / 396.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.5222, allocations: 33.55 kB / 396.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.5223, allocations: 96.64 kB / 396.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.5223, allocations: 34.78 kB / 396.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.5224, allocations: 3.906 kB / 396.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.5224, allocations: 326 kB / 396.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5226, allocations: 58.02 kB / 396.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.5227, allocations: 54.2 kB / 397 MB, free: 17.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.5229, allocations: 159.9 kB / 397.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-06/0.5229, allocations: 3.938 kB / 397.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005849/0.5235, allocations: 368.2 kB / 397.5 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.5236, allocations: 134.8 kB / 397.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.5236, allocations: 0 / 397.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5236, allocations: 7.938 kB / 397.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.897e-05/0.5237, allocations: 0 / 397.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.997e-06/0.5237, allocations: 3.906 kB / 397.7 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.5239, allocations: 19.2 kB / 397.7 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.524, allocations: 54.72 kB / 397.7 MB, free: 17.19 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.0001442/0.5241, allocations: 243.2 kB / 398 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.5242, allocations: 39.25 kB / 398 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.5243, allocations: 68.41 kB / 398.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5244, allocations: 0 / 398.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-06/0.5244, allocations: 3.953 kB / 398.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5244, allocations: 0 / 398.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5254, allocations: 0.7994 MB / 398.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-06/0.5254, allocations: 0 / 398.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-06/0.5255, allocations: 0 / 398.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.467e-06/0.5255, allocations: 3.812 kB / 398.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5255, allocations: 15.27 kB / 398.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.924e-06/0.5255, allocations: 14.92 kB / 398.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-06/0.5256, allocations: 0 / 398.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.5263, allocations: 0.5048 MB / 399.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.5267, allocations: 254 kB / 399.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.5268, allocations: 8.062 kB / 399.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.527, allocations: 26.88 kB / 399.7 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.5272, allocations: 29.33 kB / 399.7 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.5272, allocations: 58 kB / 399.8 MB, free: 16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005819/0.5278, allocations: 383.8 kB / 400.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.5279, allocations: 0 / 400.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.5283, allocations: 43 kB / 400.2 MB, free: 15.85 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.000141/0.5284, allocations: 117.2 kB / 400.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.5289, allocations: 430.7 kB / 400.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5289, allocations: 7.812 kB / 400.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.5292, allocations: 371.7 kB / 401.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.5298, allocations: 96 kB / 401.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.5308, allocations: 0.5235 MB / 401.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.5311, allocations: 0.8138 MB / 402.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.423e-05/0.5312, allocations: 8.547 kB / 402.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.5312, allocations: 11.31 kB / 402.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.761e-06/0.5312, allocations: 4 kB / 402.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Templates: time 0.008119/0.5394, allocations: 4.054 MB / 406.6 MB, free: 13.74 MB / 314.7 MB