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.2_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.964e-05, allocations: 8 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002324/0.3184, allocations: 1.395 MB / 304.7 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.3213, allocations: 0.9214 MB / 305.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3215, allocations: 4.25 kB / 305.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.3217, allocations: 20.91 kB / 305.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.3219, allocations: 36.17 kB / 305.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.3222, allocations: 69.5 kB / 305.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.3225, allocations: 147.7 kB / 305.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.3228, allocations: 59.62 kB / 306 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.3239, allocations: 0.6979 MB / 306.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.3243, allocations: 179.6 kB / 306.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3244, allocations: 8 kB / 306.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3245, allocations: 8 kB / 306.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.3248, allocations: 151.5 kB / 307 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.3251, allocations: 44 kB / 307 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.3262, allocations: 0.8675 MB / 307.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3262, allocations: 0 / 307.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3263, allocations: 4 kB / 307.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.3263, allocations: 0 / 307.9 MB, free: 8.984 MB / 250.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.001377/0.3277, allocations: 0.9931 MB / 308.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3277, allocations: 8.031 kB / 308.9 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.328, allocations: 98.91 kB / 309 MB, free: 7.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.3288, allocations: 415.5 kB / 309.4 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.3289, allocations: 19.98 kB / 309.4 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.329, allocations: 24 kB / 309.5 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.3304, allocations: 0.5022 MB / 310 MB, free: 6.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3305, allocations: 4 kB / 310 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.3306, allocations: 12 kB / 310 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3306, allocations: 4 kB / 310 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3316, allocations: 372 kB / 310.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.3337, allocations: 0.8559 MB / 311.2 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.335, allocations: 0.5101 MB / 311.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.335, allocations: 0 / 311.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.3365, allocations: 0.6587 MB / 312.4 MB, free: 4.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.3365, allocations: 4 kB / 312.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.004142/0.3407, allocations: 1.783 MB / 314.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002501/0.341, allocations: 279.3 kB / 314.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.3435, allocations: 1.031 MB / 315.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.3438, allocations: 45.69 kB / 315.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.344, allocations: 149.8 kB / 315.7 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.3442, allocations: 79.14 kB / 315.7 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.3442, allocations: 12 kB / 315.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3444, allocations: 350.7 kB / 316.1 MB, free: 400 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009608/0.3454, allocations: 352.1 kB / 316.4 MB, free: 48 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.3464, allocations: 378.1 kB / 316.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.3474, allocations: 499.6 kB / 317.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3474, allocations: 7.953 kB / 317.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002826/0.3503, allocations: 1.122 MB / 318.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.3506, allocations: 243.9 kB / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3506, allocations: 4.062 kB / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3507, allocations: 4 kB / 318.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.3507, allocations: 0 / 318.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3508, allocations: 7.938 kB / 318.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.3514, allocations: 39.88 kB / 318.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/0.3517, allocations: 124.2 kB / 318.8 MB, free: 13.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,$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,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,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.001563/0.3533, allocations: 0.7641 MB / 319.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.3535, allocations: 87.02 kB / 319.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.354, allocations: 155.7 kB / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.354, allocations: 4 kB / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.354, allocations: 0 / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.354, allocations: 0 / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.3587, allocations: 1.978 MB / 321.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3587, allocations: 4 kB / 321.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.3587, allocations: 0 / 321.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3588, allocations: 4 kB / 321.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.3589, allocations: 31.98 kB / 321.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.3589, allocations: 3.938 kB / 321.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3589, allocations: 7.938 kB / 321.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.3621, allocations: 1.396 MB / 323.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.3636, allocations: 0.562 MB / 323.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.364, allocations: 63.97 kB / 323.9 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.3646, allocations: 35.84 kB / 323.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/0.3653, allocations: 239.7 kB / 324.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/0.3655, allocations: 151.9 kB / 324.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.3676, allocations: 0.8616 MB / 325.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3677, allocations: 0 / 325.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.3685, allocations: 124 kB / 325.3 MB, free: 6.809 MB / 266.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.0003922/0.3689, allocations: 196.4 kB / 325.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002926/0.3718, allocations: 1.523 MB / 327 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3719, allocations: 0 / 327 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.3737, allocations: 1.121 MB / 328.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.3758, allocations: 277.8 kB / 328.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.3807, allocations: 2.154 MB / 330.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.3819, allocations: 1.046 MB / 331.6 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.3821, allocations: 41.48 kB / 331.6 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.3822, allocations: 15.44 kB / 331.7 MB, free: 208 kB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3822, allocations: 0 / 331.7 MB, free: 208 kB / 266.7 MB Notification: Performance of Templates: time 0.03032/0.4125, allocations: 13.33 MB / 345 MB, free: 2.633 MB / 282.7 MB