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.2_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.338e-05, allocations: 0 / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08207, allocations: 44.5 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.421, allocations: 73.54 MB / 373.4 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4213, allocations: 62.72 kB / 373.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03245/0.4537, allocations: 7.494 MB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.727e-06/0.4538, allocations: 0 / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4538, allocations: 7.5 kB / 381 MB, free: 21.81 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008508/0.4547, allocations: 0.7872 MB / 381.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4547, allocations: 8.625 kB / 381.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.4549, allocations: 32.03 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.4553, allocations: 289.2 kB / 382.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.4554, allocations: 15.42 kB / 382.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.4554, allocations: 23.22 kB / 382.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.456, allocations: 274.7 kB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.456, allocations: 1.812 kB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.456, allocations: 6.766 kB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.4561, allocations: 13.03 kB / 382.4 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.4564, allocations: 141.8 kB / 382.6 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.4574, allocations: 1.014 MB / 383.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.4578, allocations: 236.3 kB / 383.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.4581, allocations: 178 kB / 384 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4581, allocations: 1.844 kB / 384 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.4587, allocations: 0.5324 MB / 384.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.755e-06/0.4588, allocations: 0 / 384.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001204/0.46, allocations: 0.6572 MB / 385.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4601, allocations: 0.4887 MB / 385.7 MB, free: 18.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.4605, allocations: 265.8 kB / 385.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.4606, allocations: 46.16 kB / 386 MB, free: 18.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4607, allocations: 140.3 kB / 386.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.4608, allocations: 86.91 kB / 386.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.4608, allocations: 7.156 kB / 386.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.4609, allocations: 345.7 kB / 386.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.4613, allocations: 146.3 kB / 386.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.4617, allocations: 240.8 kB / 386.9 MB, free: 17.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.4621, allocations: 440.4 kB / 387.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4621, allocations: 0 / 387.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001297/0.4634, allocations: 0.8157 MB / 388.1 MB, free: 17.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.4636, allocations: 297.2 kB / 388.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4636, allocations: 3.578 kB / 388.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.4636, allocations: 4.844 kB / 388.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4638, allocations: 18.58 kB / 388.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.4638, allocations: 12.83 kB / 388.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.4641, allocations: 30.75 kB / 388.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.4642, allocations: 28.83 kB / 388.5 MB, free: 16.91 MB / 314.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: 53 ($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,timeTable.nextEventScaled,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.0003091/0.4645, allocations: 357 kB / 388.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4646, allocations: 39.31 kB / 388.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.28e-05/0.4647, allocations: 28.02 kB / 388.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.305e-06/0.4647, allocations: 2.062 kB / 389 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.331e-06/0.4648, allocations: 2.094 kB / 389 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-06/0.4648, allocations: 0 / 389 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.4658, allocations: 0.8221 MB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-06/0.4659, allocations: 1.75 kB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.4659, allocations: 1.656 kB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.225e-06/0.4659, allocations: 1.688 kB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.466, allocations: 20.14 kB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.464e-06/0.466, allocations: 2.719 kB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.349e-06/0.466, allocations: 1.469 kB / 389.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.4674, allocations: 0.9069 MB / 390.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.4675, allocations: 104.7 kB / 390.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.4676, allocations: 27.92 kB / 390.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.4679, allocations: 31.94 kB / 390.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.4681, allocations: 22.59 kB / 390.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.4682, allocations: 31.33 kB / 390.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.4684, allocations: 203.7 kB / 391.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.4684, allocations: 0 / 391.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007935/0.4692, allocations: 166.9 kB / 391.3 MB, free: 15.5 MB / 314.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: 32 ($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,timeTable.nextEventScaled,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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.0005335/0.4698, allocations: 248.4 kB / 391.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4712, allocations: 0.97 MB / 392.5 MB, free: 30.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.954e-06/0.4712, allocations: 3.906 kB / 392.5 MB, free: 30.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006236/0.4718, allocations: 0.6025 MB / 393.1 MB, free: 30.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4723, allocations: 31.34 kB / 393.1 MB, free: 30.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.4733, allocations: 497.4 kB / 393.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4738, allocations: 0.7865 MB / 394.4 MB, free: 29.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.4739, allocations: 27.64 kB / 394.4 MB, free: 29.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.4739, allocations: 15.25 kB / 394.4 MB, free: 29.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.862e-06/0.474, allocations: 0 / 394.4 MB, free: 29.49 MB / 330.7 MB Notification: Performance of Templates: time 0.01026/0.4842, allocations: 4.152 MB / 398.6 MB, free: 29.11 MB / 330.7 MB