Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.025e-05, allocations: 4 kB / 308 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3703, allocations: 54.86 MB / 362.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0006291/0.371, allocations: 212 kB / 363 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3724, allocations: 0.7063 MB / 363.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.3724, allocations: 0 / 363.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.3725, allocations: 1.562 kB / 363.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.3726, allocations: 3.938 kB / 363.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3729, allocations: 33.64 kB / 363.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.952e-05/0.373, allocations: 1.188 kB / 363.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.373, allocations: 0 / 363.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.3731, allocations: 9.438 kB / 363.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.3731, allocations: 5.391 kB / 363.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3733, allocations: 35.42 kB / 363.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3733, allocations: 6.562 kB / 363.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.3733, allocations: 3.984 kB / 363.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.3733, allocations: 5.312 kB / 363.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3735, allocations: 28.59 kB / 363.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3735, allocations: 0 / 363.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.701e-06/0.3735, allocations: 0 / 363.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3735, allocations: 3.938 kB / 363.9 MB, free: 11.25 MB / 298.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.0003481/0.3739, allocations: 351.3 kB / 364.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3739, allocations: 9.656 kB / 364.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.374, allocations: 3.953 kB / 364.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3741, allocations: 168.3 kB / 364.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3742, allocations: 0 / 364.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3742, allocations: 1.031 kB / 364.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.777e-05/0.3743, allocations: 32.58 kB / 364.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3743, allocations: 0 / 364.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3743, allocations: 0 / 364.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3744, allocations: 5.5 kB / 364.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.3744, allocations: 9.266 kB / 364.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.3746, allocations: 158.7 kB / 364.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.3746, allocations: 16.23 kB / 364.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3747, allocations: 1.5 kB / 364.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.3747, allocations: 56.27 kB / 364.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.3747, allocations: 3.938 kB / 364.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.3749, allocations: 64.31 kB / 364.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.375, allocations: 82.59 kB / 364.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.3751, allocations: 90.16 kB / 364.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3751, allocations: 25.7 kB / 364.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.3752, allocations: 150.6 kB / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3752, allocations: 1.438 kB / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.3752, allocations: 0 / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3754, allocations: 320.1 kB / 365.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.3754, allocations: 0 / 365.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.3754, allocations: 1.5 kB / 365.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.3755, allocations: 32.27 kB / 365.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3755, allocations: 0 / 365.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.3756, allocations: 66.67 kB / 365.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3757, allocations: 34.55 kB / 365.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3757, allocations: 1.031 kB / 365.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3757, allocations: 0 / 365.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.3757, allocations: 0 / 365.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3757, allocations: 0.9375 kB / 365.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.3758, allocations: 0.875 kB / 365.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3758, allocations: 4.969 kB / 365.5 MB, free: 9.398 MB / 298.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.0001031/0.3759, allocations: 145.5 kB / 365.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.3759, allocations: 4.875 kB / 365.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.3759, allocations: 4.25 kB / 365.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3759, allocations: 0 / 365.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.376, allocations: 0 / 365.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.376, allocations: 1.188 kB / 365.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3761, allocations: 150.8 kB / 365.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3761, allocations: 0 / 365.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.3761, allocations: 1.219 kB / 365.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3761, allocations: 4 kB / 365.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3761, allocations: 1.156 kB / 365.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3762, allocations: 0 / 365.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3762, allocations: 0.9688 kB / 365.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3763, allocations: 98.69 kB / 365.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.3764, allocations: 77.11 kB / 366 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3764, allocations: 1 kB / 366 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.3764, allocations: 5.125 kB / 366 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3764, allocations: 3.984 kB / 366 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3765, allocations: 1.094 kB / 366 MB, free: 8.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.3765, allocations: 80.16 kB / 366.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3765, allocations: 0.9062 kB / 366.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.3768, allocations: 17.53 kB / 366.1 MB, free: 8.746 MB / 298.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.0004999/0.3773, allocations: 195.8 kB / 366.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.3775, allocations: 59.44 kB / 366.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3775, allocations: 1.094 kB / 366.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.3775, allocations: 57.84 kB / 366.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.3777, allocations: 14.31 kB / 366.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.3779, allocations: 98.28 kB / 366.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3782, allocations: 0.676 MB / 367.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.3782, allocations: 8.844 kB / 367.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3782, allocations: 0 / 367.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of Templates: time 0.003213/0.3814, allocations: 0.8416 MB / 368.1 MB, free: 7.215 MB / 298.7 MB