Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 209.3 MB / 223.8 MB, free: 452 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.589e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3696, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002411/0.3721, allocations: 1.271 MB / 326.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.3731, allocations: 382 kB / 326.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.3732, allocations: 2.5 kB / 326.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3735, allocations: 47.08 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3737, allocations: 36.41 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.374, allocations: 44.67 kB / 326.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3742, allocations: 36.91 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.3742, allocations: 3.016 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.3743, allocations: 23.84 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3745, allocations: 24.91 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3746, allocations: 29.11 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3746, allocations: 4.109 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3747, allocations: 9.156 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.3747, allocations: 3.25 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.375, allocations: 70.88 kB / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.375, allocations: 0 / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.375, allocations: 0 / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.375, allocations: 1.219 kB / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004823/0.3755, allocations: 387.7 kB / 327.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3756, allocations: 12.47 kB / 327.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.3756, allocations: 9.422 kB / 327.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3759, allocations: 193.5 kB / 327.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3759, allocations: 2.125 kB / 327.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3759, allocations: 2.812 kB / 327.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3761, allocations: 39.42 kB / 327.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3761, allocations: 0 / 327.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3761, allocations: 0 / 327.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3761, allocations: 1.375 kB / 327.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.3762, allocations: 9.656 kB / 327.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3764, allocations: 180.7 kB / 327.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.3765, allocations: 35.05 kB / 327.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3765, allocations: 1.797 kB / 327.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3767, allocations: 58.44 kB / 327.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.3767, allocations: 0 / 327.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002532/0.377, allocations: 68.7 kB / 327.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.377, allocations: 52.88 kB / 327.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.3772, allocations: 163.2 kB / 328 MB, free: 1.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3773, allocations: 27.44 kB / 328.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3773, allocations: 98.55 kB / 328.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3774, allocations: 10.61 kB / 328.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.3774, allocations: 5.188 kB / 328.2 MB, free: 1.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.3775, allocations: 315.6 kB / 328.5 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.3775, allocations: 20.72 kB / 328.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.3776, allocations: 15.28 kB / 328.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.3777, allocations: 39.66 kB / 328.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3777, allocations: 0.6094 kB / 328.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002146/0.3779, allocations: 112.5 kB / 328.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.378, allocations: 34.78 kB / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.378, allocations: 0 / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.378, allocations: 0 / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.3781, allocations: 6.484 kB / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3781, allocations: 0 / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.3782, allocations: 8.703 kB / 328.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.3783, allocations: 3.125 kB / 328.7 MB, free: 0.6797 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001246/0.3784, allocations: 127.5 kB / 328.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3784, allocations: 10.86 kB / 328.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3785, allocations: 14.39 kB / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3785, allocations: 0 / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3785, allocations: 1.625 kB / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3785, allocations: 0.6094 kB / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3787, allocations: 170 kB / 329 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3787, allocations: 4.562 kB / 329.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3788, allocations: 2.828 kB / 329.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3788, allocations: 5.234 kB / 329.1 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3788, allocations: 1.891 kB / 329.1 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3788, allocations: 0 / 329.1 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3788, allocations: 0 / 329.1 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.379, allocations: 86.64 kB / 329.1 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3791, allocations: 84.64 kB / 329.2 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3791, allocations: 5.5 kB / 329.2 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.3792, allocations: 14.84 kB / 329.2 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3793, allocations: 2.656 kB / 329.3 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3793, allocations: 2.828 kB / 329.3 MB, free: 148 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.3795, allocations: 126.5 kB / 329.4 MB, free: 60 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3795, allocations: 3.938 kB / 329.4 MB, free: 56 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.3798, allocations: 20.75 kB / 329.4 MB, free: 52 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001013/0.3808, allocations: 314.1 kB / 329.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.3811, allocations: 98.53 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3812, allocations: 1.156 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.3812, allocations: 8.016 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3816, allocations: 14.45 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.3822, allocations: 179.6 kB / 330 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3825, allocations: 0.7014 MB / 330.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.75e-05/0.3826, allocations: 6.75 kB / 330.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.3827, allocations: 12.55 kB / 330.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3827, allocations: 0 / 330.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of Templates: time 0.006507/0.3892, allocations: 1.19 MB / 331.9 MB, free: 14.77 MB / 282.7 MB