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_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.87e-05, allocations: 4 kB / 255.4 MB, free: 2.738 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07652/0.07657, allocations: 44.5 MB / 299.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4367, allocations: 78.12 MB / 378 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.437, allocations: 66.95 kB / 378.1 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08224/0.5192, allocations: 31.2 MB / 409.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.191e-06/0.5193, allocations: 0 / 409.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.5193, allocations: 19.56 kB / 409.3 MB, free: 15.71 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001272/0.5206, allocations: 1.295 MB / 410.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5207, allocations: 11.62 kB / 410.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.5209, allocations: 132 kB / 410.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.5216, allocations: 0.5119 MB / 411.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.5217, allocations: 27.12 kB / 411.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.5218, allocations: 31.27 kB / 411.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5229, allocations: 0.6122 MB / 411.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5229, allocations: 0 / 411.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.523, allocations: 15.05 kB / 411.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-06/0.523, allocations: 3.938 kB / 411.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.5238, allocations: 457.7 kB / 412.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.5255, allocations: 1.099 MB / 413.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.5265, allocations: 0.6898 MB / 414.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000935/0.5274, allocations: 0.6733 MB / 414.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.5275, allocations: 3.844 kB / 414.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.5285, allocations: 0.7568 MB / 415.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.241e-06/0.5285, allocations: 0 / 415.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002354/0.5309, allocations: 1.409 MB / 417 MB, free: 12.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.5311, allocations: 326.5 kB / 417.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.5339, allocations: 1.601 MB / 418.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5341, allocations: 52.34 kB / 419 MB, free: 11.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5344, allocations: 234.9 kB / 419.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5345, allocations: 85.06 kB / 419.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.5346, allocations: 15.73 kB / 419.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5348, allocations: 384.9 kB / 419.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.5356, allocations: 444.6 kB / 420.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/0.5364, allocations: 445.6 kB / 420.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.5371, allocations: 0.5908 MB / 421.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.642e-06/0.5371, allocations: 0 / 421.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002148/0.5393, allocations: 1.345 MB / 422.5 MB, free: 9.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.5395, allocations: 295.3 kB / 422.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-06/0.5395, allocations: 3.969 kB / 422.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5395, allocations: 3.953 kB / 422.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.879e-05/0.5396, allocations: 0 / 422.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.481e-06/0.5396, allocations: 3.938 kB / 422.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.5401, allocations: 42.44 kB / 422.8 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.5403, allocations: 151.6 kB / 423 MB, free: 9.652 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: 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.0004386/0.5407, allocations: 472.3 kB / 423.4 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.5409, allocations: 136.8 kB / 423.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006908/0.5416, allocations: 249.8 kB / 423.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-06/0.5417, allocations: 3.906 kB / 423.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5417, allocations: 3.953 kB / 423.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.563e-06/0.5417, allocations: 0 / 423.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.5453, allocations: 2.4 MB / 426.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-06/0.5454, allocations: 0 / 426.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.5454, allocations: 3.625 kB / 426.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.851e-06/0.5454, allocations: 0 / 426.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.5455, allocations: 42.23 kB / 426.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.191e-06/0.5455, allocations: 7.812 kB / 426.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5455, allocations: 0 / 426.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.5481, allocations: 1.612 MB / 427.9 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.5494, allocations: 0.6778 MB / 428.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.5497, allocations: 61.78 kB / 428.6 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.5502, allocations: 45.86 kB / 428.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.5508, allocations: 356.9 kB / 429 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.551, allocations: 155.2 kB / 429.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002276/0.5533, allocations: 1.313 MB / 430.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.5533, allocations: 0 / 430.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000647/0.554, allocations: 158 kB / 430.6 MB, free: 6.332 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: 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.000281/0.5543, allocations: 189 kB / 430.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.5565, allocations: 1.915 MB / 432.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.199e-06/0.5565, allocations: 0 / 432.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.5579, allocations: 1.39 MB / 434.1 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.559, allocations: 306.9 kB / 434.4 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.5632, allocations: 2.467 MB / 436.9 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.5645, allocations: 1.224 MB / 438.1 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.5648, allocations: 191 kB / 438.3 MB, free: 17.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.5649, allocations: 27.44 kB / 438.3 MB, free: 17.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.62e-06/0.5649, allocations: 3.938 kB / 438.3 MB, free: 17.18 MB / 330.7 MB Notification: Performance of Templates: time 0.03268/0.5976, allocations: 16.65 MB / 455 MB, free: 152 kB / 330.7 MB