Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 234.9 MB / 250.1 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.738e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4198, allocations: 54.87 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002556/0.4224, allocations: 1.359 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.4241, allocations: 0.646 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4242, allocations: 5.625 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4245, allocations: 24.27 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.4247, allocations: 26.89 kB / 364.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.4249, allocations: 42.42 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.4251, allocations: 60.58 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.4252, allocations: 2.688 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4253, allocations: 38.5 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.4255, allocations: 23.92 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.4256, allocations: 30.23 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.4257, allocations: 3.5 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.4257, allocations: 20.27 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.4258, allocations: 5.031 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.426, allocations: 84.75 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4261, allocations: 4 kB / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4261, allocations: 0 / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.4261, allocations: 0 / 365.2 MB, free: 10.17 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.000644/0.4267, allocations: 446.7 kB / 365.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4268, allocations: 12.38 kB / 365.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.4269, allocations: 9.719 kB / 365.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.4272, allocations: 209 kB / 365.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.4273, allocations: 6.438 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.4273, allocations: 3.094 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.4275, allocations: 62.52 kB / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4276, allocations: 0 / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4276, allocations: 0 / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4276, allocations: 5.422 kB / 366 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4277, allocations: 19.2 kB / 366 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.4282, allocations: 294 kB / 366.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.4285, allocations: 62.03 kB / 366.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.4286, allocations: 1.312 kB / 366.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.4288, allocations: 81.14 kB / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.4288, allocations: 0 / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007853/0.4296, allocations: 172.8 kB / 366.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.4297, allocations: 56.7 kB / 366.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.43, allocations: 182.5 kB / 366.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.43, allocations: 28.02 kB / 366.8 MB, free: 8.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.4301, allocations: 168.6 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.4302, allocations: 27.86 kB / 367 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.4302, allocations: 1.406 kB / 367 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4303, allocations: 315.9 kB / 367.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4304, allocations: 27.11 kB / 367.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.4306, allocations: 59.36 kB / 367.4 MB, free: 8.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.4308, allocations: 69.83 kB / 367.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4308, allocations: 0 / 367.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004225/0.4312, allocations: 152.3 kB / 367.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/0.4313, allocations: 44.42 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4313, allocations: 1.094 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4314, allocations: 1.031 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.4315, allocations: 13.12 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4315, allocations: 1.125 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.4317, allocations: 12.14 kB / 367.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4317, allocations: 8.031 kB / 367.7 MB, free: 7.852 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.0001562/0.4319, allocations: 122 kB / 367.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.4319, allocations: 16.67 kB / 367.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.432, allocations: 17.89 kB / 367.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.432, allocations: 1.344 kB / 367.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.432, allocations: 0 / 367.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.432, allocations: 1.469 kB / 367.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.4327, allocations: 394.9 kB / 368.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.4327, allocations: 4.047 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.4328, allocations: 15.56 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.4328, allocations: 5.078 kB / 368.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4329, allocations: 1.844 kB / 368.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4329, allocations: 1 kB / 368.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4329, allocations: 1.094 kB / 368.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.4333, allocations: 226.5 kB / 368.5 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.4334, allocations: 90.12 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4334, allocations: 6.25 kB / 368.6 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4336, allocations: 2.344 kB / 368.6 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.4336, allocations: 11.2 kB / 368.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4337, allocations: 3.469 kB / 368.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.4339, allocations: 151.4 kB / 368.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4339, allocations: 0 / 368.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.4342, allocations: 25.19 kB / 368.8 MB, free: 6.879 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.001206/0.4355, allocations: 411.5 kB / 369.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.4359, allocations: 146.9 kB / 369.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.436, allocations: 4.062 kB / 369.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.4361, allocations: 29.95 kB / 369.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.4364, allocations: 21.25 kB / 369.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.4371, allocations: 277.9 kB / 369.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4375, allocations: 0.7106 MB / 370.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.4376, allocations: 18.36 kB / 370.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4376, allocations: 1.062 kB / 370.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of Templates: time 0.005705/0.4433, allocations: 1.9 MB / 372.3 MB, free: 4.055 MB / 298.7 MB