Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.656e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4037, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003526/0.4073, allocations: 1.43 MB / 364.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.4112, allocations: 1.408 MB / 365.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.4115, allocations: 5.312 kB / 365.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.4119, allocations: 32.8 kB / 365.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4122, allocations: 53.5 kB / 365.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.4127, allocations: 82.2 kB / 365.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.413, allocations: 99.59 kB / 366 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.4131, allocations: 2.125 kB / 366 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.4133, allocations: 60.77 kB / 366 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.4136, allocations: 45.69 kB / 366.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.414, allocations: 78.98 kB / 366.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.4141, allocations: 9.156 kB / 366.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.4142, allocations: 23.94 kB / 366.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.4142, allocations: 12.69 kB / 366.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.4148, allocations: 160.5 kB / 366.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4148, allocations: 5.031 kB / 366.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4148, allocations: 0 / 366.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4148, allocations: 0 / 366.3 MB, free: 9.316 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.001033/0.4159, allocations: 0.5361 MB / 366.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.416, allocations: 13.62 kB / 366.9 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.36e-05/0.4161, allocations: 15.25 kB / 366.9 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.4166, allocations: 226.9 kB / 367.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.4167, allocations: 10.72 kB / 367.1 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.4167, allocations: 5.656 kB / 367.1 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.4172, allocations: 95.89 kB / 367.2 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4172, allocations: 0 / 367.2 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.4172, allocations: 0.9688 kB / 367.2 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4173, allocations: 9.156 kB / 367.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.4175, allocations: 41.03 kB / 367.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.418, allocations: 231.6 kB / 367.5 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.4186, allocations: 106.4 kB / 367.6 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.4187, allocations: 6.156 kB / 367.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.4191, allocations: 112.4 kB / 367.7 MB, free: 7.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.905e-06/0.4191, allocations: 1.062 kB / 367.7 MB, free: 7.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009826/0.4201, allocations: 166 kB / 367.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.4203, allocations: 141.5 kB / 368 MB, free: 7.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.4207, allocations: 189.5 kB / 368.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.4208, allocations: 36.02 kB / 368.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.421, allocations: 163.5 kB / 368.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.421, allocations: 27.67 kB / 368.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.4211, allocations: 5.906 kB / 368.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4213, allocations: 321.7 kB / 368.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.4216, allocations: 43.67 kB / 368.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.4219, allocations: 95.89 kB / 368.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.4223, allocations: 116.5 kB / 369 MB, free: 6.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4224, allocations: 0 / 369 MB, free: 6.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009041/0.4233, allocations: 238.4 kB / 369.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.4234, allocations: 74.3 kB / 369.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4234, allocations: 1.25 kB / 369.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4235, allocations: 5.625 kB / 369.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.4237, allocations: 21.42 kB / 369.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4238, allocations: 2.031 kB / 369.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.424, allocations: 33.34 kB / 369.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4241, allocations: 7.656 kB / 369.4 MB, free: 6.516 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.000238/0.4244, allocations: 130.6 kB / 369.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.4244, allocations: 23.08 kB / 369.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.4245, allocations: 14.28 kB / 369.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4246, allocations: 0.9062 kB / 369.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4246, allocations: 1.094 kB / 369.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.4246, allocations: 0 / 369.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.425, allocations: 220.8 kB / 369.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.425, allocations: 1.094 kB / 369.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.4251, allocations: 6.469 kB / 369.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4251, allocations: 1.219 kB / 369.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4251, allocations: 6.078 kB / 369.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4252, allocations: 0.9375 kB / 369.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4252, allocations: 4.969 kB / 369.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.4259, allocations: 186 kB / 370 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.4261, allocations: 107.8 kB / 370.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.4262, allocations: 2.688 kB / 370.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.4263, allocations: 13.09 kB / 370.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.4264, allocations: 11.73 kB / 370.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.4265, allocations: 5.219 kB / 370.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.4268, allocations: 153.8 kB / 370.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4268, allocations: 0 / 370.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007432/0.4276, allocations: 61.95 kB / 370.3 MB, free: 5.703 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002892/0.4305, allocations: 0.6452 MB / 371 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.4315, allocations: 265.4 kB / 371.2 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.4315, allocations: 5.094 kB / 371.2 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.4318, allocations: 43.95 kB / 371.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.4324, allocations: 47.11 kB / 371.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.4334, allocations: 292.8 kB / 371.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.4338, allocations: 0.7166 MB / 372.3 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.434, allocations: 27.42 kB / 372.4 MB, free: 3.898 MB / 298.7 MB Notification: Performance of SimCode: time 1.021e-06/0.434, allocations: 0 / 372.4 MB, free: 3.898 MB / 298.7 MB Notification: Performance of Templates: time 0.01082/0.4448, allocations: 3.103 MB / 375.5 MB, free: 0.7969 MB / 298.7 MB