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_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.2 MB / 224.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.711e-05, allocations: 4 kB / 276.1 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.424, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002336/0.4264, allocations: 1.274 MB / 326.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.4274, allocations: 379.8 kB / 326.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.4275, allocations: 1.125 kB / 326.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.4278, allocations: 50.75 kB / 326.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.428, allocations: 35.52 kB / 326.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.4283, allocations: 49.25 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.4284, allocations: 30.75 kB / 326.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.4285, allocations: 3.156 kB / 326.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.4285, allocations: 26.95 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4287, allocations: 27.7 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.4288, allocations: 21.94 kB / 326.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.4288, allocations: 6.375 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.4289, allocations: 15.64 kB / 326.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.4289, allocations: 3.438 kB / 326.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.4291, allocations: 69.27 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4291, allocations: 0 / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4291, allocations: 0 / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4292, allocations: 0 / 326.8 MB, free: 2.074 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.0004406/0.4296, allocations: 388 kB / 327.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4297, allocations: 9.688 kB / 327.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.4297, allocations: 7.969 kB / 327.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.4299, allocations: 198.4 kB / 327.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.43, allocations: 1.188 kB / 327.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.43, allocations: 2.469 kB / 327.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4302, allocations: 35.8 kB / 327.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4302, allocations: 1.078 kB / 327.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4302, allocations: 1.156 kB / 327.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4302, allocations: 1.266 kB / 327.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.4303, allocations: 13.94 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.4305, allocations: 180.8 kB / 327.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.4306, allocations: 26.39 kB / 327.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4306, allocations: 1 kB / 327.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.4307, allocations: 54.77 kB / 327.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 4.007e-06/0.4308, allocations: 5.062 kB / 327.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002363/0.431, allocations: 67.58 kB / 327.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4311, allocations: 61.16 kB / 327.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.4313, allocations: 160.7 kB / 328 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4313, allocations: 26.8 kB / 328 MB, free: 0.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.4314, allocations: 161 kB / 328.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.4314, allocations: 11.36 kB / 328.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.4314, allocations: 5.25 kB / 328.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.4315, allocations: 313.1 kB / 328.5 MB, free: 404 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.4315, allocations: 12.12 kB / 328.5 MB, free: 400 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.4316, allocations: 17.66 kB / 328.5 MB, free: 392 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.4317, allocations: 48.92 kB / 328.6 MB, free: 348 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4317, allocations: 0 / 328.6 MB, free: 348 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001811/0.4319, allocations: 103.7 kB / 328.7 MB, free: 264 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4319, allocations: 34.72 kB / 328.7 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4319, allocations: 0 / 328.7 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.432, allocations: 1.062 kB / 328.7 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.4321, allocations: 9.984 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4321, allocations: 0 / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.4321, allocations: 3.188 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4322, allocations: 7.281 kB / 328.8 MB, free: 224 kB / 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 9.045e-05/0.4323, allocations: 120 kB / 328.9 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.4323, allocations: 15.77 kB / 328.9 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.4324, allocations: 8.875 kB / 328.9 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4324, allocations: 1.344 kB / 328.9 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4324, allocations: 0.75 kB / 328.9 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4324, allocations: 0 / 328.9 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4326, allocations: 177.6 kB / 329.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4326, allocations: 0 / 329.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.4327, allocations: 11.14 kB / 329.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4327, allocations: 5.047 kB / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4327, allocations: 2.062 kB / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4327, allocations: 0 / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4327, allocations: 0 / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.4329, allocations: 82.33 kB / 329.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.433, allocations: 85.25 kB / 329.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.433, allocations: 6.25 kB / 329.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.4331, allocations: 5.188 kB / 329.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.4331, allocations: 7.188 kB / 329.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4331, allocations: 1.969 kB / 329.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.4333, allocations: 127 kB / 329.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4333, allocations: 1.031 kB / 329.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.4336, allocations: 24.38 kB / 329.4 MB, free: 15.59 MB / 282.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.0008792/0.4345, allocations: 314.3 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.4347, allocations: 90.72 kB / 329.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4348, allocations: 4 kB / 329.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.4348, allocations: 12.89 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4351, allocations: 15 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.4356, allocations: 199.8 kB / 330 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4359, allocations: 0.7031 MB / 330.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.436, allocations: 21.28 kB / 330.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.436, allocations: 0 / 330.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.00472/0.4407, allocations: 1.449 MB / 332.2 MB, free: 14.28 MB / 282.7 MB