Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.933e-05, allocations: 4 kB / 292.7 MB, free: 8.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09822, allocations: 50.42 MB / 343.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.5044, allocations: 83.51 MB / 426.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5046, allocations: 63.59 kB / 426.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09622/0.6009, allocations: 31.53 MB / 458.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.316e-06/0.6009, allocations: 0 / 458.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.296e-05/0.601, allocations: 16 kB / 458.2 MB, free: 15.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001922/0.6029, allocations: 1.299 MB / 459.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.6029, allocations: 8.031 kB / 459.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.6032, allocations: 130.5 kB / 459.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.6042, allocations: 0.5129 MB / 460.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.6043, allocations: 35.88 kB / 460.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6044, allocations: 28 kB / 460.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.6058, allocations: 0.6183 MB / 460.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6058, allocations: 3.938 kB / 460.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.6059, allocations: 12 kB / 460.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.374e-06/0.6059, allocations: 4 kB / 460.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009442/0.6069, allocations: 459.7 kB / 461.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.6094, allocations: 1.08 MB / 462.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.6107, allocations: 0.6936 MB / 463.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.6119, allocations: 0.6728 MB / 463.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.6119, allocations: 0 / 463.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.6133, allocations: 0.7633 MB / 464.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 4.195e-06/0.6133, allocations: 0 / 464.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002855/0.6162, allocations: 1.403 MB / 465.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002865/0.6165, allocations: 332.9 kB / 466.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/0.6202, allocations: 1.606 MB / 467.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.6204, allocations: 41.7 kB / 467.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.6208, allocations: 234.5 kB / 468.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.621, allocations: 87.12 kB / 468.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.6211, allocations: 19.94 kB / 468.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002824/0.6214, allocations: 378.7 kB / 468.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009354/0.6223, allocations: 448 kB / 469 MB, free: 4.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/0.6232, allocations: 463.8 kB / 469.5 MB, free: 4.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.6242, allocations: 0.5795 MB / 470 MB, free: 3.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/0.6242, allocations: 3.953 kB / 470.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002643/0.6269, allocations: 1.347 MB / 471.4 MB, free: 2.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.6272, allocations: 293.5 kB / 471.7 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6272, allocations: 4 kB / 471.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6273, allocations: 0 / 471.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.17e-05/0.6273, allocations: 0 / 471.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6273, allocations: 4 kB / 471.7 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.6279, allocations: 43.91 kB / 471.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.6282, allocations: 151.9 kB / 471.9 MB, free: 1.508 MB / 378.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0006177/0.6288, allocations: 462.5 kB / 472.3 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.6291, allocations: 138.4 kB / 472.5 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/0.6299, allocations: 243.8 kB / 472.7 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.6299, allocations: 0 / 472.7 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6299, allocations: 7.984 kB / 472.7 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-06/0.6299, allocations: 0 / 472.7 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004866/0.6348, allocations: 2.404 MB / 475.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.821e-06/0.6349, allocations: 3.984 kB / 475.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.6349, allocations: 7.938 kB / 475.1 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.622e-06/0.6349, allocations: 0 / 475.1 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.635, allocations: 35.98 kB / 475.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.943e-06/0.6351, allocations: 0 / 475.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.076e-06/0.6351, allocations: 3.984 kB / 475.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.6382, allocations: 1.626 MB / 476.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/0.6399, allocations: 0.6824 MB / 477.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.6402, allocations: 63.95 kB / 477.5 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.6409, allocations: 35.97 kB / 477.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008056/0.6417, allocations: 351.7 kB / 477.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004365/0.6422, allocations: 163.8 kB / 478.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005303/0.6475, allocations: 1.323 MB / 479.4 MB, free: 9.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.389e-06/0.6476, allocations: 0 / 479.4 MB, free: 9.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001452/0.649, allocations: 156 kB / 479.6 MB, free: 9.562 MB / 394.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.0006147/0.6497, allocations: 189.7 kB / 479.7 MB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004949/0.6547, allocations: 1.901 MB / 481.6 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.79e-06/0.6547, allocations: 4 kB / 481.6 MB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.6576, allocations: 1.39 MB / 483 MB, free: 5.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.6591, allocations: 306.1 kB / 483.3 MB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.6648, allocations: 2.469 MB / 485.8 MB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.6664, allocations: 1.225 MB / 487 MB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000498/0.6669, allocations: 195 kB / 487.2 MB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.667, allocations: 27.44 kB / 487.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of SimCode: time 1.645e-06/0.667, allocations: 0 / 487.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of Templates: time 0.03449/0.7015, allocations: 16.65 MB / 0.4921 GB, free: 0.6289 MB / 410.7 MB