Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.687e-05, allocations: 8 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 44.49 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.3707, allocations: 76.36 MB / 370.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.371, allocations: 79.78 kB / 370.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05306/0.4241, allocations: 16.34 MB / 386.9 MB, free: 5.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.533e-06/0.4241, allocations: 0 / 386.9 MB, free: 5.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4242, allocations: 4 kB / 386.9 MB, free: 5.219 MB / 330.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.0007579/0.4249, allocations: 0.6213 MB / 387.5 MB, free: 4.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.425, allocations: 8.031 kB / 387.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.4251, allocations: 35.58 kB / 387.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.4255, allocations: 255.7 kB / 387.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.4255, allocations: 7.984 kB / 387.8 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.4256, allocations: 8 kB / 387.8 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001781/0.4258, allocations: 47.98 kB / 387.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.4261, allocations: 131.3 kB / 388 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.059e-06/0.4261, allocations: 4 kB / 388 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.4261, allocations: 0 / 388 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.4262, allocations: 7.938 kB / 388 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.427, allocations: 433.1 kB / 388.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.4273, allocations: 94.5 kB / 388.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.4274, allocations: 80.84 kB / 388.6 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.4275, allocations: 4 kB / 388.6 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.4278, allocations: 194.7 kB / 388.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.794e-06/0.4279, allocations: 0 / 388.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000732/0.4286, allocations: 273.2 kB / 389.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.4287, allocations: 162.2 kB / 389.2 MB, free: 2.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.4296, allocations: 456.8 kB / 389.7 MB, free: 2.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.4297, allocations: 29.7 kB / 389.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4298, allocations: 163.8 kB / 389.8 MB, free: 2.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.4299, allocations: 31.64 kB / 389.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.4299, allocations: 4 kB / 389.9 MB, free: 1.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4301, allocations: 314.8 kB / 390.2 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4302, allocations: 47.98 kB / 390.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4304, allocations: 56.55 kB / 390.3 MB, free: 1.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4305, allocations: 44.67 kB / 390.3 MB, free: 1.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.925e-06/0.4305, allocations: 4 kB / 390.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006246/0.4312, allocations: 239.1 kB / 390.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.4313, allocations: 126.8 kB / 390.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.288e-06/0.4313, allocations: 8 kB / 390.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4314, allocations: 0 / 390.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.95e-05/0.4314, allocations: 0 / 390.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.483e-06/0.4314, allocations: 3.953 kB / 390.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.4316, allocations: 15.98 kB / 390.7 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.4317, allocations: 55.94 kB / 390.8 MB, free: 1.039 MB / 330.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,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,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.0002523/0.432, allocations: 245.8 kB / 391 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.4321, allocations: 39.53 kB / 391.1 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.4323, allocations: 63.44 kB / 391.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.4323, allocations: 112 / 391.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4323, allocations: 3.938 kB / 391.1 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-06/0.4323, allocations: 3.953 kB / 391.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.4336, allocations: 0.6513 MB / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-06/0.4336, allocations: 0 / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-06/0.4336, allocations: 0 / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.323e-06/0.4336, allocations: 4 kB / 391.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.4337, allocations: 15.94 kB / 391.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-06/0.4337, allocations: 0 / 391.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.689e-06/0.4337, allocations: 0 / 391.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.4345, allocations: 387 kB / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.435, allocations: 248.3 kB / 392.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.4351, allocations: 12 kB / 392.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.4353, allocations: 19.92 kB / 392.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4355, allocations: 27.97 kB / 392.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.4356, allocations: 60 kB / 392.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006788/0.4363, allocations: 378.6 kB / 392.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.4363, allocations: 0 / 392.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.4367, allocations: 40 kB / 392.9 MB, free: 14.76 MB / 346.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.0001809/0.4369, allocations: 117.9 kB / 393.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.4376, allocations: 417.6 kB / 393.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4376, allocations: 4 kB / 393.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.438, allocations: 369.5 kB / 393.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.4386, allocations: 95.8 kB / 393.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.44, allocations: 0.5571 MB / 394.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.4407, allocations: 0.8062 MB / 395.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.4407, allocations: 19.38 kB / 395.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.601e-06/0.4407, allocations: 0 / 395.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of Templates: time 0.005773/0.4465, allocations: 2.609 MB / 397.9 MB, free: 9.559 MB / 346.7 MB