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_4.0.0_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.55e-05, allocations: 4 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09298, allocations: 50.41 MB / 342.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5403, allocations: 82.6 MB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5406, allocations: 69.34 kB / 425.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1108/0.6514, allocations: 26.56 MB / 451.8 MB, free: 5.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.272e-06/0.6515, allocations: 4 kB / 451.8 MB, free: 5.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.538e-05/0.6516, allocations: 12 kB / 451.8 MB, free: 5.328 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001759/0.6533, allocations: 0.983 MB / 452.8 MB, free: 4.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6534, allocations: 12.03 kB / 452.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.6537, allocations: 83.05 kB / 452.9 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.6551, allocations: 0.6093 MB / 453.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.6552, allocations: 21.81 kB / 453.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.6553, allocations: 19.12 kB / 453.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.6561, allocations: 357.3 kB / 453.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6561, allocations: 4 kB / 453.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.6562, allocations: 15.97 kB / 453.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6562, allocations: 11.95 kB / 453.9 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.6567, allocations: 187.8 kB / 454.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.6594, allocations: 1.415 MB / 455.5 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.6602, allocations: 346.9 kB / 455.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.6606, allocations: 179.7 kB / 456 MB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.6607, allocations: 15.98 kB / 456 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008242/0.6615, allocations: 455.2 kB / 456.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.589e-06/0.6615, allocations: 4 kB / 456.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.00167/0.6632, allocations: 0.6184 MB / 457.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003062/0.6636, allocations: 460.9 kB / 457.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.6653, allocations: 0.8434 MB / 458.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.6655, allocations: 45.64 kB / 458.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.6659, allocations: 301 kB / 458.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.6661, allocations: 114.6 kB / 458.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.6661, allocations: 8 kB / 458.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6663, allocations: 334 kB / 459.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.6667, allocations: 156.9 kB / 459.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.6674, allocations: 358.1 kB / 459.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.6679, allocations: 267.3 kB / 459.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.6679, allocations: 4 kB / 459.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00163/0.6696, allocations: 0.6809 MB / 460.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.6697, allocations: 97.09 kB / 460.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.6697, allocations: 4 kB / 460.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.6698, allocations: 7.938 kB / 460.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.6702, allocations: 67.89 kB / 460.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.6702, allocations: 11.89 kB / 460.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.6707, allocations: 48.02 kB / 460.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.6708, allocations: 24 kB / 460.9 MB, free: 11.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0003533/0.6711, allocations: 270 kB / 461.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6714, allocations: 79.06 kB / 461.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.6727, allocations: 0.5182 MB / 461.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.6727, allocations: 4 kB / 461.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6727, allocations: 7.938 kB / 461.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.873e-06/0.6727, allocations: 7.891 kB / 461.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.6748, allocations: 1.065 MB / 462.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-06/0.6748, allocations: 0 / 462.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.675, allocations: 35.92 kB / 462.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.041e-06/0.675, allocations: 4 kB / 462.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.6751, allocations: 19.98 kB / 462.9 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.122e-06/0.6751, allocations: 4.281 kB / 462.9 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.103e-06/0.6751, allocations: 3.953 kB / 462.9 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.6769, allocations: 0.8515 MB / 463.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.6773, allocations: 196 kB / 463.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.6775, allocations: 23.98 kB / 463.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.6779, allocations: 27.98 kB / 464 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.678, allocations: 35.95 kB / 464 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.6781, allocations: 27.98 kB / 464 MB, free: 8.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001302/0.6795, allocations: 0.6631 MB / 464.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.6795, allocations: 0 / 464.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001056/0.6805, allocations: 183.9 kB / 464.9 MB, free: 7.605 MB / 378.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,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001773/0.6823, allocations: 0.4948 MB / 465.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.6837, allocations: 0.6229 MB / 466 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.962e-06/0.6837, allocations: 4.562 kB / 466 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007333/0.6845, allocations: 442 kB / 466.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6856, allocations: 150.8 kB / 466.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.6882, allocations: 0.9864 MB / 467.6 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.6891, allocations: 0.953 MB / 468.5 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005747/0.6896, allocations: 121.4 kB / 468.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.6899, allocations: 59.42 kB / 468.7 MB, free: 3.758 MB / 378.7 MB Notification: Performance of SimCode: time 1.921e-06/0.6899, allocations: 0 / 468.7 MB, free: 3.758 MB / 378.7 MB Notification: Performance of Templates: time 0.0265/0.7164, allocations: 9.17 MB / 477.9 MB, free: 10.66 MB / 394.7 MB