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.58/2.58, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.916e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4163, allocations: 54.85 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.003679/0.4201, allocations: 1.789 MB / 364.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.4224, allocations: 0.7566 MB / 365.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.4228, allocations: 16.47 kB / 365.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.423, allocations: 23.72 kB / 365.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.4232, allocations: 31.61 kB / 365.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.4244, allocations: 208.5 kB / 365.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.4248, allocations: 170.8 kB / 365.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.4252, allocations: 123.2 kB / 366 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.4255, allocations: 97.86 kB / 366.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.4257, allocations: 137.2 kB / 366.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.4261, allocations: 94.34 kB / 366.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.823e-05/0.4262, allocations: 19.88 kB / 366.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4263, allocations: 60.88 kB / 366.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.4264, allocations: 23.88 kB / 366.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.4271, allocations: 304.1 kB / 366.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4271, allocations: 0 / 366.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4271, allocations: 3.938 kB / 366.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.4271, allocations: 0 / 366.7 MB, free: 9.344 MB / 298.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.002164/0.4293, allocations: 0.752 MB / 367.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4294, allocations: 8.594 kB / 367.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.4296, allocations: 48.56 kB / 367.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.4299, allocations: 219.2 kB / 367.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.43, allocations: 31.5 kB / 367.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.4301, allocations: 41.22 kB / 367.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.4315, allocations: 425.9 kB / 368.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.4315, allocations: 0 / 368.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.4316, allocations: 25.25 kB / 368.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4316, allocations: 8.875 kB / 368.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.4329, allocations: 316.7 kB / 368.5 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.4357, allocations: 0.9522 MB / 369.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.4376, allocations: 443.4 kB / 369.9 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.4377, allocations: 12.27 kB / 369.9 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009839/0.4387, allocations: 341.3 kB / 370.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.767e-06/0.4387, allocations: 0 / 370.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.00291/0.4416, allocations: 0.8418 MB / 371.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.4418, allocations: 196.3 kB / 371.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.4422, allocations: 203.3 kB / 371.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4423, allocations: 49.69 kB / 371.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.4425, allocations: 184.7 kB / 371.7 MB, free: 4.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.4427, allocations: 106.6 kB / 371.8 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.4428, allocations: 8 kB / 371.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.443, allocations: 342.8 kB / 372.2 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.4439, allocations: 165 kB / 372.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.4448, allocations: 207.8 kB / 372.5 MB, free: 3.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.4457, allocations: 249 kB / 372.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4457, allocations: 0 / 372.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002186/0.4479, allocations: 0.5716 MB / 373.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.448, allocations: 122.8 kB / 373.5 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4481, allocations: 8 kB / 373.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4481, allocations: 0 / 373.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.4486, allocations: 43.91 kB / 373.5 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.4486, allocations: 4 kB / 373.5 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/0.4494, allocations: 91.62 kB / 373.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.4495, allocations: 16 kB / 373.6 MB, free: 2.578 MB / 298.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.0004539/0.45, allocations: 245.1 kB / 373.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4501, allocations: 35.62 kB / 373.9 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.4503, allocations: 39.27 kB / 373.9 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.4503, allocations: 4 kB / 374 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4503, allocations: 3.938 kB / 374 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4503, allocations: 3.984 kB / 374 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.4537, allocations: 1.036 MB / 375 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4537, allocations: 4 kB / 375 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.4541, allocations: 39.86 kB / 375 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.4541, allocations: 4 kB / 375 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.4542, allocations: 11.98 kB / 375.1 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.4542, allocations: 4 kB / 375.1 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4542, allocations: 0 / 375.1 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.457, allocations: 0.6513 MB / 375.7 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4571, allocations: 112.7 kB / 375.8 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.4573, allocations: 15.95 kB / 375.8 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.4583, allocations: 79.92 kB / 375.9 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.4587, allocations: 63.89 kB / 376 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.4589, allocations: 19.98 kB / 376 MB, free: 84 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.4592, allocations: 148.4 kB / 376.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4592, allocations: 0 / 376.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001023/0.4602, allocations: 131.7 kB / 376.3 MB, free: 15.81 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: 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.0005024/0.4607, allocations: 161.8 kB / 376.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.4631, allocations: 0.6531 MB / 377.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4631, allocations: 0 / 377.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.4644, allocations: 378.6 kB / 377.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.4649, allocations: 22.33 kB / 377.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4673, allocations: 0.728 MB / 378.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.468, allocations: 0.8044 MB / 379 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003145/0.4683, allocations: 26.97 kB / 379 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.4685, allocations: 27.44 kB / 379.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4685, allocations: 0 / 379.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.01702/0.4856, allocations: 3.918 MB / 383 MB, free: 8.988 MB / 314.7 MB