Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.99e-05/4.998e-05, allocations: 12 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 54.85 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002506/0.4232, allocations: 1.327 MB / 364.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.4248, allocations: 0.6306 MB / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.4249, allocations: 0 / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.4253, allocations: 71.92 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.4255, allocations: 44.95 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.4257, allocations: 45.36 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.4259, allocations: 49.39 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.426, allocations: 0 / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.4261, allocations: 37.91 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.4262, allocations: 39.34 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.4264, allocations: 22.02 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.4264, allocations: 2.312 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.4265, allocations: 20.98 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.4265, allocations: 7.938 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.4267, allocations: 82.61 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4267, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4268, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4268, allocations: 0 / 365.2 MB, free: 10.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006174/0.4274, allocations: 438 kB / 365.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4275, allocations: 9.188 kB / 365.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.4275, allocations: 9 kB / 365.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.4278, allocations: 193.8 kB / 365.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.4279, allocations: 13.61 kB / 365.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.4279, allocations: 3.312 kB / 365.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.4281, allocations: 43.38 kB / 365.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4281, allocations: 3.938 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4282, allocations: 5.078 kB / 365.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4282, allocations: 7.891 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.4283, allocations: 13.19 kB / 366 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.4286, allocations: 190.4 kB / 366.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4288, allocations: 55.23 kB / 366.2 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.4289, allocations: 1.594 kB / 366.2 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.4291, allocations: 67.8 kB / 366.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 5.15e-06/0.4291, allocations: 0 / 366.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000437/0.4296, allocations: 101.4 kB / 366.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.4297, allocations: 59.36 kB / 366.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.43, allocations: 189 kB / 366.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.43, allocations: 28.42 kB / 366.6 MB, free: 8.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4301, allocations: 164 kB / 366.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.4302, allocations: 22.22 kB / 366.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.4302, allocations: 5.406 kB / 366.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4304, allocations: 316.2 kB / 367.1 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4305, allocations: 24.36 kB / 367.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.4306, allocations: 47.86 kB / 367.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4308, allocations: 53.77 kB / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4308, allocations: 0 / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003645/0.4312, allocations: 126.2 kB / 367.4 MB, free: 8.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.4313, allocations: 37 kB / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4313, allocations: 1.5 kB / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4313, allocations: 0 / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4314, allocations: 14.25 kB / 367.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4315, allocations: 0 / 367.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4316, allocations: 24.72 kB / 367.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.4316, allocations: 4.75 kB / 367.5 MB, free: 8.066 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 (8): * Single equations (assignments): 7 * 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.0001509/0.4318, allocations: 127.6 kB / 367.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4318, allocations: 13.05 kB / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.4319, allocations: 14.06 kB / 367.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4319, allocations: 3.938 kB / 367.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4319, allocations: 1.5 kB / 367.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4319, allocations: 4 kB / 367.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.4321, allocations: 189.6 kB / 367.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4322, allocations: 0 / 367.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.4322, allocations: 7.984 kB / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4322, allocations: 0 / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4322, allocations: 1.344 kB / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4322, allocations: 0 / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4323, allocations: 1.469 kB / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.4326, allocations: 120.9 kB / 367.9 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.4327, allocations: 97.22 kB / 368 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4327, allocations: 1.25 kB / 368 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.4328, allocations: 2.75 kB / 368 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.4328, allocations: 5.5 kB / 368 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.4329, allocations: 7.359 kB / 368 MB, free: 7.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.433, allocations: 151.5 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4331, allocations: 0 / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.4334, allocations: 26.44 kB / 368.2 MB, free: 7.363 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001122/0.4345, allocations: 350.6 kB / 368.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.4349, allocations: 131.5 kB / 368.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4349, allocations: 1.094 kB / 368.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.435, allocations: 23.48 kB / 368.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.4353, allocations: 21.25 kB / 368.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.436, allocations: 254.6 kB / 369 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4363, allocations: 0.7094 MB / 369.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.4364, allocations: 12.69 kB / 369.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4364, allocations: 3.938 kB / 369.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of Templates: time 0.005174/0.4416, allocations: 1.694 MB / 371.4 MB, free: 4.984 MB / 298.7 MB