Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 234.9 MB / 250.1 MB, free: 11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.875e-05, allocations: 7.125 kB / 308 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3619, allocations: 54.86 MB / 362.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006373/0.3626, allocations: 208.4 kB / 363.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.3656, allocations: 1.16 MB / 364.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.3656, allocations: 4 kB / 364.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.3657, allocations: 0 / 364.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.3657, allocations: 0 / 364.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3669, allocations: 358.9 kB / 364.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.044e-05/0.367, allocations: 0 / 364.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.367, allocations: 3.984 kB / 364.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.725e-05/0.3671, allocations: 0 / 364.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.3698, allocations: 1.038 MB / 365.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.3698, allocations: 0 / 365.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3699, allocations: 0 / 365.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.3699, allocations: 4 kB / 365.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.3699, allocations: 0 / 365.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.156e-05/0.37, allocations: 4 kB / 365.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.37, allocations: 0 / 365.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.37, allocations: 0 / 365.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.37, allocations: 0 / 365.6 MB, free: 9.137 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.0003173/0.3703, allocations: 341.1 kB / 366 MB, free: 8.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3704, allocations: 8.031 kB / 366 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3704, allocations: 3.953 kB / 366 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3705, allocations: 159.1 kB / 366.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3706, allocations: 0 / 366.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.3706, allocations: 4 kB / 366.1 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.3707, allocations: 29.7 kB / 366.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3707, allocations: 3.938 kB / 366.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3707, allocations: 0 / 366.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3707, allocations: 0 / 366.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.628e-05/0.3708, allocations: 7.953 kB / 366.2 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3709, allocations: 149.7 kB / 366.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.371, allocations: 18.52 kB / 366.3 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.371, allocations: 8.094 kB / 366.3 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.3711, allocations: 60.2 kB / 366.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.3711, allocations: 0 / 366.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001887/0.3713, allocations: 67.39 kB / 366.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3714, allocations: 77.11 kB / 366.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.3714, allocations: 88.94 kB / 366.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3714, allocations: 25.7 kB / 366.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.3715, allocations: 154.7 kB / 366.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3716, allocations: 3.906 kB / 366.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.3716, allocations: 4 kB / 366.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3717, allocations: 314.8 kB / 367.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.3717, allocations: 0 / 367.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-06/0.3717, allocations: 0 / 367.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.3718, allocations: 29.7 kB / 367.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3718, allocations: 0 / 367.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.389e-05/0.3719, allocations: 63.39 kB / 367.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.372, allocations: 37.8 kB / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.372, allocations: 0 / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.372, allocations: 0 / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.372, allocations: 0 / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.372, allocations: 0 / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.3721, allocations: 0 / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3721, allocations: 0 / 367.2 MB, free: 7.262 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 9.737e-05/0.3722, allocations: 143.4 kB / 367.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.3722, allocations: 3.984 kB / 367.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.072e-05/0.3722, allocations: 7.125 kB / 367.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3722, allocations: 0 / 367.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3723, allocations: 4 kB / 367.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3723, allocations: 0 / 367.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3724, allocations: 149.6 kB / 367.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3724, allocations: 3.938 kB / 367.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.3724, allocations: 0 / 367.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3724, allocations: 3.984 kB / 367.5 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3724, allocations: 4 kB / 367.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3725, allocations: 4 kB / 367.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3725, allocations: 0 / 367.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3726, allocations: 90.8 kB / 367.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.3726, allocations: 81.11 kB / 367.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3727, allocations: 3.984 kB / 367.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.3727, allocations: 0 / 367.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3727, allocations: 0 / 367.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3727, allocations: 0 / 367.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.3728, allocations: 83.22 kB / 367.8 MB, free: 6.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3728, allocations: 7.969 kB / 367.8 MB, free: 6.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.373, allocations: 0 / 367.8 MB, free: 6.578 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.0001143/0.3731, allocations: 95.25 kB / 367.9 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.609e-05/0.3732, allocations: 55.41 kB / 368 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3733, allocations: 0 / 368 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.3733, allocations: 59.39 kB / 368 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.3734, allocations: 6.969 kB / 368 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.3736, allocations: 110.4 kB / 368.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3739, allocations: 0.6731 MB / 368.8 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.374, allocations: 7.438 kB / 368.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.374, allocations: 0 / 368.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of Templates: time 0.006607/0.3806, allocations: 331.9 kB / 369.1 MB, free: 5.16 MB / 298.7 MB