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.888/1.888, allocations: 194.9 MB / 210.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.123e-05, allocations: 4 kB / 258.8 MB, free: 7.879 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 44.51 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002307/0.3026, allocations: 1.31 MB / 304.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3048, allocations: 0.9179 MB / 305.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.305, allocations: 7.406 kB / 305.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3053, allocations: 65.83 kB / 305.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.3055, allocations: 88.95 kB / 305.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3068, allocations: 320.5 kB / 306 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.3071, allocations: 108.8 kB / 306.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.3072, allocations: 19.92 kB / 306.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3073, allocations: 75.83 kB / 306.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3076, allocations: 115.8 kB / 306.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.3081, allocations: 223.7 kB / 306.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.3082, allocations: 28 kB / 306.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3084, allocations: 67.8 kB / 306.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.3085, allocations: 24 kB / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.3091, allocations: 305.7 kB / 307 MB, free: 9.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3091, allocations: 0 / 307 MB, free: 9.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3091, allocations: 0 / 307 MB, free: 9.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.3092, allocations: 0 / 307 MB, free: 9.93 MB / 250.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.001069/0.3102, allocations: 0.7694 MB / 307.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3103, allocations: 8.031 kB / 307.7 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3104, allocations: 47.61 kB / 307.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.3109, allocations: 266.4 kB / 308 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.311, allocations: 16.12 kB / 308.1 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.311, allocations: 16 kB / 308.1 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.3117, allocations: 269.1 kB / 308.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3117, allocations: 11.94 kB / 308.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.3118, allocations: 4 kB / 308.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.3118, allocations: 7.938 kB / 308.4 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.3122, allocations: 139.9 kB / 308.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3135, allocations: 0.9779 MB / 309.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.314, allocations: 234.3 kB / 309.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3141, allocations: 3.984 kB / 309.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008437/0.3149, allocations: 0.5167 MB / 310.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 3.186e-06/0.3149, allocations: 0 / 310.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.00214/0.3171, allocations: 1.258 MB / 311.5 MB, free: 4.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002775/0.3174, allocations: 494.6 kB / 312 MB, free: 4.297 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.3178, allocations: 265.8 kB / 312.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.3179, allocations: 45.69 kB / 312.3 MB, free: 3.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3181, allocations: 160.9 kB / 312.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3182, allocations: 75.09 kB / 312.5 MB, free: 3.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.3182, allocations: 8 kB / 312.5 MB, free: 3.734 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3184, allocations: 350.8 kB / 312.8 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.3187, allocations: 128.7 kB / 313 MB, free: 3.258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.3191, allocations: 229.5 kB / 313.2 MB, free: 2.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.3197, allocations: 420.9 kB / 313.6 MB, free: 2.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3197, allocations: 0 / 313.6 MB, free: 2.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001416/0.3211, allocations: 0.7871 MB / 314.4 MB, free: 1.668 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.3213, allocations: 301 kB / 314.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3214, allocations: 0 / 314.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.3214, allocations: 8 kB / 314.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3215, allocations: 11.94 kB / 314.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.3216, allocations: 7.984 kB / 314.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.3219, allocations: 35.75 kB / 314.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.3219, allocations: 20 kB / 314.8 MB, free: 1.23 MB / 250.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,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition6,$whenCondition7,$whenCondition8,$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],$whenCondition3,$whenCondition4,$whenCondition5,$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],$whenCondition2,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition1,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,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.0004985/0.3224, allocations: 408.4 kB / 315.2 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.3225, allocations: 35.72 kB / 315.2 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.3226, allocations: 30.17 kB / 315.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3226, allocations: 3.938 kB / 315.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3227, allocations: 4 kB / 315.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3227, allocations: 192 / 315.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.324, allocations: 0.8134 MB / 316.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.324, allocations: 0 / 316.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.3241, allocations: 7.984 kB / 316.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.3241, allocations: 0 / 316.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.3242, allocations: 19.94 kB / 316.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3242, allocations: 0 / 316.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.3242, allocations: 4 kB / 316.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3259, allocations: 0.8982 MB / 317 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.326, allocations: 108.7 kB / 317.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3262, allocations: 27.98 kB / 317.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.3265, allocations: 35.88 kB / 317.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3267, allocations: 27.91 kB / 317.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/0.3268, allocations: 23.98 kB / 317.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003105/0.3271, allocations: 209.9 kB / 317.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3271, allocations: 0 / 317.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007335/0.3278, allocations: 151.9 kB / 317.6 MB, free: 14.21 MB / 266.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,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition2,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,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],$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition6,$whenCondition8,stop.on,$whenCondition7,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition3,$whenCondition5,start.on,$whenCondition4,start.pre_reset[1],start.reset[1],timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition2,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition1) * 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.0005872/0.3284, allocations: 227.7 kB / 317.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3299, allocations: 0.9782 MB / 318.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.33, allocations: 0 / 318.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.3309, allocations: 0.6139 MB / 319.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3313, allocations: 37.25 kB / 319.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3328, allocations: 0.6607 MB / 320.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.3333, allocations: 0.7833 MB / 320.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3334, allocations: 21.53 kB / 320.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.3335, allocations: 15.44 kB / 320.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3335, allocations: 4 kB / 320.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.01332/0.3468, allocations: 4.168 MB / 325.1 MB, free: 6.445 MB / 266.7 MB