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_trunk_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.249e-05, allocations: 6.031 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09146, allocations: 50.41 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4569, allocations: 82.6 MB / 425.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4572, allocations: 72.66 kB / 425.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1107/0.5678, allocations: 26.56 MB / 452.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.158e-06/0.5679, allocations: 0 / 452.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.568, allocations: 12 kB / 452.3 MB, free: 5.324 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.002911/0.571, allocations: 0.9912 MB / 453.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.571, allocations: 8.031 kB / 453.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/0.5715, allocations: 79.06 kB / 453.4 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.5741, allocations: 0.6122 MB / 454 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.5742, allocations: 18.75 kB / 454 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.5743, allocations: 19.5 kB / 454 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.5756, allocations: 355 kB / 454.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5756, allocations: 0 / 454.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.5757, allocations: 11.56 kB / 454.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.5758, allocations: 15.58 kB / 454.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.5767, allocations: 187.5 kB / 454.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.5808, allocations: 1.423 MB / 456 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5822, allocations: 343 kB / 456.4 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.5829, allocations: 179.6 kB / 456.5 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.583, allocations: 12.06 kB / 456.5 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.5843, allocations: 463.2 kB / 457 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.231e-06/0.5843, allocations: 0 / 457 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002684/0.587, allocations: 0.6223 MB / 457.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004132/0.5875, allocations: 456.9 kB / 458.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.5905, allocations: 0.8395 MB / 458.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.5908, allocations: 53.58 kB / 459 MB, free: 14.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.5914, allocations: 304.9 kB / 459.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.5916, allocations: 110.7 kB / 459.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.5917, allocations: 12 kB / 459.4 MB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.592, allocations: 326 kB / 459.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.5927, allocations: 153 kB / 459.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.5937, allocations: 362.1 kB / 460.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.5946, allocations: 279.1 kB / 460.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.139e-06/0.5947, allocations: 0 / 460.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002819/0.5975, allocations: 0.673 MB / 461.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.5977, allocations: 93.09 kB / 461.2 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.5977, allocations: 4.281 kB / 461.2 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.5978, allocations: 12.19 kB / 461.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.5984, allocations: 63.89 kB / 461.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-05/0.5985, allocations: 19.88 kB / 461.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/0.5994, allocations: 47.73 kB / 461.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.5996, allocations: 27.98 kB / 461.4 MB, free: 11.84 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.0005072/0.6001, allocations: 270.1 kB / 461.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.6005, allocations: 83.06 kB / 461.7 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6026, allocations: 0.5143 MB / 462.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6026, allocations: 4 kB / 462.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.6027, allocations: 0 / 462.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.6027, allocations: 15.88 kB / 462.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.606, allocations: 1.063 MB / 463.3 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.545e-06/0.6061, allocations: 4 kB / 463.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.6064, allocations: 27.92 kB / 463.4 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.6064, allocations: 4 kB / 463.4 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.6066, allocations: 15.98 kB / 463.4 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.779e-06/0.6066, allocations: 4 kB / 463.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.57e-06/0.6066, allocations: 3.953 kB / 463.4 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.6095, allocations: 0.8515 MB / 464.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.6101, allocations: 192.1 kB / 464.4 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.6104, allocations: 31.98 kB / 464.5 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/0.6112, allocations: 31.98 kB / 464.5 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.6114, allocations: 31.95 kB / 464.5 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6115, allocations: 27.98 kB / 464.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00217/0.6137, allocations: 0.6592 MB / 465.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.293e-06/0.6137, allocations: 0 / 465.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001791/0.6155, allocations: 184 kB / 465.4 MB, free: 7.641 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.002694/0.6183, allocations: 0.5046 MB / 465.9 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.6205, allocations: 0.6268 MB / 466.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.6206, allocations: 0 / 466.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.6218, allocations: 442 kB / 467 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.6237, allocations: 138.8 kB / 467.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.6278, allocations: 0.987 MB / 468.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.6291, allocations: 0.9491 MB / 469 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009001/0.63, allocations: 133.7 kB / 469.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.6304, allocations: 59.42 kB / 469.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of SimCode: time 2.688e-06/0.6304, allocations: 0 / 469.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of Templates: time 0.03939/0.6698, allocations: 9.161 MB / 478.4 MB, free: 10.68 MB / 394.7 MB