Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.154e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4234, allocations: 54.86 MB / 362.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002846/0.4263, allocations: 1.369 MB / 364.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.4282, allocations: 0.6399 MB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.4284, allocations: 0 / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.4288, allocations: 70.61 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.429, allocations: 54.22 kB / 365 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.4293, allocations: 45.97 kB / 365.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.4295, allocations: 54.66 kB / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.4296, allocations: 3.031 kB / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4297, allocations: 40.56 kB / 365.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.4299, allocations: 40.58 kB / 365.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.43, allocations: 27.52 kB / 365.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.4301, allocations: 3.375 kB / 365.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.4302, allocations: 20.86 kB / 365.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.4302, allocations: 8.281 kB / 365.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.4305, allocations: 90.81 kB / 365.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4305, allocations: 0 / 365.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4305, allocations: 0 / 365.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4305, allocations: 5.438 kB / 365.3 MB, free: 10.32 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.0007236/0.4312, allocations: 450.2 kB / 365.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4313, allocations: 13.59 kB / 365.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.4314, allocations: 9.531 kB / 365.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.4317, allocations: 205.8 kB / 366 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.4318, allocations: 2.25 kB / 366 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.4319, allocations: 3.812 kB / 366 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.4321, allocations: 53.92 kB / 366.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4322, allocations: 0 / 366.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4322, allocations: 1.469 kB / 366.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4322, allocations: 7.891 kB / 366.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.4323, allocations: 22.86 kB / 366.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.4329, allocations: 298.8 kB / 366.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.4332, allocations: 58.83 kB / 366.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.4332, allocations: 5.391 kB / 366.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.4334, allocations: 73.31 kB / 366.5 MB, free: 9.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.4335, allocations: 4 kB / 366.5 MB, free: 9.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008777/0.4344, allocations: 185 kB / 366.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.4344, allocations: 53.09 kB / 366.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.4347, allocations: 188.1 kB / 366.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4348, allocations: 27.52 kB / 367 MB, free: 8.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4349, allocations: 109.5 kB / 367.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.435, allocations: 19.36 kB / 367.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.435, allocations: 6.062 kB / 367.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4352, allocations: 329.8 kB / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4353, allocations: 31.64 kB / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.4355, allocations: 44.64 kB / 367.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4357, allocations: 64.94 kB / 367.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4357, allocations: 0 / 367.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000461/0.4361, allocations: 159 kB / 367.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.4362, allocations: 40.86 kB / 367.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4362, allocations: 4.969 kB / 367.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4363, allocations: 1.156 kB / 367.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.4364, allocations: 13.12 kB / 367.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4365, allocations: 5.031 kB / 367.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.4366, allocations: 8.438 kB / 367.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.4366, allocations: 8.328 kB / 367.8 MB, free: 8.051 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.0001607/0.4368, allocations: 126.2 kB / 367.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.4368, allocations: 13.09 kB / 367.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.218e-05/0.4369, allocations: 26.12 kB / 368 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4369, allocations: 1.219 kB / 368 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4369, allocations: 5.125 kB / 368 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4369, allocations: 0 / 368 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.4376, allocations: 395.9 kB / 368.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4376, allocations: 5.328 kB / 368.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.4377, allocations: 7.812 kB / 368.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.4377, allocations: 1 kB / 368.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.4377, allocations: 13.09 kB / 368.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4378, allocations: 1.25 kB / 368.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4378, allocations: 0.9062 kB / 368.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.4381, allocations: 218.6 kB / 368.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.4382, allocations: 97.78 kB / 368.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.4383, allocations: 6.406 kB / 368.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4384, allocations: 5.812 kB / 368.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4385, allocations: 7.797 kB / 368.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.4385, allocations: 3.5 kB / 368.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.4387, allocations: 152.1 kB / 368.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4387, allocations: 0 / 368.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.4391, allocations: 33.64 kB / 368.9 MB, free: 7.062 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.001187/0.4403, allocations: 400.8 kB / 369.3 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.4407, allocations: 155.4 kB / 369.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.4407, allocations: 4 kB / 369.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.4409, allocations: 29.64 kB / 369.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4413, allocations: 25.28 kB / 369.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.442, allocations: 261.1 kB / 369.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.4423, allocations: 0.7087 MB / 370.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.141e-05/0.4425, allocations: 11.41 kB / 370.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.4425, allocations: 18.77 kB / 370.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4425, allocations: 0 / 370.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of Templates: time 0.006721/0.4493, allocations: 1.61 MB / 372.1 MB, free: 4.18 MB / 298.7 MB