Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.173e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.0994, allocations: 38.78 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00207/0.1015, allocations: 1.187 MB / 268.1 MB, free: 15.92 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.1041, allocations: 0.8095 MB / 268.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.1042, allocations: 0 / 268.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.126e-05/0.1043, allocations: 4 kB / 268.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.1044, allocations: 19.91 kB / 268.9 MB, free: 15.09 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1046, allocations: 27.97 kB / 268.9 MB, free: 15.06 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1048, allocations: 51.88 kB / 269 MB, free: 15.01 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.1049, allocations: 11.98 kB / 269 MB, free: 15 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.1056, allocations: 419.3 kB / 269.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1058, allocations: 71.89 kB / 269.5 MB, free: 14.52 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.1058, allocations: 0 / 269.5 MB, free: 14.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.1059, allocations: 4 kB / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.106, allocations: 71.75 kB / 269.6 MB, free: 14.44 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1061, allocations: 16 kB / 269.6 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.1065, allocations: 287.3 kB / 269.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1065, allocations: 0 / 269.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1065, allocations: 0 / 269.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.1066, allocations: 0 / 269.9 MB, free: 14.14 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.0007204/0.1073, allocations: 0.6147 MB / 270.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1074, allocations: 8.031 kB / 270.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.1075, allocations: 39.53 kB / 270.5 MB, free: 13.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.1078, allocations: 253.5 kB / 270.8 MB, free: 13.12 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1079, allocations: 15.89 kB / 270.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.1079, allocations: 16 kB / 270.8 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1084, allocations: 121.6 kB / 270.9 MB, free: 12.97 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1084, allocations: 0 / 270.9 MB, free: 12.97 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.1085, allocations: 4 kB / 270.9 MB, free: 12.96 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1085, allocations: 4 kB / 270.9 MB, free: 12.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.1087, allocations: 59.91 kB / 271 MB, free: 12.9 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/0.1097, allocations: 464.5 kB / 271.4 MB, free: 12.4 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.11, allocations: 102.5 kB / 271.5 MB, free: 12.29 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1101, allocations: 0 / 271.5 MB, free: 12.29 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.1105, allocations: 206.8 kB / 271.7 MB, free: 12.06 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.1105, allocations: 0 / 271.7 MB, free: 12.06 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001405/0.112, allocations: 0.6076 MB / 272.3 MB, free: 11.39 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.1121, allocations: 170.2 kB / 272.5 MB, free: 11.18 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009886/0.1131, allocations: 468.4 kB / 273 MB, free: 10.72 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.1132, allocations: 33.7 kB / 273 MB, free: 10.68 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1133, allocations: 163.6 kB / 273.2 MB, free: 10.52 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.1134, allocations: 27.69 kB / 273.2 MB, free: 10.49 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.1134, allocations: 4 kB / 273.2 MB, free: 10.48 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1136, allocations: 318.8 kB / 273.5 MB, free: 10.16 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.1139, allocations: 55.97 kB / 273.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1141, allocations: 81.67 kB / 273.6 MB, free: 10.02 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.1144, allocations: 158.8 kB / 273.8 MB, free: 9.844 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1144, allocations: 0 / 273.8 MB, free: 9.844 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009215/0.1154, allocations: 376.3 kB / 274.2 MB, free: 9.445 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.1155, allocations: 122.9 kB / 274.3 MB, free: 9.301 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1155, allocations: 3.938 kB / 274.3 MB, free: 9.297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.1156, allocations: 0 / 274.3 MB, free: 9.297 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.1156, allocations: 7.984 kB / 274.3 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1156, allocations: 0 / 274.3 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1159, allocations: 19.97 kB / 274.3 MB, free: 9.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.1161, allocations: 63.92 kB / 274.4 MB, free: 9.207 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.000573/0.1167, allocations: 366.7 kB / 274.7 MB, free: 8.816 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.1168, allocations: 35.62 kB / 274.8 MB, free: 8.781 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.1169, allocations: 59.16 kB / 274.8 MB, free: 8.719 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1169, allocations: 4 kB / 274.8 MB, free: 8.715 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.117, allocations: 0 / 274.8 MB, free: 8.715 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.117, allocations: 0 / 274.8 MB, free: 8.715 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.1186, allocations: 0.8099 MB / 275.6 MB, free: 7.824 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.1186, allocations: 4.062 kB / 275.6 MB, free: 7.82 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.1186, allocations: 7.938 kB / 275.6 MB, free: 7.812 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1187, allocations: 0 / 275.6 MB, free: 7.812 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.1187, allocations: 15.94 kB / 275.7 MB, free: 7.797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1187, allocations: 4 kB / 275.7 MB, free: 7.793 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1187, allocations: 3.984 kB / 275.7 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1198, allocations: 0.5252 MB / 276.2 MB, free: 7.223 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.1204, allocations: 244.4 kB / 276.4 MB, free: 6.965 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.1205, allocations: 8 kB / 276.4 MB, free: 6.957 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.1208, allocations: 15.98 kB / 276.5 MB, free: 6.941 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.121, allocations: 23.97 kB / 276.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.1211, allocations: 59.94 kB / 276.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0008186/0.1219, allocations: 386.9 kB / 276.9 MB, free: 6.484 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1219, allocations: 0 / 276.9 MB, free: 6.484 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004137/0.1223, allocations: 44 kB / 277 MB, free: 6.441 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.0002166/0.1226, allocations: 125.8 kB / 277.1 MB, free: 6.309 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008116/0.1234, allocations: 437.5 kB / 277.5 MB, free: 5.832 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1234, allocations: 0 / 277.5 MB, free: 5.832 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.1239, allocations: 373.6 kB / 277.9 MB, free: 5.418 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.1248, allocations: 105 kB / 278 MB, free: 5.316 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1267, allocations: 0.7834 MB / 278.8 MB, free: 4.496 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.1273, allocations: 0.8024 MB / 279.6 MB, free: 3.668 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1273, allocations: 11.44 kB / 279.6 MB, free: 3.656 MB / 234.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1273, allocations: 0 / 279.6 MB, free: 3.656 MB / 234.7 MB Notification: Performance of Templates: time 0.006745/0.1341, allocations: 2.63 MB / 282.2 MB, free: 0.9648 MB / 234.7 MB