Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.093e-05, allocations: 4 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3714, allocations: 54.86 MB / 362.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.000616/0.3721, allocations: 204.1 kB / 363 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.3728, allocations: 221.6 kB / 363.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.3728, allocations: 3.938 kB / 363.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.3729, allocations: 0 / 363.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.3729, allocations: 0 / 363.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3731, allocations: 32.22 kB / 363.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.962e-05/0.3732, allocations: 0 / 363.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.3732, allocations: 1.188 kB / 363.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.3732, allocations: 0 / 363.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3735, allocations: 33.58 kB / 363.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3737, allocations: 49.31 kB / 363.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3737, allocations: 3.625 kB / 363.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.3737, allocations: 0 / 363.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.3737, allocations: 0 / 363.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3739, allocations: 38.14 kB / 363.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3739, allocations: 0 / 363.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3739, allocations: 0 / 363.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3739, allocations: 0 / 363.4 MB, free: 11.71 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.0003874/0.3743, allocations: 356.8 kB / 363.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3744, allocations: 12.28 kB / 363.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.3744, allocations: 5.422 kB / 363.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3746, allocations: 159.1 kB / 363.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3746, allocations: 5.375 kB / 363.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3746, allocations: 0 / 363.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.3747, allocations: 32.34 kB / 364 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3747, allocations: 0 / 364 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3748, allocations: 0 / 364 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3748, allocations: 1.031 kB / 364 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.3748, allocations: 13.19 kB / 364 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.375, allocations: 150.7 kB / 364.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.375, allocations: 16.95 kB / 364.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3751, allocations: 0 / 364.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.3751, allocations: 61.59 kB / 364.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.3751, allocations: 0 / 364.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.00019/0.3753, allocations: 66.97 kB / 364.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3754, allocations: 82.55 kB / 364.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.3755, allocations: 85 kB / 364.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3755, allocations: 25.7 kB / 364.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.3756, allocations: 151.9 kB / 364.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3756, allocations: 7.891 kB / 364.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.3756, allocations: 1.438 kB / 364.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3758, allocations: 318.8 kB / 364.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.3758, allocations: 1.469 kB / 364.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.3758, allocations: 4 kB / 364.9 MB, free: 10 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.3759, allocations: 28.42 kB / 365 MB, free: 9.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3759, allocations: 0 / 365 MB, free: 9.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.376, allocations: 66 kB / 365 MB, free: 9.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.3761, allocations: 30.92 kB / 365.1 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3761, allocations: 3.984 kB / 365.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3761, allocations: 6.812 kB / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.3761, allocations: 0 / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3762, allocations: 0 / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.3762, allocations: 96 / 365.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3762, allocations: 4 kB / 365.1 MB, free: 9.859 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.0001075/0.3763, allocations: 137.7 kB / 365.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.3763, allocations: 1.469 kB / 365.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.094e-05/0.3764, allocations: 7.062 kB / 365.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3764, allocations: 1.094 kB / 365.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3764, allocations: 3.938 kB / 365.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3764, allocations: 1.188 kB / 365.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.3765, allocations: 155 kB / 365.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3765, allocations: 0 / 365.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.3766, allocations: 4 kB / 365.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3766, allocations: 1.156 kB / 365.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.3766, allocations: 0 / 365.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3766, allocations: 1.406 kB / 365.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3766, allocations: 0 / 365.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.3768, allocations: 97.25 kB / 365.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3768, allocations: 78.14 kB / 365.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3768, allocations: 0.9375 kB / 365.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.3769, allocations: 4.969 kB / 365.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.3769, allocations: 0 / 365.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3769, allocations: 0.9688 kB / 365.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.3769, allocations: 80.33 kB / 365.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.377, allocations: 0 / 365.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000303/0.3773, allocations: 22.66 kB / 365.7 MB, free: 9.207 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.0006834/0.378, allocations: 261.9 kB / 365.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3782, allocations: 56.19 kB / 366 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3782, allocations: 0 / 366 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.3782, allocations: 58.11 kB / 366 MB, free: 8.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.3783, allocations: 5.281 kB / 366 MB, free: 8.922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.3786, allocations: 121.8 kB / 366.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3789, allocations: 0.6758 MB / 366.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.379, allocations: 8.688 kB / 366.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.379, allocations: 0 / 366.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of Templates: time 0.003606/0.3826, allocations: 0.9831 MB / 367.8 MB, free: 7.559 MB / 298.7 MB