Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.577/2.577, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.499e-05, allocations: 8 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4276, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00299/0.4306, allocations: 1.426 MB / 364.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.4329, allocations: 0.8527 MB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.4332, allocations: 5.344 kB / 365.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000672/0.4339, allocations: 266.2 kB / 365.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.4343, allocations: 172 kB / 365.6 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.4348, allocations: 79.16 kB / 365.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.4351, allocations: 112.3 kB / 365.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.4352, allocations: 1.344 kB / 365.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.4354, allocations: 91.27 kB / 365.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.4358, allocations: 136 kB / 366 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.4361, allocations: 52.53 kB / 366 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.4361, allocations: 7.875 kB / 366 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.4363, allocations: 132.2 kB / 366.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.4364, allocations: 15.16 kB / 366.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.437, allocations: 296.2 kB / 366.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4371, allocations: 0 / 366.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4371, allocations: 0 / 366.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.4371, allocations: 3.938 kB / 366.5 MB, free: 9.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00117/0.4383, allocations: 0.6865 MB / 367.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.4383, allocations: 8.531 kB / 367.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.4385, allocations: 45.41 kB / 367.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.4394, allocations: 411 kB / 367.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.4395, allocations: 3.062 kB / 367.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4395, allocations: 6.344 kB / 367.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.4398, allocations: 88.52 kB / 367.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4399, allocations: 3.938 kB / 367.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.4399, allocations: 9.219 kB / 367.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4399, allocations: 4.953 kB / 367.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.4401, allocations: 28.2 kB / 367.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.4408, allocations: 382.1 kB / 368.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.4413, allocations: 111 kB / 368.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4414, allocations: 1.156 kB / 368.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.4417, allocations: 115.5 kB / 368.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.296e-06/0.4418, allocations: 0 / 368.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008724/0.4426, allocations: 200.2 kB / 368.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.4427, allocations: 82 kB / 368.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.4446, allocations: 0.9333 MB / 369.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.4447, allocations: 33.7 kB / 369.6 MB, free: 6.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.445, allocations: 258.8 kB / 369.9 MB, free: 6.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.4451, allocations: 27.64 kB / 369.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.4451, allocations: 8 kB / 369.9 MB, free: 6.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4453, allocations: 318.8 kB / 370.2 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.4455, allocations: 51.97 kB / 370.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.4458, allocations: 71.41 kB / 370.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.446, allocations: 119.3 kB / 370.4 MB, free: 5.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4461, allocations: 0 / 370.4 MB, free: 5.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006675/0.4467, allocations: 244.8 kB / 370.7 MB, free: 5.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.4468, allocations: 67.39 kB / 370.7 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4469, allocations: 4 kB / 370.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4469, allocations: 0 / 370.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4471, allocations: 23.98 kB / 370.8 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4471, allocations: 0 / 370.8 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.4474, allocations: 23.8 kB / 370.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.4475, allocations: 8 kB / 370.8 MB, free: 5.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0004001/0.4479, allocations: 225.8 kB / 371 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.448, allocations: 51.34 kB / 371.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.4481, allocations: 55.77 kB / 371.1 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4481, allocations: 7.984 kB / 371.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4481, allocations: 0 / 371.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4481, allocations: 0 / 371.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.4486, allocations: 333.4 kB / 371.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4486, allocations: 0 / 371.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.4487, allocations: 8 kB / 371.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4487, allocations: 0.625 kB / 371.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4487, allocations: 8 kB / 371.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4488, allocations: 3.984 kB / 371.5 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4488, allocations: 0 / 371.5 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.4494, allocations: 222.8 kB / 371.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4496, allocations: 144.5 kB / 371.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/0.4497, allocations: 8 kB / 371.8 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4499, allocations: 11.98 kB / 371.9 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.4499, allocations: 11.92 kB / 371.9 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.45, allocations: 4 kB / 371.9 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.4513, allocations: 0.7448 MB / 372.6 MB, free: 3.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4513, allocations: 3.938 kB / 372.6 MB, free: 3.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.4517, allocations: 56 kB / 372.7 MB, free: 3.586 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00162/0.4534, allocations: 0.5157 MB / 373.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.4541, allocations: 258.7 kB / 373.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4541, allocations: 4 kB / 373.4 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.4543, allocations: 40.05 kB / 373.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.4549, allocations: 58.22 kB / 373.5 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4569, allocations: 0.9183 MB / 374.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.4575, allocations: 0.8507 MB / 375.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4577, allocations: 27.42 kB / 375.3 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4577, allocations: 0 / 375.3 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of Templates: time 0.01386/0.4716, allocations: 5.098 MB / 380.4 MB, free: 11.82 MB / 314.7 MB