Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.387e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.345, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002329/0.3474, allocations: 1.313 MB / 326.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3493, allocations: 0.9642 MB / 327.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.3494, allocations: 0 / 327.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3496, allocations: 23.31 kB / 327.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3498, allocations: 28.08 kB / 327.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.35, allocations: 49.56 kB / 327.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3501, allocations: 39.03 kB / 327.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.999e-05/0.3502, allocations: 7.797 kB / 327.3 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.3503, allocations: 24.47 kB / 327.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.3505, allocations: 24.11 kB / 327.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3507, allocations: 49.03 kB / 327.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.3507, allocations: 4.688 kB / 327.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.3508, allocations: 11.06 kB / 327.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.3508, allocations: 3.438 kB / 327.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3511, allocations: 89.5 kB / 327.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3511, allocations: 0 / 327.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3511, allocations: 1.406 kB / 327.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3511, allocations: 4 kB / 327.5 MB, free: 1.746 MB / 266.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.0004547/0.3516, allocations: 397.9 kB / 327.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3516, allocations: 9.469 kB / 327.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.3517, allocations: 8.094 kB / 327.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3519, allocations: 187.2 kB / 328.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3519, allocations: 5.922 kB / 328.1 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.352, allocations: 6.594 kB / 328.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3521, allocations: 63.53 kB / 328.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3522, allocations: 0 / 328.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3522, allocations: 0 / 328.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3522, allocations: 3.562 kB / 328.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.3523, allocations: 14.47 kB / 328.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.3526, allocations: 274 kB / 328.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3529, allocations: 53.75 kB / 328.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3529, allocations: 1.156 kB / 328.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.3531, allocations: 55.47 kB / 328.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.3531, allocations: 2.234 kB / 328.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004378/0.3535, allocations: 112 kB / 328.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3536, allocations: 78.3 kB / 328.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3537, allocations: 126.7 kB / 328.8 MB, free: 428 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3537, allocations: 31.55 kB / 328.9 MB, free: 392 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.3538, allocations: 161.8 kB / 329 MB, free: 232 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3538, allocations: 14.92 kB / 329 MB, free: 220 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.3539, allocations: 1.094 kB / 329.1 MB, free: 220 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.354, allocations: 317.2 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.354, allocations: 20.33 kB / 329.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.3541, allocations: 33.81 kB / 329.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.3542, allocations: 55.16 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3543, allocations: 4.031 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002528/0.3545, allocations: 116.6 kB / 329.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.3546, allocations: 32.34 kB / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3546, allocations: 0 / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3546, allocations: 2.078 kB / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.3547, allocations: 12.27 kB / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3547, allocations: 1.312 kB / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.3548, allocations: 7.438 kB / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3548, allocations: 6.875 kB / 329.6 MB, free: 15.69 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001183/0.355, allocations: 128.2 kB / 329.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.355, allocations: 7.938 kB / 329.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.3551, allocations: 7.531 kB / 329.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3551, allocations: 1.094 kB / 329.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3551, allocations: 1.922 kB / 329.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3551, allocations: 0 / 329.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.3555, allocations: 340.9 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3556, allocations: 0 / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.3556, allocations: 6.531 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3556, allocations: 4.094 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3557, allocations: 10.42 kB / 330.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3557, allocations: 0 / 330.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3557, allocations: 5.062 kB / 330.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.3559, allocations: 167.8 kB / 330.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.356, allocations: 84.86 kB / 330.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.356, allocations: 1.344 kB / 330.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.3561, allocations: 6.438 kB / 330.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3562, allocations: 8.656 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3562, allocations: 3.453 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3563, allocations: 103.4 kB / 330.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.725e-06/0.3563, allocations: 0 / 330.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.3567, allocations: 42.84 kB / 330.6 MB, free: 14.87 MB / 282.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001133/0.3579, allocations: 406.5 kB / 331 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3581, allocations: 109.6 kB / 331.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3581, allocations: 4 kB / 331.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.3582, allocations: 15.66 kB / 331.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3585, allocations: 24.12 kB / 331.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.359, allocations: 188.8 kB / 331.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3593, allocations: 0.6948 MB / 332 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.3594, allocations: 16.75 kB / 332 MB, free: 13.64 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3594, allocations: 0.5312 kB / 332 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Templates: time 0.005797/0.3652, allocations: 1.93 MB / 333.9 MB, free: 13.41 MB / 282.7 MB