Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.108e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 54.85 MB / 359.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4375, allocations: 79.72 MB / 439.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4377, allocations: 64.84 kB / 439.5 MB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005967/0.4437, allocations: 1.647 MB / 441.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4438, allocations: 0.6562 kB / 441.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.124e-06/0.4438, allocations: 0 / 441.2 MB, free: 15.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004053/0.4442, allocations: 364.1 kB / 441.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4442, allocations: 8.875 kB / 441.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.4443, allocations: 7.953 kB / 441.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.4444, allocations: 163.1 kB / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4444, allocations: 3.5 kB / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-06/0.4445, allocations: 0 / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.79e-05/0.4445, allocations: 30.52 kB / 441.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.678e-06/0.4446, allocations: 0 / 441.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-06/0.4446, allocations: 0 / 441.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-06/0.4446, allocations: 0 / 441.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.4446, allocations: 10.48 kB / 441.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.4448, allocations: 149.7 kB / 441.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.4449, allocations: 22.55 kB / 441.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.4449, allocations: 4.859 kB / 441.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.068e-06/0.4449, allocations: 0 / 441.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.445, allocations: 60.33 kB / 442 MB, free: 14.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.846e-06/0.445, allocations: 0 / 442 MB, free: 14.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.4451, allocations: 59.41 kB / 442 MB, free: 14.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4452, allocations: 85.09 kB / 442.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.4453, allocations: 89 kB / 442.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4453, allocations: 25.7 kB / 442.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.4454, allocations: 150.6 kB / 442.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.4454, allocations: 3.984 kB / 442.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-06/0.4454, allocations: 0 / 442.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4456, allocations: 314.8 kB / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.4456, allocations: 8.031 kB / 442.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-06/0.4456, allocations: 3.938 kB / 442.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.4457, allocations: 25.7 kB / 442.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4457, allocations: 0 / 442.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.797e-05/0.4458, allocations: 63.39 kB / 442.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.4459, allocations: 29.7 kB / 442.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4459, allocations: 2.562 kB / 442.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4459, allocations: 4 kB / 442.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-06/0.4459, allocations: 0 / 442.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.383e-06/0.4459, allocations: 4.094 kB / 442.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.446, allocations: 0 / 442.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.446, allocations: 7.281 kB / 442.8 MB, free: 13.56 MB / 378.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001005/0.4461, allocations: 136 kB / 443 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.4461, allocations: 3.984 kB / 443 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.4461, allocations: 11.06 kB / 443 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-06/0.4462, allocations: 0 / 443 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-06/0.4462, allocations: 0 / 443 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-06/0.4462, allocations: 0 / 443 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.4463, allocations: 153.6 kB / 443.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-06/0.4463, allocations: 0 / 443.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.4463, allocations: 0 / 443.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.429e-06/0.4463, allocations: 0 / 443.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4464, allocations: 0 / 443.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.888e-06/0.4464, allocations: 3.938 kB / 443.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.812e-06/0.4464, allocations: 3.984 kB / 443.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4465, allocations: 90.8 kB / 443.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.4466, allocations: 81.14 kB / 443.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.4466, allocations: 11.17 kB / 443.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.4466, allocations: 0 / 443.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.4467, allocations: 0 / 443.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-06/0.4467, allocations: 0 / 443.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.203e-05/0.4467, allocations: 75.28 kB / 443.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.4467, allocations: 0 / 443.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.447, allocations: 28 kB / 443.4 MB, free: 12.87 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006957/0.4478, allocations: 283.7 kB / 443.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.4479, allocations: 59.41 kB / 443.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.468e-06/0.4479, allocations: 8.062 kB / 443.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.448, allocations: 55.39 kB / 443.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.851e-05/0.4481, allocations: 11.86 kB / 443.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001562/0.4482, allocations: 72.53 kB / 443.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.4486, allocations: 0.677 MB / 444.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.4486, allocations: 7.438 kB / 444.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.4486, allocations: 0 / 444.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of Templates: time 0.002859/0.4515, allocations: 0.9764 MB / 445.6 MB, free: 10.72 MB / 378.7 MB