Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 235 MB / 247.2 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.24e-05, allocations: 7.938 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3701, allocations: 54.85 MB / 359.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4993, allocations: 79.72 MB / 439.5 MB, free: 1.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4995, allocations: 59.97 kB / 439.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006209/0.5057, allocations: 1.66 MB / 441.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.173e-06/0.5058, allocations: 3.609 kB / 441.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.395e-06/0.5058, allocations: 0 / 441.2 MB, free: 15.52 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.0003228/0.5061, allocations: 352.2 kB / 441.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5062, allocations: 12.03 kB / 441.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.5062, allocations: 11.94 kB / 441.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.5064, allocations: 163.1 kB / 441.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5064, allocations: 0 / 441.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5064, allocations: 0 / 441.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.5065, allocations: 33.64 kB / 441.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.693e-06/0.5065, allocations: 0 / 441.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-06/0.5065, allocations: 0 / 441.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-06/0.5066, allocations: 0 / 441.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.5066, allocations: 3.953 kB / 441.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.5068, allocations: 155.9 kB / 441.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.98e-05/0.5068, allocations: 14.58 kB / 441.9 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.5068, allocations: 4.859 kB / 442 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.5069, allocations: 0 / 442 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.5069, allocations: 64.33 kB / 442 MB, free: 14.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.019e-06/0.5069, allocations: 0 / 442 MB, free: 14.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000155/0.5071, allocations: 67.33 kB / 442.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.5072, allocations: 81.11 kB / 442.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/0.5072, allocations: 87.72 kB / 442.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.5073, allocations: 25.7 kB / 442.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.5073, allocations: 80.14 kB / 442.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.5074, allocations: 0 / 442.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-06/0.5074, allocations: 0 / 442.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5075, allocations: 318.8 kB / 442.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5076, allocations: 8.031 kB / 442.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-06/0.5076, allocations: 0 / 442.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.5076, allocations: 25.7 kB / 442.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-06/0.5076, allocations: 0 / 442.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.914e-05/0.5077, allocations: 63.39 kB / 442.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.5078, allocations: 31.42 kB / 442.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.732e-06/0.5078, allocations: 7.172 kB / 442.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5078, allocations: 3.938 kB / 442.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.5078, allocations: 0 / 442.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.354e-06/0.5079, allocations: 96 / 442.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.5079, allocations: 4 kB / 442.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5079, allocations: 0 / 442.8 MB, free: 13.69 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.0001054/0.508, allocations: 134.6 kB / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-06/0.508, allocations: 0 / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.5081, allocations: 11.06 kB / 442.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-06/0.5081, allocations: 0 / 442.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-06/0.5081, allocations: 0 / 442.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-06/0.5081, allocations: 0 / 442.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.5082, allocations: 153.6 kB / 443.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-06/0.5083, allocations: 4 kB / 443.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-06/0.5083, allocations: 0 / 443.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.506e-06/0.5083, allocations: 0 / 443.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-06/0.5083, allocations: 0.8125 kB / 443.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.671e-06/0.5083, allocations: 4.922 kB / 443.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.03e-06/0.5083, allocations: 4 kB / 443.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5084, allocations: 86.8 kB / 443.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.5085, allocations: 81.09 kB / 443.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.5085, allocations: 12.02 kB / 443.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.5086, allocations: 7.125 kB / 443.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.5086, allocations: 3.984 kB / 443.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-06/0.5086, allocations: 0 / 443.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.5087, allocations: 75.28 kB / 443.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.5087, allocations: 0 / 443.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.509, allocations: 28.75 kB / 443.4 MB, free: 12.99 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.0006891/0.5097, allocations: 279.6 kB / 443.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.5098, allocations: 63.94 kB / 443.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.808e-06/0.5098, allocations: 64 / 443.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.5099, allocations: 59.34 kB / 443.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.985e-05/0.51, allocations: 10.34 kB / 443.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/0.5102, allocations: 49 kB / 443.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.5105, allocations: 0.677 MB / 444.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.5105, allocations: 0 / 444.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.5105, allocations: 7.438 kB / 444.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.33e-06/0.5106, allocations: 0 / 444.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003609/0.5142, allocations: 0.7663 MB / 445.3 MB, free: 11.08 MB / 378.7 MB