Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.288e-05/5.287e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08488, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001988/0.08692, allocations: 1.186 MB / 268.1 MB, free: 15.28 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.08946, allocations: 0.8041 MB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.08956, allocations: 4 kB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.215e-05/0.08964, allocations: 3.938 kB / 268.9 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.08976, allocations: 19.95 kB / 268.9 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.08999, allocations: 27.97 kB / 269 MB, free: 14.42 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.09012, allocations: 51.88 kB / 269 MB, free: 14.37 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.09022, allocations: 15.98 kB / 269 MB, free: 14.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.09093, allocations: 419.3 kB / 269.4 MB, free: 13.94 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.0911, allocations: 67.89 kB / 269.5 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.09116, allocations: 4 kB / 269.5 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.09122, allocations: 4 kB / 269.5 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.09134, allocations: 59.77 kB / 269.6 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.98e-05/0.09145, allocations: 16 kB / 269.6 MB, free: 13.79 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.09186, allocations: 295.3 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.09187, allocations: 4 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.09189, allocations: 0 / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.09191, allocations: 3.938 kB / 269.9 MB, free: 13.5 MB / 234.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.0007383/0.09265, allocations: 0.6069 MB / 270.5 MB, free: 12.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.09271, allocations: 8.031 kB / 270.5 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.09282, allocations: 39.53 kB / 270.5 MB, free: 12.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.09321, allocations: 257.4 kB / 270.8 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.09325, allocations: 7.953 kB / 270.8 MB, free: 12.47 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.09331, allocations: 8 kB / 270.8 MB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.09376, allocations: 129.6 kB / 270.9 MB, free: 12.33 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.09378, allocations: 3.938 kB / 270.9 MB, free: 12.33 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.09383, allocations: 8 kB / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.09385, allocations: 0 / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.09409, allocations: 55.97 kB / 271 MB, free: 12.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000917/0.09502, allocations: 464.6 kB / 271.4 MB, free: 11.76 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.09534, allocations: 98.48 kB / 271.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.09536, allocations: 0 / 271.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.09582, allocations: 210.8 kB / 271.8 MB, free: 11.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.09584, allocations: 0 / 271.8 MB, free: 11.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001378/0.09722, allocations: 0.6115 MB / 272.4 MB, free: 10.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.09736, allocations: 170.2 kB / 272.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.09833, allocations: 472.4 kB / 273 MB, free: 10.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.09839, allocations: 33.7 kB / 273 MB, free: 10.04 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.09849, allocations: 93.12 kB / 273.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.09856, allocations: 23.72 kB / 273.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.0986, allocations: 4 kB / 273.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.09876, allocations: 326.8 kB / 273.5 MB, free: 9.582 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.09898, allocations: 59.97 kB / 273.5 MB, free: 9.523 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.09922, allocations: 65.69 kB / 273.6 MB, free: 9.453 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.09952, allocations: 178.7 kB / 273.8 MB, free: 9.254 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.09953, allocations: 0 / 273.8 MB, free: 9.254 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008974/0.1004, allocations: 372.4 kB / 274.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.1006, allocations: 128 kB / 274.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1006, allocations: 0 / 274.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1006, allocations: 0 / 274.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.639e-05/0.1007, allocations: 7.938 kB / 274.3 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1007, allocations: 0 / 274.3 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.1009, allocations: 27.86 kB / 274.3 MB, free: 8.676 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.1011, allocations: 55.94 kB / 274.3 MB, free: 8.621 MB / 234.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.0005269/0.1016, allocations: 366.9 kB / 274.7 MB, free: 8.23 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.1017, allocations: 35.62 kB / 274.7 MB, free: 8.195 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1019, allocations: 71.12 kB / 274.8 MB, free: 8.121 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1019, allocations: 4 kB / 274.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1019, allocations: 0 / 274.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1019, allocations: 0 / 274.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.1034, allocations: 0.802 MB / 275.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1034, allocations: 0 / 275.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.1035, allocations: 4 kB / 275.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1035, allocations: 0 / 275.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.1035, allocations: 15.98 kB / 275.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1035, allocations: 4 kB / 275.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1035, allocations: 0 / 275.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1046, allocations: 0.5212 MB / 276.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.1051, allocations: 244.5 kB / 276.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.1052, allocations: 16 kB / 276.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1055, allocations: 11.91 kB / 276.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.1056, allocations: 27.97 kB / 276.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.934e-05/0.1057, allocations: 59.92 kB / 276.5 MB, free: 6.277 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0007497/0.1065, allocations: 382.9 kB / 276.9 MB, free: 5.906 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.1065, allocations: 0 / 276.9 MB, free: 5.906 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005622/0.1071, allocations: 51.94 kB / 276.9 MB, free: 5.855 MB / 234.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.0004056/0.1075, allocations: 127.1 kB / 277 MB, free: 5.723 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.1088, allocations: 437.5 kB / 277.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1089, allocations: 0 / 277.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.1094, allocations: 381.5 kB / 277.8 MB, free: 4.824 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.1102, allocations: 107.8 kB / 278 MB, free: 4.723 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1119, allocations: 0.7388 MB / 278.7 MB, free: 3.953 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.1125, allocations: 0.8064 MB / 279.5 MB, free: 3.121 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.205e-05/0.1126, allocations: 8.656 kB / 279.5 MB, free: 3.105 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1127, allocations: 11.44 kB / 279.5 MB, free: 3.098 MB / 234.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1127, allocations: 0 / 279.5 MB, free: 3.098 MB / 234.7 MB Notification: Performance of Templates: time 0.01097/0.1236, allocations: 4.074 MB / 283.6 MB, free: 14.94 MB / 250.7 MB