Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 270 MB / 282.7 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.123e-05, allocations: 4 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.4995, allocations: 85.72 MB / 494.6 MB, free: 4.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.4998, allocations: 63.97 kB / 494.6 MB, free: 4.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005952/0.5057, allocations: 1.675 MB / 496.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.012e-06/0.5058, allocations: 0 / 496.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.012e-06/0.5058, allocations: 0 / 496.3 MB, free: 3.227 MB / 410.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.0003047/0.5061, allocations: 348.3 kB / 496.6 MB, free: 2.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5062, allocations: 12.03 kB / 496.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.5062, allocations: 4 kB / 496.6 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5063, allocations: 159.1 kB / 496.8 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5063, allocations: 0 / 496.8 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.5064, allocations: 3.938 kB / 496.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.023e-05/0.5065, allocations: 37.64 kB / 496.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.029e-06/0.5065, allocations: 0 / 496.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-06/0.5065, allocations: 0 / 496.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5065, allocations: 0 / 496.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.5065, allocations: 3.938 kB / 496.8 MB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.5067, allocations: 153.7 kB / 497 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.5068, allocations: 14.58 kB / 497 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.5068, allocations: 4.859 kB / 497 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-06/0.5068, allocations: 0 / 497 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.5069, allocations: 68.22 kB / 497.1 MB, free: 2.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.899e-06/0.5069, allocations: 0 / 497.1 MB, free: 2.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.507, allocations: 67.39 kB / 497.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.5071, allocations: 81.98 kB / 497.2 MB, free: 2.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.5072, allocations: 85 kB / 497.3 MB, free: 1.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.5072, allocations: 29.64 kB / 497.3 MB, free: 1.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.5073, allocations: 150.6 kB / 497.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.5073, allocations: 3.906 kB / 497.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-06/0.5073, allocations: 0 / 497.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5075, allocations: 310.8 kB / 497.8 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.5075, allocations: 4.031 kB / 497.8 MB, free: 1.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-06/0.5075, allocations: 4 kB / 497.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.5076, allocations: 29.69 kB / 497.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-06/0.5076, allocations: 0 / 497.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.826e-05/0.5077, allocations: 67.34 kB / 497.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.5078, allocations: 29.7 kB / 497.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.007e-06/0.5078, allocations: 4 kB / 497.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5078, allocations: 3.953 kB / 497.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.597e-06/0.5078, allocations: 0 / 497.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5078, allocations: 96 / 497.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.5078, allocations: 4 kB / 497.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-06/0.5079, allocations: 3.984 kB / 497.9 MB, free: 1.324 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.0001027/0.508, allocations: 134.7 kB / 498.1 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.508, allocations: 0 / 498.1 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.508, allocations: 3.125 kB / 498.1 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.508, allocations: 0 / 498.1 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.225e-06/0.508, allocations: 3.953 kB / 498.1 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-06/0.5081, allocations: 0 / 498.1 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.5082, allocations: 149.7 kB / 498.2 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-06/0.5082, allocations: 7.984 kB / 498.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-06/0.5082, allocations: 0 / 498.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.588e-06/0.5082, allocations: 3.938 kB / 498.2 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.5082, allocations: 0 / 498.2 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-06/0.5083, allocations: 0 / 498.2 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.061e-06/0.5083, allocations: 4 kB / 498.2 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.5084, allocations: 94.72 kB / 498.3 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.5085, allocations: 77.11 kB / 498.4 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5085, allocations: 12.03 kB / 498.4 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.5085, allocations: 0 / 498.4 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.5085, allocations: 4 kB / 498.4 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-06/0.5086, allocations: 0 / 498.4 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.5086, allocations: 79.23 kB / 498.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5086, allocations: 0 / 498.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.5089, allocations: 23.98 kB / 498.5 MB, free: 0.6289 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.0007246/0.5097, allocations: 306.7 kB / 498.8 MB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5098, allocations: 59.34 kB / 498.9 MB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.506e-06/0.5098, allocations: 0 / 498.9 MB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.5099, allocations: 55.41 kB / 498.9 MB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.213e-05/0.51, allocations: 0 / 498.9 MB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001533/0.5101, allocations: 80.89 kB / 499 MB, free: 160 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.5105, allocations: 0.6731 MB / 499.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.5105, allocations: 7.438 kB / 499.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.384e-06/0.5105, allocations: 0 / 499.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002719/0.5133, allocations: 0.9762 MB / 0.4889 GB, free: 14.47 MB / 426.7 MB