Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 270 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.905e-05, allocations: 11.92 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/0.5276, allocations: 85.57 MB / 495.8 MB, free: 2.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.5279, allocations: 60.72 kB / 495.9 MB, free: 2.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006058/0.5339, allocations: 1.732 MB / 497.6 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.7e-06/0.534, allocations: 0.5312 kB / 497.6 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.127e-06/0.534, allocations: 0.5938 kB / 497.6 MB, free: 0.7969 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.0003384/0.5343, allocations: 356.2 kB / 498 MB, free: 408 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5344, allocations: 8.031 kB / 498 MB, free: 400 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.5345, allocations: 4 kB / 498 MB, free: 396 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.5346, allocations: 163 kB / 498.2 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5346, allocations: 0 / 498.2 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.5347, allocations: 0 / 498.2 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.207e-05/0.5347, allocations: 37.64 kB / 498.2 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.5348, allocations: 0 / 498.2 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-06/0.5348, allocations: 0 / 498.2 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-06/0.5348, allocations: 4 kB / 498.2 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.5348, allocations: 0 / 498.2 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.535, allocations: 149.7 kB / 498.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.892e-05/0.5351, allocations: 14.58 kB / 498.4 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.5351, allocations: 16.88 kB / 498.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-06/0.5351, allocations: 0 / 498.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.5352, allocations: 60.22 kB / 498.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.15e-06/0.5352, allocations: 7.938 kB / 498.4 MB, free: 15.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.5354, allocations: 63.31 kB / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.5354, allocations: 81.11 kB / 498.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.188e-05/0.5355, allocations: 85 kB / 498.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5356, allocations: 33.69 kB / 498.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.5356, allocations: 84.08 kB / 498.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.5356, allocations: 0 / 498.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-06/0.5357, allocations: 160 / 498.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5358, allocations: 314.8 kB / 499.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.5358, allocations: 0 / 499.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.5359, allocations: 4 kB / 499.1 MB, free: 15.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.5359, allocations: 25.7 kB / 499.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5359, allocations: 3.938 kB / 499.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.536, allocations: 63.41 kB / 499.2 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.5361, allocations: 33.69 kB / 499.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5361, allocations: 0 / 499.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5361, allocations: 12.05 kB / 499.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.621e-06/0.5361, allocations: 0 / 499.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.083e-06/0.5362, allocations: 0 / 499.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.5362, allocations: 0 / 499.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-06/0.5362, allocations: 0 / 499.2 MB, free: 14.95 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.0001019/0.5363, allocations: 130.7 kB / 499.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.5363, allocations: 0 / 499.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.5364, allocations: 7.953 kB / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-06/0.5364, allocations: 3.953 kB / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5364, allocations: 7.984 kB / 499.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-06/0.5364, allocations: 3.984 kB / 499.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.5365, allocations: 145.7 kB / 499.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-06/0.5366, allocations: 0 / 499.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-06/0.5366, allocations: 4 kB / 499.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.938e-06/0.5366, allocations: 0 / 499.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-06/0.5366, allocations: 4 kB / 499.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.253e-06/0.5366, allocations: 4 kB / 499.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.044e-06/0.5366, allocations: 7.938 kB / 499.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.5368, allocations: 90.78 kB / 499.6 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.5368, allocations: 77.11 kB / 499.7 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.5369, allocations: 7.922 kB / 499.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.5369, allocations: 0 / 499.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.5369, allocations: 4 kB / 499.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.556e-06/0.5369, allocations: 7.953 kB / 499.7 MB, free: 14.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.537, allocations: 75.28 kB / 499.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.537, allocations: 0 / 499.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002904/0.5373, allocations: 32.11 kB / 499.8 MB, free: 14.24 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.0004789/0.5378, allocations: 197.5 kB / 0.4883 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.5379, allocations: 63.41 kB / 0.4884 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.487e-06/0.5379, allocations: 3.938 kB / 0.4884 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.538, allocations: 51.41 kB / 0.4884 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.5381, allocations: 4 kB / 0.4884 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.5383, allocations: 51.58 kB / 0.4885 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.5387, allocations: 0.677 MB / 0.4891 GB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.656e-06/0.5387, allocations: 0 / 0.4891 GB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.5387, allocations: 7.438 kB / 0.4891 GB, free: 13.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.43e-06/0.5387, allocations: 0 / 0.4891 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003146/0.5419, allocations: 0.6175 MB / 0.4897 GB, free: 12.53 MB / 410.7 MB