Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,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.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.723e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3804, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002549/0.383, allocations: 1.327 MB / 364.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3846, allocations: 0.6306 MB / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.3847, allocations: 0 / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3851, allocations: 49.58 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.3853, allocations: 44.05 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.3855, allocations: 45.92 kB / 364.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3856, allocations: 42.62 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.3857, allocations: 1.062 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3858, allocations: 40.19 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3859, allocations: 27.14 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3861, allocations: 17.39 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3861, allocations: 4.188 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.3862, allocations: 21.66 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3862, allocations: 5.406 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3864, allocations: 78.94 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3864, allocations: 0 / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3864, allocations: 1.094 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3865, allocations: 3.938 kB / 365.2 MB, free: 10.22 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.0005991/0.3871, allocations: 423.8 kB / 365.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3871, allocations: 8.906 kB / 365.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.3872, allocations: 17.14 kB / 365.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3875, allocations: 203.5 kB / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3875, allocations: 1.375 kB / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3876, allocations: 6.656 kB / 365.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3878, allocations: 48.08 kB / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3878, allocations: 0 / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3878, allocations: 5.312 kB / 365.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3878, allocations: 3.953 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3879, allocations: 20.16 kB / 365.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.3882, allocations: 193 kB / 366.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.3885, allocations: 55.84 kB / 366.2 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3885, allocations: 0.9062 kB / 366.2 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.3887, allocations: 68.39 kB / 366.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/0.3888, allocations: 3.938 kB / 366.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004301/0.3892, allocations: 92.77 kB / 366.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3893, allocations: 59.34 kB / 366.4 MB, free: 9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3895, allocations: 171.5 kB / 366.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3896, allocations: 26.89 kB / 366.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.3897, allocations: 165.4 kB / 366.7 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.3897, allocations: 5.219 kB / 366.7 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.3897, allocations: 5.469 kB / 366.7 MB, free: 8.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3899, allocations: 320.3 kB / 367 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.39, allocations: 20.41 kB / 367.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3901, allocations: 52.41 kB / 367.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3903, allocations: 48.61 kB / 367.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3903, allocations: 1.188 kB / 367.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003838/0.3907, allocations: 134.4 kB / 367.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.3908, allocations: 37.06 kB / 367.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3908, allocations: 3.938 kB / 367.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3908, allocations: 1.406 kB / 367.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3909, allocations: 8.812 kB / 367.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.391, allocations: 1.5 kB / 367.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3911, allocations: 19.95 kB / 367.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3911, allocations: 4.281 kB / 367.4 MB, free: 8.105 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.0001484/0.3913, allocations: 130.2 kB / 367.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3913, allocations: 11.97 kB / 367.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.3914, allocations: 15.52 kB / 367.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3914, allocations: 1 kB / 367.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3914, allocations: 0 / 367.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3914, allocations: 1.5 kB / 367.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3916, allocations: 188.2 kB / 367.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3916, allocations: 4 kB / 367.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.3917, allocations: 3.188 kB / 367.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3917, allocations: 1.156 kB / 367.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3917, allocations: 1.188 kB / 367.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3917, allocations: 0 / 367.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3917, allocations: 3.938 kB / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3921, allocations: 109.8 kB / 367.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.3922, allocations: 92.84 kB / 367.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3922, allocations: 1.375 kB / 367.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.3923, allocations: 6.938 kB / 367.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3923, allocations: 9.203 kB / 367.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3924, allocations: 3 kB / 367.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.3925, allocations: 133.1 kB / 368.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3926, allocations: 0 / 368.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.3929, allocations: 28.89 kB / 368.1 MB, free: 7.414 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.001076/0.394, allocations: 355 kB / 368.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.3944, allocations: 132.3 kB / 368.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3944, allocations: 5.469 kB / 368.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.3946, allocations: 27.03 kB / 368.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3949, allocations: 21.12 kB / 368.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.3955, allocations: 234.9 kB / 368.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3958, allocations: 0.699 MB / 369.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.3959, allocations: 12.94 kB / 369.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3959, allocations: 0 / 369.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Templates: time 0.005357/0.4013, allocations: 1.64 MB / 371.2 MB, free: 5.18 MB / 298.7 MB