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.3_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.676e-05, allocations: 3.984 kB / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08549, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4732, allocations: 80.93 MB / 397.9 MB, free: 7.262 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.4734, allocations: 67.16 kB / 397.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1084/0.5819, allocations: 25.89 MB / 423.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.252e-06/0.5819, allocations: 0 / 423.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.42e-05/0.582, allocations: 19.98 kB / 423.8 MB, free: 1.5 MB / 330.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.001739/0.5837, allocations: 0.9775 MB / 424.8 MB, free: 484 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5838, allocations: 12.03 kB / 424.8 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.584, allocations: 83.05 kB / 424.9 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5855, allocations: 0.6047 MB / 425.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.5856, allocations: 33.64 kB / 425.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.5857, allocations: 34.34 kB / 425.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.5864, allocations: 356.1 kB / 425.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5864, allocations: 0 / 425.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.5865, allocations: 11.69 kB / 425.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.5865, allocations: 8 kB / 425.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.587, allocations: 181.6 kB / 426.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.5894, allocations: 1.427 MB / 427.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.5902, allocations: 345.7 kB / 427.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.5906, allocations: 191.4 kB / 428.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.5906, allocations: 4 kB / 428.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007639/0.5914, allocations: 469.1 kB / 428.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.823e-06/0.5914, allocations: 0 / 428.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001501/0.5929, allocations: 0.6146 MB / 429.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002992/0.5932, allocations: 459.7 kB / 429.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.5949, allocations: 0.841 MB / 430.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.595, allocations: 41.39 kB / 430.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.5954, allocations: 306.2 kB / 430.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.5955, allocations: 116.4 kB / 430.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.5956, allocations: 3.938 kB / 430.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5958, allocations: 325.3 kB / 431.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.5962, allocations: 151.7 kB / 431.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.5968, allocations: 359 kB / 431.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.5973, allocations: 274.9 kB / 432 MB, free: 10.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.642e-06/0.5973, allocations: 8 kB / 432 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001574/0.5989, allocations: 0.6727 MB / 432.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.599, allocations: 97 kB / 432.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.599, allocations: 4 kB / 432.8 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.5991, allocations: 7.938 kB / 432.8 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.5995, allocations: 71.58 kB / 432.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.5995, allocations: 12.22 kB / 432.8 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.6001, allocations: 50.23 kB / 432.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/0.6001, allocations: 23.62 kB / 432.9 MB, free: 9.316 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(fixed = false protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(fixed = false protected = true ) "Connector of Boolean output signal" type: Boolean 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.0003852/0.6005, allocations: 266.7 kB / 433.2 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.6008, allocations: 91.02 kB / 433.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.602, allocations: 0.5075 MB / 433.8 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.602, allocations: 4 kB / 433.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.985e-06/0.6021, allocations: 8.062 kB / 433.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.81e-06/0.6021, allocations: 4 kB / 433.8 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.604, allocations: 1.064 MB / 434.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.946e-06/0.604, allocations: 7.953 kB / 434.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.6042, allocations: 27.92 kB / 434.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.6043, allocations: 4 kB / 434.9 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.6043, allocations: 18.42 kB / 434.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.185e-06/0.6044, allocations: 4.078 kB / 434.9 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.6044, allocations: 3.984 kB / 434.9 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.606, allocations: 0.8545 MB / 435.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.6064, allocations: 200 kB / 436 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.6066, allocations: 31.05 kB / 436 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.607, allocations: 31.23 kB / 436 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6071, allocations: 35.16 kB / 436.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.6072, allocations: 31.05 kB / 436.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.6085, allocations: 0.6551 MB / 436.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.6085, allocations: 0 / 436.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009745/0.6095, allocations: 186.3 kB / 436.9 MB, free: 5.848 MB / 346.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.001739/0.6112, allocations: 492.8 kB / 437.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.6126, allocations: 0.6425 MB / 438.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.691e-06/0.6126, allocations: 1.438 kB / 438.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.6134, allocations: 434.1 kB / 438.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6144, allocations: 148.5 kB / 438.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.6168, allocations: 0.9728 MB / 439.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.6177, allocations: 0.9578 MB / 440.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.6183, allocations: 120.7 kB / 440.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.6185, allocations: 62.67 kB / 440.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of SimCode: time 1.756e-06/0.6185, allocations: 3.938 kB / 440.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of Templates: time 0.02612/0.6447, allocations: 9.174 MB / 449.9 MB, free: 9.27 MB / 362.7 MB