Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.272e-05/5.292e-05, allocations: 4 kB / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.5023, allocations: 82.39 MB / 424.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.5026, allocations: 77.14 kB / 425 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05271/0.5553, allocations: 16.71 MB / 441.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.5553, allocations: 0 / 441.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.5554, allocations: 4 kB / 441.7 MB, free: 13.77 MB / 362.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.0007463/0.5561, allocations: 0.6103 MB / 442.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5562, allocations: 12.03 kB / 442.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.5563, allocations: 35.61 kB / 442.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5567, allocations: 260.9 kB / 442.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.5567, allocations: 8 kB / 442.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.5568, allocations: 11.06 kB / 442.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.5571, allocations: 127.3 kB / 442.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5571, allocations: 0 / 442.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.5571, allocations: 4 kB / 442.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.304e-06/0.5572, allocations: 0 / 442.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5573, allocations: 62.41 kB / 442.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.5582, allocations: 465.9 kB / 443.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.5584, allocations: 92.19 kB / 443.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.5586, allocations: 86.22 kB / 443.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.5587, allocations: 0 / 443.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.5591, allocations: 209.8 kB / 443.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.024e-06/0.5591, allocations: 4 kB / 443.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008384/0.5599, allocations: 389.2 kB / 444.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.5601, allocations: 165.8 kB / 444.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.561, allocations: 463.8 kB / 444.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.561, allocations: 33.69 kB / 444.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.5611, allocations: 95.33 kB / 444.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.5612, allocations: 34.88 kB / 444.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.5612, allocations: 3.188 kB / 444.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5614, allocations: 326 kB / 445.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5616, allocations: 55.31 kB / 445.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.5617, allocations: 58.36 kB / 445.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.562, allocations: 165.8 kB / 445.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.436e-06/0.562, allocations: 7.938 kB / 445.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007304/0.5627, allocations: 370.1 kB / 445.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.5629, allocations: 125.5 kB / 445.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5629, allocations: 0 / 445.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5629, allocations: 0 / 445.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/0.5629, allocations: 3.938 kB / 445.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-06/0.563, allocations: 4.156 kB / 445.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5632, allocations: 15.98 kB / 446 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/0.5633, allocations: 60 kB / 446 MB, free: 9.578 MB / 362.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.0002433/0.5636, allocations: 241.8 kB / 446.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.5636, allocations: 43.48 kB / 446.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.5638, allocations: 66.39 kB / 446.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.765e-06/0.5639, allocations: 112 / 446.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5639, allocations: 3.938 kB / 446.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-06/0.5639, allocations: 7.984 kB / 446.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.5652, allocations: 0.7967 MB / 447.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-06/0.5652, allocations: 3.938 kB / 447.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-06/0.5653, allocations: 0 / 447.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.114e-06/0.5653, allocations: 0 / 447.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.5653, allocations: 12 kB / 447.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.278e-06/0.5653, allocations: 0 / 447.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.112e-06/0.5654, allocations: 0 / 447.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.5662, allocations: 0.523 MB / 447.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.5667, allocations: 249.4 kB / 447.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.5668, allocations: 11.62 kB / 448 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.567, allocations: 11.98 kB / 448 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5672, allocations: 31.2 kB / 448 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.5673, allocations: 63.86 kB / 448.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006467/0.568, allocations: 381.9 kB / 448.4 MB, free: 7.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.568, allocations: 4 kB / 448.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.5684, allocations: 44 kB / 448.5 MB, free: 7.246 MB / 362.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.00018/0.5686, allocations: 126.5 kB / 448.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.5692, allocations: 426.1 kB / 449 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5692, allocations: 4 kB / 449 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.5696, allocations: 371.3 kB / 449.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.5702, allocations: 94.81 kB / 449.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.5715, allocations: 0.5245 MB / 450 MB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.5722, allocations: 0.8129 MB / 450.8 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.033e-05/0.5722, allocations: 8.656 kB / 450.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.5723, allocations: 15.38 kB / 450.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.41e-06/0.5723, allocations: 0 / 450.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of Templates: time 0.009931/0.5822, allocations: 4.059 MB / 454.9 MB, free: 0.8711 MB / 362.7 MB