Running command: translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.index|table1.nextTime|table1.y|table2.index|table2.nextTime|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Logical") Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.576e-05, allocations: 0 / 304.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.328, allocations: 54.86 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.5266, allocations: 84.86 MB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.5268, allocations: 59.98 kB / 444.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02441/0.5513, allocations: 5.903 MB / 450.6 MB, free: 6.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5513, allocations: 0 / 450.6 MB, free: 6.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.5513, allocations: 8.844 kB / 450.6 MB, free: 6.129 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00146/0.5528, allocations: 0.7496 MB / 451.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.5529, allocations: 8.031 kB / 451.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.553, allocations: 43.53 kB / 451.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.5532, allocations: 219.5 kB / 451.6 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.5533, allocations: 28.78 kB / 451.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.5534, allocations: 44 kB / 451.7 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.5543, allocations: 373.4 kB / 452.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5543, allocations: 0 / 452.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.5544, allocations: 20.64 kB / 452.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5545, allocations: 11.95 kB / 452.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.5551, allocations: 241.5 kB / 452.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.5587, allocations: 0.9451 MB / 453.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.5608, allocations: 411.8 kB / 453.7 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.5614, allocations: 157.2 kB / 453.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.5615, allocations: 8.328 kB / 453.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.5624, allocations: 306 kB / 454.1 MB, free: 2.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 4.337e-06/0.5624, allocations: 0 / 454.1 MB, free: 2.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001107/0.5635, allocations: 464.4 kB / 454.6 MB, free: 1.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.5637, allocations: 200.3 kB / 454.8 MB, free: 1.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.564, allocations: 198.9 kB / 455 MB, free: 1.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.5641, allocations: 53.69 kB / 455 MB, free: 1.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.5643, allocations: 168.8 kB / 455.2 MB, free: 1.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5644, allocations: 116.4 kB / 455.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.5645, allocations: 12 kB / 455.3 MB, free: 1.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5647, allocations: 342.8 kB / 455.7 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.5651, allocations: 137.1 kB / 455.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.5655, allocations: 174.8 kB / 456 MB, free: 480 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.5659, allocations: 226.1 kB / 456.2 MB, free: 228 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-06/0.5659, allocations: 0 / 456.2 MB, free: 228 kB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00138/0.5673, allocations: 0.5569 MB / 456.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.5674, allocations: 118.8 kB / 456.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-06/0.5675, allocations: 0 / 456.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.5676, allocations: 32.84 kB / 456.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.5679, allocations: 43.91 kB / 456.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.5697, allocations: 1.424 MB / 458.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.5702, allocations: 83.86 kB / 458.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.5703, allocations: 20 kB / 458.5 MB, free: 13.75 MB / 394.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: 60 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.table1.y,table1.y,$PRE.table1.nextTime,table1.nextTime,$PRE.table1.index,table1.index,$PRE.table2.y,table2.y,$PRE.table2.nextTime,table2.nextTime,$PRE.table2.index,table2.index,and1.y,nor.u1,nand.u1,$PRE.pre1.u,pre1.u,$PRE.edge1.u,edge1.u,edge1.y,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u,$PRE.change1.u,change1.u,change1.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y,greater.y,greaterEqual.y,less.y,lessEqual.y,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.y,$PRE.hysteresis.y,hysteresis.y,$PRE.onOffController.y,onOffController.y,triggeredTrapezoid.endValue,triggeredTrapezoid.rate,triggeredTrapezoid.T,$PRE.timer.entryTime,timer.entryTime,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.5706, allocations: 216.2 kB / 458.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.5707, allocations: 35.61 kB / 458.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.201e-05/0.5708, allocations: 35.09 kB / 458.7 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.25e-06/0.5708, allocations: 4 kB / 458.7 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5708, allocations: 5.781 kB / 458.7 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-06/0.5708, allocations: 7.984 kB / 458.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.5728, allocations: 0.9624 MB / 459.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.785e-06/0.5729, allocations: 0 / 459.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.5731, allocations: 27.97 kB / 459.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.112e-06/0.5731, allocations: 7.938 kB / 459.8 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.5732, allocations: 15.98 kB / 459.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.88e-06/0.5732, allocations: 4 kB / 459.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.293e-06/0.5732, allocations: 0 / 459.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5743, allocations: 0.5851 MB / 460.4 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.5745, allocations: 108.7 kB / 460.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.5746, allocations: 12 kB / 460.5 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.5751, allocations: 79.92 kB / 460.6 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.5753, allocations: 71.66 kB / 460.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.5754, allocations: 19.98 kB / 460.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.5756, allocations: 141.1 kB / 460.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5756, allocations: 4 kB / 460.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006768/0.5763, allocations: 119.8 kB / 460.9 MB, free: 11.18 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: 43 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,table1.y,table1.nextTime,table1.index,table2.y,table2.nextTime,table2.index,and1.y,nor.u1,nand.u1,pre1.u,edge1.u,edge1.y,fallingEdge.y,fallingEdge.not_u,change1.u,change1.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y,greater.y,greaterEqual.y,less.y,lessEqual.y,zeroCrossing.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.y,hysteresis.y,onOffController.y,triggeredTrapezoid.endValue,triggeredTrapezoid.rate,triggeredTrapezoid.T,timer.entryTime,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u) * Number of discrete states: 19 (table1.y,table1.nextTime,table1.index,$whenCondition4,table2.y,table2.nextTime,table2.index,$whenCondition3,pre1.u,edge1.u,fallingEdge.not_u,change1.u,zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable,hysteresis.y,onOffController.y,rSFlipFlop.pre.u,triggeredTrapezoid.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.0003693/0.5767, allocations: 170.3 kB / 461.1 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.578, allocations: 0.6946 MB / 461.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.54e-06/0.578, allocations: 0 / 461.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.5786, allocations: 336.1 kB / 462.1 MB, free: 9.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.5789, allocations: 23.86 kB / 462.1 MB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.5802, allocations: 470.9 kB / 462.6 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.5807, allocations: 0.8005 MB / 463.4 MB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.5809, allocations: 22.97 kB / 463.4 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5811, allocations: 35.42 kB / 463.4 MB, free: 8.504 MB / 394.7 MB Notification: Performance of SimCode: time 1.679e-06/0.5811, allocations: 0 / 463.4 MB, free: 8.504 MB / 394.7 MB Notification: Performance of Templates: time 0.012/0.5931, allocations: 4.059 MB / 467.5 MB, free: 4.477 MB / 394.7 MB