Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.168e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3773, allocations: 54.86 MB / 362.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002633/0.3799, allocations: 1.355 MB / 364.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3816, allocations: 0.65 MB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.3817, allocations: 1.438 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.382, allocations: 20.72 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.3822, allocations: 31.28 kB / 364.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.3824, allocations: 46.23 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3826, allocations: 57.52 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.3827, allocations: 7.031 kB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3828, allocations: 35.28 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.3829, allocations: 23.45 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.383, allocations: 30.95 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.3831, allocations: 4.312 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.3831, allocations: 20.23 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3832, allocations: 4.906 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3834, allocations: 91.62 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3834, allocations: 4 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3835, allocations: 0 / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3835, allocations: 0 / 365.2 MB, free: 10.16 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006281/0.3841, allocations: 456.4 kB / 365.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3842, allocations: 12.5 kB / 365.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.3842, allocations: 10.56 kB / 365.7 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3845, allocations: 197.1 kB / 365.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3846, allocations: 6.656 kB / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.3846, allocations: 7.031 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3849, allocations: 62.05 kB / 366 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3849, allocations: 5.391 kB / 366 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3849, allocations: 0 / 366 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3849, allocations: 9.438 kB / 366 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3851, allocations: 18.8 kB / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.3855, allocations: 299.2 kB / 366.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3858, allocations: 62.53 kB / 366.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.3858, allocations: 0.9688 kB / 366.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.3861, allocations: 76.67 kB / 366.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.3861, allocations: 1.5 kB / 366.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007839/0.3869, allocations: 177.1 kB / 366.6 MB, free: 8.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3869, allocations: 56.38 kB / 366.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3872, allocations: 208.6 kB / 366.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3873, allocations: 26.98 kB / 366.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3874, allocations: 168.8 kB / 367.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3875, allocations: 23.72 kB / 367.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.3875, allocations: 1.344 kB / 367.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3876, allocations: 320.8 kB / 367.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3878, allocations: 27.55 kB / 367.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3879, allocations: 47.7 kB / 367.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3881, allocations: 69.66 kB / 367.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3881, allocations: 0 / 367.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003999/0.3885, allocations: 148.9 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.3886, allocations: 40.34 kB / 367.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3886, allocations: 1.281 kB / 367.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3886, allocations: 1.031 kB / 367.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3888, allocations: 20.45 kB / 367.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3888, allocations: 5.094 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.389, allocations: 4.594 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.389, allocations: 8.344 kB / 367.8 MB, free: 7.828 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 (11): * Single equations (assignments): 10 * 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.0001735/0.3892, allocations: 127 kB / 367.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3892, allocations: 13.5 kB / 367.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.3893, allocations: 22.38 kB / 367.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3893, allocations: 2.438 kB / 367.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3893, allocations: 0 / 367.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3893, allocations: 0 / 367.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.3901, allocations: 401.6 kB / 368.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3901, allocations: 3.953 kB / 368.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.3902, allocations: 11.75 kB / 368.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.3902, allocations: 5.172 kB / 368.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3902, allocations: 2.375 kB / 368.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3902, allocations: 4.969 kB / 368.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3902, allocations: 0 / 368.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.3906, allocations: 224.2 kB / 368.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3908, allocations: 97.66 kB / 368.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3908, allocations: 2.438 kB / 368.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3909, allocations: 5.344 kB / 368.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.391, allocations: 8.266 kB / 368.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.391, allocations: 7.5 kB / 368.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.3913, allocations: 161.7 kB / 368.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.414e-06/0.3913, allocations: 0 / 368.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000367/0.3916, allocations: 34.5 kB / 368.9 MB, free: 6.836 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001258/0.3929, allocations: 409.4 kB / 369.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.3934, allocations: 152 kB / 369.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3934, allocations: 4.062 kB / 369.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3936, allocations: 25.75 kB / 369.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3939, allocations: 21.53 kB / 369.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.3947, allocations: 298.5 kB / 369.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3951, allocations: 0.7094 MB / 370.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.3952, allocations: 15.47 kB / 370.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3952, allocations: 3.938 kB / 370.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of Templates: time 0.005987/0.4012, allocations: 1.944 MB / 372.4 MB, free: 3.91 MB / 298.7 MB