Running command: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.023e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.361, allocations: 68.18 MB / 331.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.3613, allocations: 63.97 kB / 332 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03332/0.3946, allocations: 7.425 MB / 339.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.052e-06/0.3947, allocations: 0 / 339.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.3947, allocations: 4 kB / 339.4 MB, free: 14.05 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001105/0.3958, allocations: 0.7845 MB / 340.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3959, allocations: 8.031 kB / 340.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.396, allocations: 43.56 kB / 340.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.3965, allocations: 278.5 kB / 340.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.3966, allocations: 16.14 kB / 340.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.3966, allocations: 19.98 kB / 340.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.3972, allocations: 272 kB / 340.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3973, allocations: 8 kB / 340.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3973, allocations: 4 kB / 340.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.3973, allocations: 7.938 kB / 340.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3977, allocations: 139.9 kB / 341 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3991, allocations: 1.001 MB / 342 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.3996, allocations: 226.4 kB / 342.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.3999, allocations: 167.5 kB / 342.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.4, allocations: 0 / 342.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.4007, allocations: 0.512 MB / 342.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.291e-06/0.4008, allocations: 4 kB / 342.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001428/0.4022, allocations: 0.6789 MB / 343.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003606/0.4026, allocations: 0.4946 MB / 344.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.403, allocations: 259.1 kB / 344.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.4031, allocations: 49.69 kB / 344.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.4033, allocations: 144.2 kB / 344.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4034, allocations: 79.28 kB / 344.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.4035, allocations: 8 kB / 344.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4037, allocations: 346.8 kB / 344.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.404, allocations: 140.4 kB / 345.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.4044, allocations: 228.9 kB / 345.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.405, allocations: 432.9 kB / 345.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.573e-06/0.405, allocations: 4 kB / 345.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001593/0.4066, allocations: 0.8454 MB / 346.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.4069, allocations: 293 kB / 346.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4069, allocations: 4 kB / 346.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.407, allocations: 4 kB / 346.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4071, allocations: 20.11 kB / 346.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4071, allocations: 7.938 kB / 346.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.4074, allocations: 43.94 kB / 346.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.4075, allocations: 27.94 kB / 347 MB, free: 5.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,$whenCondition8,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,$whenCondition7,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * 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.0004076/0.4079, allocations: 347.8 kB / 347.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.408, allocations: 39.62 kB / 347.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.4081, allocations: 33.95 kB / 347.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-06/0.4082, allocations: 0 / 347.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.361e-06/0.4082, allocations: 4 kB / 347.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-06/0.4082, allocations: 0 / 347.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.4095, allocations: 0.8024 MB / 348.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-06/0.4095, allocations: 0 / 348.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.4095, allocations: 4 kB / 348.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4096, allocations: 4 kB / 348.2 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.4096, allocations: 23.98 kB / 348.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.77e-06/0.4096, allocations: 0 / 348.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.961e-06/0.4097, allocations: 3.953 kB / 348.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4113, allocations: 0.9227 MB / 349.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4114, allocations: 104.8 kB / 349.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4116, allocations: 31.97 kB / 349.3 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.4119, allocations: 23.98 kB / 349.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.412, allocations: 23.97 kB / 349.3 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/0.4121, allocations: 23.98 kB / 349.3 MB, free: 3.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.4124, allocations: 203.1 kB / 349.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.4124, allocations: 4 kB / 349.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008051/0.4132, allocations: 155.9 kB / 349.7 MB, free: 2.777 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition7,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 29 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition7,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition4,$whenCondition6,stop.on,$whenCondition5,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition3,start.on,$whenCondition2,start.pre_reset[1],start.reset[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 3 * 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.0005579/0.4138, allocations: 255.5 kB / 350 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.4151, allocations: 0.9237 MB / 350.9 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.426e-06/0.4151, allocations: 4.312 kB / 350.9 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.4159, allocations: 0.5783 MB / 351.5 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.4163, allocations: 30.55 kB / 351.5 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4174, allocations: 493.8 kB / 352 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.418, allocations: 0.7838 MB / 352.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.32e-05/0.4181, allocations: 17.55 kB / 352.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.4182, allocations: 15.44 kB / 352.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.86e-06/0.4182, allocations: 0 / 352.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Templates: time 0.0114/0.4296, allocations: 4.037 MB / 356.8 MB, free: 11.4 MB / 314.7 MB