Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.517e-05, allocations: 9.766 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.5963, allocations: 85.72 MB / 496 MB, free: 2.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.5967, allocations: 56.91 kB / 496 MB, free: 2.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.607, allocations: 1.679 MB / 497.7 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.233e-06/0.6071, allocations: 0 / 497.7 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.021e-06/0.6071, allocations: 0 / 497.7 MB, free: 0.7227 MB / 394.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.0004463/0.6076, allocations: 358.8 kB / 498.1 MB, free: 332 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.6077, allocations: 12.03 kB / 498.1 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.6077, allocations: 0 / 498.1 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.6079, allocations: 163 kB / 498.2 MB, free: 116 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.608, allocations: 0 / 498.2 MB, free: 116 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.608, allocations: 3.984 kB / 498.2 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.6081, allocations: 38.47 kB / 498.3 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6082, allocations: 0 / 498.3 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.6082, allocations: 0 / 498.3 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6082, allocations: 0 / 498.3 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.6083, allocations: 0 / 498.3 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.6085, allocations: 149.7 kB / 498.4 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.6086, allocations: 18.52 kB / 498.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.6087, allocations: 16.95 kB / 498.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.6087, allocations: 0 / 498.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.54e-05/0.6088, allocations: 60.22 kB / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 3.672e-06/0.6088, allocations: 0 / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002256/0.6091, allocations: 63.39 kB / 498.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.6092, allocations: 77.11 kB / 498.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.6093, allocations: 87.73 kB / 498.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.6093, allocations: 25.7 kB / 498.8 MB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.6094, allocations: 84.17 kB / 498.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.6094, allocations: 3.906 kB / 498.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-06/0.6095, allocations: 0 / 498.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.6097, allocations: 322.8 kB / 499.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.6097, allocations: 0 / 499.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.6098, allocations: 0 / 499.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.6098, allocations: 33.64 kB / 499.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-06/0.6099, allocations: 0 / 499.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001665/0.61, allocations: 63.45 kB / 499.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.6101, allocations: 33.7 kB / 499.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6101, allocations: 0 / 499.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.6102, allocations: 3.953 kB / 499.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.894e-06/0.6102, allocations: 0 / 499.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.862e-06/0.6102, allocations: 0 / 499.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.6103, allocations: 0 / 499.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-06/0.6103, allocations: 0 / 499.3 MB, free: 14.89 MB / 410.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.0001459/0.6105, allocations: 134.7 kB / 499.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.6105, allocations: 0 / 499.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.6106, allocations: 15.11 kB / 499.4 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6106, allocations: 0 / 499.4 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.6106, allocations: 7.953 kB / 499.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.993e-06/0.6106, allocations: 0 / 499.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.6108, allocations: 141.7 kB / 499.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.76e-06/0.6108, allocations: 7.922 kB / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-06/0.6109, allocations: 0 / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.6109, allocations: 0 / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.6109, allocations: 4 kB / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.342e-06/0.6109, allocations: 0 / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.706e-06/0.611, allocations: 0 / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.6112, allocations: 94.73 kB / 499.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.6113, allocations: 85.09 kB / 499.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.6113, allocations: 4 kB / 499.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.417e-05/0.6114, allocations: 0 / 499.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.6114, allocations: 0 / 499.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.6114, allocations: 0 / 499.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.659e-05/0.6115, allocations: 87.27 kB / 499.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.439e-06/0.6115, allocations: 0 / 499.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005764/0.6121, allocations: 31.97 kB / 499.9 MB, free: 14.18 MB / 410.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.001194/0.6134, allocations: 293.6 kB / 0.4885 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.6135, allocations: 55.41 kB / 0.4885 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.03e-06/0.6135, allocations: 4.062 kB / 0.4885 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.6136, allocations: 55.41 kB / 0.4886 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.6138, allocations: 5.203 kB / 0.4886 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.614, allocations: 53.95 kB / 0.4886 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.6145, allocations: 0.6731 MB / 0.4893 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.108e-05/0.6145, allocations: 0 / 0.4893 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.6146, allocations: 11.44 kB / 0.4893 GB, free: 13.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.032e-06/0.6146, allocations: 0 / 0.4893 GB, free: 13.02 MB / 410.7 MB Notification: Performance of Templates: time 0.006224/0.6208, allocations: 0.773 MB / 0.49 GB, free: 12.25 MB / 410.7 MB