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.1_ModelicaTest.Blocks.Logical") Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.648e-05, allocations: 4 kB / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3398, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.003067/0.3429, allocations: 1.779 MB / 326.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3447, allocations: 0.7449 MB / 327.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3448, allocations: 20.97 kB / 327.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.3449, allocations: 20.72 kB / 327.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3451, allocations: 29.64 kB / 327.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008472/0.346, allocations: 212.5 kB / 327.7 MB, free: 2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.3463, allocations: 169.7 kB / 327.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.3466, allocations: 120.8 kB / 328 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.3468, allocations: 109.1 kB / 328.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.3471, allocations: 132.1 kB / 328.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.3473, allocations: 86.23 kB / 328.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.3474, allocations: 18.91 kB / 328.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3476, allocations: 65.17 kB / 328.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.3477, allocations: 22.44 kB / 328.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.3482, allocations: 300.7 kB / 328.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3482, allocations: 0 / 328.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3482, allocations: 0 / 328.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3483, allocations: 1.062 kB / 328.7 MB, free: 1.637 MB / 266.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.001789/0.3501, allocations: 0.748 MB / 329.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3501, allocations: 8.781 kB / 329.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.3502, allocations: 49.2 kB / 329.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3504, allocations: 226.5 kB / 329.7 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.3505, allocations: 31.31 kB / 329.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.3506, allocations: 46.45 kB / 329.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3518, allocations: 367.1 kB / 330.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3519, allocations: 2.266 kB / 330.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.3519, allocations: 14.12 kB / 330.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.352, allocations: 7.812 kB / 330.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3532, allocations: 317.7 kB / 330.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3557, allocations: 0.9606 MB / 331.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3576, allocations: 449.6 kB / 331.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.3577, allocations: 8.438 kB / 331.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.3587, allocations: 352.6 kB / 332.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 3.336e-06/0.3587, allocations: 0 / 332.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.002606/0.3614, allocations: 0.8357 MB / 333.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.3615, allocations: 170.9 kB / 333.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3618, allocations: 203.8 kB / 333.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.3619, allocations: 50.78 kB / 333.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.3621, allocations: 172.5 kB / 333.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.3623, allocations: 116.9 kB / 333.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.3623, allocations: 10.69 kB / 333.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3625, allocations: 341 kB / 334.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.3632, allocations: 165.3 kB / 334.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.3639, allocations: 173.2 kB / 334.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.3645, allocations: 250.4 kB / 334.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3646, allocations: 0 / 334.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001622/0.3662, allocations: 0.5647 MB / 335.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3663, allocations: 118.5 kB / 335.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3663, allocations: 0 / 335.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3664, allocations: 2.781 kB / 335.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.3668, allocations: 48.3 kB / 335.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.3668, allocations: 6.062 kB / 335.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.3674, allocations: 86.09 kB / 335.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.3675, allocations: 20.78 kB / 335.5 MB, free: 13.45 MB / 282.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,xor.y,nor.y,nand.y,$PRE.pre1.u,pre1.u,pre1.y,$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.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 (62): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003968/0.3679, allocations: 237.7 kB / 335.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.368, allocations: 37.11 kB / 335.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3681, allocations: 34.53 kB / 335.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3681, allocations: 4.375 kB / 335.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.3682, allocations: 1.75 kB / 335.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3682, allocations: 5.969 kB / 335.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.3708, allocations: 1.044 MB / 336.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.3708, allocations: 1.406 kB / 336.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3711, allocations: 39.88 kB / 336.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.3711, allocations: 1.25 kB / 336.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.3712, allocations: 13.45 kB / 336.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3712, allocations: 5.25 kB / 336.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3712, allocations: 0 / 336.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3731, allocations: 0.6585 MB / 337.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.3734, allocations: 146.3 kB / 337.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.3735, allocations: 16.75 kB / 337.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.3742, allocations: 69.06 kB / 337.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.3745, allocations: 64.8 kB / 337.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.3746, allocations: 19.36 kB / 337.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.3748, allocations: 138 kB / 338 MB, free: 11.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3748, allocations: 1.25 kB / 338 MB, free: 11.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006316/0.3754, allocations: 126.8 kB / 338.2 MB, free: 11.92 MB / 282.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,xor.y,nor.y,nand.y,pre1.u,pre1.y,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.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.0003754/0.3758, allocations: 176.6 kB / 338.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3776, allocations: 0.6551 MB / 339 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3776, allocations: 0 / 339 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009167/0.3785, allocations: 375.1 kB / 339.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3788, allocations: 22.47 kB / 339.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3806, allocations: 0.7193 MB / 340.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3812, allocations: 0.8017 MB / 340.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.3814, allocations: 29.97 kB / 340.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3816, allocations: 27.27 kB / 340.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of SimCode: time 3.146e-06/0.3816, allocations: 0 / 340.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of Templates: time 0.01278/0.3944, allocations: 3.842 MB / 344.8 MB, free: 8.145 MB / 282.7 MB