Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.128e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.5299, allocations: 85.72 MB / 496 MB, free: 2.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.5301, allocations: 59.97 kB / 496.1 MB, free: 2.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006166/0.5363, allocations: 1.67 MB / 497.7 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.816e-06/0.5363, allocations: 4 kB / 497.7 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.523e-06/0.5363, allocations: 0 / 497.7 MB, free: 0.5586 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.0003356/0.5367, allocations: 356.2 kB / 498.1 MB, free: 164 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5367, allocations: 12.03 kB / 498.1 MB, free: 152 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.5368, allocations: 0 / 498.1 MB, free: 152 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5369, allocations: 163 kB / 498.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.537, allocations: 0 / 498.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.537, allocations: 4 kB / 498.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.607e-05/0.5371, allocations: 30.47 kB / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.729e-06/0.5371, allocations: 0 / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-06/0.5371, allocations: 0 / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-06/0.5371, allocations: 0 / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.5372, allocations: 4 kB / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.5373, allocations: 153.7 kB / 498.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.5374, allocations: 18.61 kB / 498.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.5374, allocations: 8.797 kB / 498.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-06/0.5375, allocations: 0 / 498.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.5375, allocations: 60.22 kB / 498.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.956e-06/0.5375, allocations: 0 / 498.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.5377, allocations: 67.45 kB / 498.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.5378, allocations: 77.11 kB / 498.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/0.5379, allocations: 91.84 kB / 498.8 MB, free: 15.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5379, allocations: 29.64 kB / 498.8 MB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.5379, allocations: 84.14 kB / 498.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.538, allocations: 3.906 kB / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-06/0.538, allocations: 0 / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5382, allocations: 310.8 kB / 499.2 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-06/0.5382, allocations: 0 / 499.2 MB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-06/0.5382, allocations: 4.031 kB / 499.2 MB, free: 14.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.5382, allocations: 33.64 kB / 499.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5383, allocations: 0 / 499.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.5384, allocations: 63.39 kB / 499.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.5384, allocations: 29.7 kB / 499.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5384, allocations: 0 / 499.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5385, allocations: 3.953 kB / 499.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-06/0.5385, allocations: 0 / 499.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.567e-06/0.5385, allocations: 0 / 499.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.5385, allocations: 8.094 kB / 499.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.5385, allocations: 0 / 499.3 MB, free: 14.73 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.0001119/0.5387, allocations: 134.7 kB / 499.4 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.5387, allocations: 4 kB / 499.4 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.5387, allocations: 7.078 kB / 499.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-06/0.5387, allocations: 0 / 499.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.015e-06/0.5387, allocations: 3.953 kB / 499.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.893e-06/0.5387, allocations: 3.984 kB / 499.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.5389, allocations: 145.7 kB / 499.6 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-06/0.5389, allocations: 4 kB / 499.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-06/0.5389, allocations: 11.81 kB / 499.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-06/0.5389, allocations: 0 / 499.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-06/0.5389, allocations: 0 / 499.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.928e-06/0.5389, allocations: 0 / 499.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.627e-06/0.539, allocations: 0 / 499.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.5391, allocations: 94.73 kB / 499.7 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.5392, allocations: 81.09 kB / 499.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5392, allocations: 4.031 kB / 499.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.5392, allocations: 0 / 499.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.5392, allocations: 4 kB / 499.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5393, allocations: 0 / 499.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.5393, allocations: 79.23 kB / 499.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.49e-07/0.5393, allocations: 0 / 499.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000306/0.5396, allocations: 27.98 kB / 499.9 MB, free: 14.03 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.0007487/0.5404, allocations: 297.3 kB / 0.4885 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.5405, allocations: 67.33 kB / 0.4885 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5405, allocations: 0 / 0.4885 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.5406, allocations: 55.41 kB / 0.4886 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.701e-05/0.5407, allocations: 10.14 kB / 0.4886 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/0.5409, allocations: 46.08 kB / 0.4886 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.5412, allocations: 0.6809 MB / 0.4893 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.719e-06/0.5413, allocations: 0 / 0.4893 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.5413, allocations: 7.438 kB / 0.4893 GB, free: 12.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.687e-06/0.5413, allocations: 0 / 0.4893 GB, free: 12.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003657/0.545, allocations: 0.7612 MB / 0.4901 GB, free: 12.1 MB / 410.7 MB