Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.127e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08531, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.335/0.4204, allocations: 82.11 MB / 399 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.4207, allocations: 66.53 kB / 399.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08701/0.5077, allocations: 27.95 MB / 427 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5077, allocations: 0 / 427 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.5078, allocations: 12 kB / 427.1 MB, free: 14.59 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001316/0.5091, allocations: 1.004 MB / 428.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5092, allocations: 8.031 kB / 428.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.5094, allocations: 90.97 kB / 428.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/0.5101, allocations: 424 kB / 428.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.5102, allocations: 27.19 kB / 428.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.5103, allocations: 23.5 kB / 428.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.5115, allocations: 0.5102 MB / 429.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5115, allocations: 0 / 429.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.5116, allocations: 11.56 kB / 429.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.43e-06/0.5116, allocations: 4 kB / 429.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.5124, allocations: 353.7 kB / 429.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.5142, allocations: 0.867 MB / 430.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.5151, allocations: 0.5074 MB / 430.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/0.5159, allocations: 497.6 kB / 431.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.516, allocations: 4 kB / 431.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.5171, allocations: 0.647 MB / 432 MB, free: 10.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 4.041e-06/0.5171, allocations: 0 / 432 MB, free: 10.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002311/0.5194, allocations: 1.174 MB / 433.2 MB, free: 9.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002433/0.5197, allocations: 281.7 kB / 433.5 MB, free: 9.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.5218, allocations: 1.035 MB / 434.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.5219, allocations: 45.62 kB / 434.5 MB, free: 8.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5221, allocations: 141.3 kB / 434.7 MB, free: 8.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.5222, allocations: 78.91 kB / 434.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.5223, allocations: 15.88 kB / 434.8 MB, free: 8.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5225, allocations: 338.4 kB / 435.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.5232, allocations: 349.8 kB / 435.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.524, allocations: 359.5 kB / 435.8 MB, free: 7.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.5247, allocations: 495.7 kB / 436.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-06/0.5247, allocations: 3.938 kB / 436.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002197/0.5269, allocations: 1.127 MB / 437.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.5272, allocations: 238.1 kB / 437.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.801e-06/0.5272, allocations: 0 / 437.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5273, allocations: 4 kB / 437.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.102e-05/0.5273, allocations: 4 kB / 437.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5273, allocations: 0 / 437.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.5278, allocations: 47.56 kB / 437.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.5281, allocations: 156.1 kB / 437.8 MB, free: 5.367 MB / 346.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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0005109/0.5286, allocations: 407.2 kB / 438.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.5288, allocations: 90.95 kB / 438.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.5293, allocations: 145 kB / 438.5 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-06/0.5293, allocations: 4 kB / 438.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.765e-06/0.5293, allocations: 0 / 438.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-06/0.5293, allocations: 3.984 kB / 438.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.5329, allocations: 1.952 MB / 440.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.142e-06/0.5329, allocations: 4 kB / 440.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.5329, allocations: 0 / 440.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.077e-06/0.533, allocations: 3.938 kB / 440.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.5331, allocations: 43.09 kB / 440.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-06/0.5331, allocations: 0 / 440.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-06/0.5331, allocations: 0 / 440.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.5356, allocations: 1.384 MB / 441.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.5368, allocations: 0.565 MB / 442.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.537, allocations: 58.72 kB / 442.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.5375, allocations: 38.88 kB / 442.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000548/0.5381, allocations: 239.7 kB / 442.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/0.5383, allocations: 151.9 kB / 442.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001739/0.5401, allocations: 0.8656 MB / 443.8 MB, free: 116 kB / 346.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.5401, allocations: 0 / 443.8 MB, free: 116 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006743/0.5408, allocations: 124 kB / 443.9 MB, free: 15.99 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.0003292/0.5411, allocations: 180.4 kB / 444.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.5436, allocations: 1.507 MB / 445.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5436, allocations: 0 / 445.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.5452, allocations: 1.121 MB / 446.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.5465, allocations: 274.4 kB / 447 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.5502, allocations: 1.722 MB / 448.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.5514, allocations: 1.046 MB / 449.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.5517, allocations: 41.39 kB / 449.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.5517, allocations: 19.44 kB / 449.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5517, allocations: 0 / 449.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of Templates: time 0.02689/0.5786, allocations: 13.54 MB / 463.3 MB, free: 12.09 MB / 378.7 MB