Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.822/1.822, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.118e-05, allocations: 4 kB / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08519/0.08524, allocations: 38.76 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002149/0.08745, allocations: 1.19 MB / 268.1 MB, free: 15.28 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.09001, allocations: 0.8041 MB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.09012, allocations: 4 kB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.807e-05/0.09021, allocations: 7.922 kB / 268.9 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.09032, allocations: 11.98 kB / 268.9 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.09058, allocations: 35.95 kB / 269 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.09071, allocations: 51.88 kB / 269 MB, free: 14.36 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.09081, allocations: 11.98 kB / 269 MB, free: 14.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.09151, allocations: 419.3 kB / 269.4 MB, free: 13.94 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.0917, allocations: 71.89 kB / 269.5 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.09176, allocations: 4 kB / 269.5 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.09182, allocations: 4 kB / 269.5 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.09194, allocations: 59.77 kB / 269.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.09203, allocations: 12 kB / 269.6 MB, free: 13.79 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.09245, allocations: 303.3 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09246, allocations: 0 / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.112e-06/0.09248, allocations: 0 / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.0925, allocations: 3.938 kB / 269.9 MB, free: 13.49 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.0007643/0.09327, allocations: 0.6069 MB / 270.5 MB, free: 12.81 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.09333, allocations: 8.031 kB / 270.5 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.09345, allocations: 39.53 kB / 270.5 MB, free: 12.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.09387, allocations: 257.4 kB / 270.8 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.09391, allocations: 7.953 kB / 270.8 MB, free: 12.47 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.09397, allocations: 8 kB / 270.8 MB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.09449, allocations: 141.5 kB / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.09452, allocations: 0 / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.09457, allocations: 8 kB / 270.9 MB, free: 12.31 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.09458, allocations: 0 / 270.9 MB, free: 12.31 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.09483, allocations: 55.97 kB / 271 MB, free: 12.25 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.09589, allocations: 460.6 kB / 271.5 MB, free: 11.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.09625, allocations: 98.48 kB / 271.5 MB, free: 11.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.09628, allocations: 0 / 271.5 MB, free: 11.65 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.0968, allocations: 218.8 kB / 271.8 MB, free: 11.41 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.09682, allocations: 0 / 271.8 MB, free: 11.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001425/0.09826, allocations: 0.6076 MB / 272.4 MB, free: 10.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.09844, allocations: 170.2 kB / 272.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/0.09946, allocations: 464.4 kB / 273 MB, free: 10.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.09955, allocations: 29.7 kB / 273 MB, free: 10.04 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.09966, allocations: 101.1 kB / 273.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.09974, allocations: 23.72 kB / 273.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.09978, allocations: 4 kB / 273.1 MB, free: 9.902 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.09997, allocations: 326.8 kB / 273.5 MB, free: 9.574 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.1002, allocations: 59.97 kB / 273.5 MB, free: 9.516 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1005, allocations: 77.61 kB / 273.6 MB, free: 9.434 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1008, allocations: 162.8 kB / 273.8 MB, free: 9.25 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1008, allocations: 0 / 273.8 MB, free: 9.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009345/0.1017, allocations: 372.4 kB / 274.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1019, allocations: 130.7 kB / 274.2 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1019, allocations: 3.984 kB / 274.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1019, allocations: 0 / 274.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.102, allocations: 8.062 kB / 274.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.102, allocations: 0 / 274.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.1023, allocations: 23.88 kB / 274.3 MB, free: 8.668 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.1025, allocations: 59.92 kB / 274.3 MB, free: 8.609 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.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.0005801/0.1031, allocations: 362.8 kB / 274.7 MB, free: 8.223 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.1032, allocations: 35.62 kB / 274.7 MB, free: 8.188 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.1033, allocations: 67.14 kB / 274.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1033, allocations: 0 / 274.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1034, allocations: 0 / 274.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1034, allocations: 4 kB / 274.8 MB, free: 8.113 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.105, allocations: 0.8059 MB / 275.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.105, allocations: 0 / 275.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.105, allocations: 0 / 275.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1051, allocations: 4 kB / 275.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.1051, allocations: 12 kB / 275.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1051, allocations: 0 / 275.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1051, allocations: 3.938 kB / 275.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1063, allocations: 0.529 MB / 276.2 MB, free: 6.637 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.1069, allocations: 244.5 kB / 276.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.107, allocations: 12 kB / 276.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1072, allocations: 15.89 kB / 276.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.1074, allocations: 27.97 kB / 276.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.1075, allocations: 55.94 kB / 276.5 MB, free: 6.27 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0008177/0.1083, allocations: 386.8 kB / 276.9 MB, free: 5.895 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1084, allocations: 0 / 276.9 MB, free: 5.895 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004351/0.1088, allocations: 47.98 kB / 276.9 MB, free: 5.848 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,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.0002135/0.109, allocations: 126 kB / 277 MB, free: 5.715 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008495/0.1099, allocations: 441.5 kB / 277.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1099, allocations: 0 / 277.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.1105, allocations: 377.5 kB / 277.8 MB, free: 4.816 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.1113, allocations: 110.5 kB / 278 MB, free: 4.711 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1132, allocations: 0.7349 MB / 278.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.1138, allocations: 0.8103 MB / 279.5 MB, free: 3.109 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.1139, allocations: 12.64 kB / 279.5 MB, free: 3.09 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.114, allocations: 11.44 kB / 279.5 MB, free: 3.082 MB / 234.7 MB Notification: Performance of SimCode: time 1.353e-06/0.114, allocations: 0 / 279.5 MB, free: 3.082 MB / 234.7 MB Notification: Performance of Templates: time 0.01176/0.1258, allocations: 4.057 MB / 283.6 MB, free: 14.95 MB / 250.7 MB