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.1_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 1.734/1.734, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.973e-05, allocations: 0 / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.4583, allocations: 72.57 MB / 336.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4585, allocations: 71.94 kB / 336.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08497/0.5435, allocations: 27.84 MB / 364.3 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.248e-06/0.5436, allocations: 0 / 364.3 MB, free: 5.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.5436, allocations: 8 kB / 364.3 MB, free: 5.227 MB / 314.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.00136/0.545, allocations: 1.015 MB / 365.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.545, allocations: 8.031 kB / 365.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.5452, allocations: 87.06 kB / 365.4 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.546, allocations: 419.6 kB / 365.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.5461, allocations: 23.89 kB / 365.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.5462, allocations: 24 kB / 365.8 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.5473, allocations: 0.5022 MB / 366.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5473, allocations: 0 / 366.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.5474, allocations: 12 kB / 366.3 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.5475, allocations: 7.984 kB / 366.4 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.5482, allocations: 348.2 kB / 366.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.55, allocations: 0.8481 MB / 367.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.5509, allocations: 0.4984 MB / 368 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/0.5518, allocations: 496.7 kB / 368.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.5518, allocations: 0 / 368.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.553, allocations: 0.6508 MB / 369.2 MB, free: 76 kB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.304e-06/0.553, allocations: 0 / 369.2 MB, free: 76 kB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.1813/0.7342, allocations: 1.148 MB / 370.3 MB, free: 89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.7344, allocations: 280.5 kB / 370.6 MB, free: 88.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.7365, allocations: 1.02 MB / 371.6 MB, free: 88.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/0.7366, allocations: 47.86 kB / 371.7 MB, free: 88.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.7367, allocations: 144 kB / 371.8 MB, free: 88.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.7368, allocations: 86.53 kB / 371.9 MB, free: 88.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.7369, allocations: 11.95 kB / 371.9 MB, free: 88.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.737, allocations: 343.1 kB / 372.2 MB, free: 88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.7376, allocations: 342.1 kB / 372.6 MB, free: 88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.7383, allocations: 344.8 kB / 372.9 MB, free: 88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.7389, allocations: 493.8 kB / 373.4 MB, free: 87.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-06/0.7389, allocations: 0 / 373.4 MB, free: 87.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001866/0.7408, allocations: 1.099 MB / 374.5 MB, free: 87.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.741, allocations: 241.2 kB / 374.7 MB, free: 87.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.741, allocations: 0 / 374.7 MB, free: 87.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.741, allocations: 3.094 kB / 374.7 MB, free: 87.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.992e-05/0.741, allocations: 7.094 kB / 374.7 MB, free: 87.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.561e-06/0.7411, allocations: 7.562 kB / 374.7 MB, free: 87.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.7415, allocations: 42.3 kB / 374.8 MB, free: 87.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.7417, allocations: 145 kB / 374.9 MB, free: 87.28 MB / 314.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.0003557/0.7421, allocations: 415.2 kB / 375.3 MB, free: 86.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.7422, allocations: 93.53 kB / 375.4 MB, free: 86.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.7426, allocations: 151.1 kB / 375.6 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.426e-06/0.7426, allocations: 3.656 kB / 375.6 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.178e-06/0.7426, allocations: 0 / 375.6 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.691e-06/0.7426, allocations: 3.062 kB / 375.6 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.7456, allocations: 1.929 MB / 377.5 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-06/0.7456, allocations: 0 / 377.5 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.7457, allocations: 6.625 kB / 377.5 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.807e-06/0.7457, allocations: 0 / 377.5 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-05/0.7458, allocations: 41.78 kB / 377.6 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.693e-06/0.7458, allocations: 0 / 377.6 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-06/0.7458, allocations: 3.656 kB / 377.6 MB, free: 86.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.748, allocations: 1.367 MB / 378.9 MB, free: 85.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.7491, allocations: 0.5578 MB / 379.5 MB, free: 85.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.7493, allocations: 55.09 kB / 379.5 MB, free: 85.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.7498, allocations: 37.33 kB / 379.6 MB, free: 85.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/0.7503, allocations: 244.4 kB / 379.8 MB, free: 85.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.7506, allocations: 159.1 kB / 380 MB, free: 85.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001585/0.7522, allocations: 0.8462 MB / 380.8 MB, free: 85.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.84e-07/0.7522, allocations: 3.25 kB / 380.8 MB, free: 85.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.7528, allocations: 124 kB / 380.9 MB, free: 85.2 MB / 314.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.000276/0.7531, allocations: 194 kB / 381.1 MB, free: 85.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.755, allocations: 1.492 MB / 382.6 MB, free: 84.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.064e-06/0.755, allocations: 6.375 kB / 382.6 MB, free: 84.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.7561, allocations: 1.098 MB / 383.7 MB, free: 83.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.7573, allocations: 280.6 kB / 384 MB, free: 83.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.7604, allocations: 1.708 MB / 385.7 MB, free: 82.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.7612, allocations: 1.035 MB / 386.7 MB, free: 81.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.7613, allocations: 44.39 kB / 386.8 MB, free: 81.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.7614, allocations: 19.44 kB / 386.8 MB, free: 81.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.799e-06/0.7614, allocations: 4 kB / 386.8 MB, free: 81.2 MB / 314.7 MB Notification: Performance of Templates: time 0.02043/0.7818, allocations: 13.49 MB / 400.3 MB, free: 69.69 MB / 314.7 MB