Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.694/2.694, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.323e-05/5.305e-05, allocations: 4 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 54.84 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002717/0.4313, allocations: 1.361 MB / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.433, allocations: 0.6586 MB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.4331, allocations: 1.156 kB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.4334, allocations: 20.91 kB / 364.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.4336, allocations: 26.83 kB / 364.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.4338, allocations: 49.69 kB / 365 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.4339, allocations: 49.69 kB / 365 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.434, allocations: 10.88 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.4342, allocations: 33.84 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.4343, allocations: 22.2 kB / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4344, allocations: 25.8 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.4344, allocations: 5.156 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.4345, allocations: 17.92 kB / 365.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.4345, allocations: 5.344 kB / 365.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.4348, allocations: 84.45 kB / 365.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4348, allocations: 0 / 365.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.4348, allocations: 0 / 365.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.4348, allocations: 4 kB / 365.2 MB, free: 10.37 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006524/0.4355, allocations: 441.8 kB / 365.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4355, allocations: 12.59 kB / 365.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.4356, allocations: 17.58 kB / 365.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4359, allocations: 200.3 kB / 365.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.436, allocations: 5.922 kB / 365.9 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.436, allocations: 7.031 kB / 365.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.4362, allocations: 54.67 kB / 366 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4363, allocations: 8 kB / 366 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4363, allocations: 1.125 kB / 366 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4363, allocations: 7.891 kB / 366 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.4364, allocations: 19.67 kB / 366 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.4369, allocations: 293.1 kB / 366.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.4372, allocations: 57.86 kB / 366.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.4372, allocations: 1.406 kB / 366.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.4375, allocations: 73.56 kB / 366.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/0.4375, allocations: 0 / 366.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007875/0.4383, allocations: 176.9 kB / 366.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.4383, allocations: 56.53 kB / 366.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4386, allocations: 170.6 kB / 366.8 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4386, allocations: 26.98 kB / 366.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.4387, allocations: 104.7 kB / 366.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.4388, allocations: 27.05 kB / 367 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.4388, allocations: 1.219 kB / 367 MB, free: 8.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.439, allocations: 326.2 kB / 367.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4391, allocations: 31.55 kB / 367.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4392, allocations: 48.12 kB / 367.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4394, allocations: 65.39 kB / 367.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4394, allocations: 1.469 kB / 367.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004041/0.4398, allocations: 158.3 kB / 367.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.4399, allocations: 40.11 kB / 367.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4399, allocations: 1.156 kB / 367.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.44, allocations: 1.219 kB / 367.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4401, allocations: 17.75 kB / 367.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4401, allocations: 0 / 367.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.4402, allocations: 12.08 kB / 367.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.4403, allocations: 5.25 kB / 367.7 MB, free: 8.117 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001448/0.4404, allocations: 129.7 kB / 367.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4405, allocations: 12.27 kB / 367.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.4405, allocations: 21.08 kB / 367.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4406, allocations: 5.406 kB / 367.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4406, allocations: 0 / 367.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4406, allocations: 1.469 kB / 367.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.4412, allocations: 394 kB / 368.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4413, allocations: 3.953 kB / 368.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.4413, allocations: 7.844 kB / 368.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4413, allocations: 1.312 kB / 368.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.4414, allocations: 5.797 kB / 368.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4414, allocations: 1.344 kB / 368.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4414, allocations: 0 / 368.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.4418, allocations: 222.9 kB / 368.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.4419, allocations: 98.28 kB / 368.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.4419, allocations: 1.844 kB / 368.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.442, allocations: 2.312 kB / 368.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4421, allocations: 11.14 kB / 368.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.4421, allocations: 4.094 kB / 368.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.4423, allocations: 136.2 kB / 368.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4423, allocations: 0 / 368.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.4427, allocations: 33.95 kB / 368.7 MB, free: 7.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001279/0.444, allocations: 406.7 kB / 369.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.4444, allocations: 155.4 kB / 369.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4444, allocations: 0 / 369.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4446, allocations: 33.31 kB / 369.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4449, allocations: 21.81 kB / 369.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.4456, allocations: 240 kB / 369.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.446, allocations: 0.7022 MB / 370.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.127e-05/0.4461, allocations: 16.39 kB / 370.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.4461, allocations: 14.5 kB / 370.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4461, allocations: 0 / 370.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of Templates: time 0.006704/0.4528, allocations: 1.592 MB / 371.9 MB, free: 4.395 MB / 298.7 MB