Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.2 MB / 224.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.287e-05, allocations: 7.984 kB / 276.1 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3724, allocations: 48.69 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000854/0.3733, allocations: 231.2 kB / 325.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.3737, allocations: 84.75 kB / 325.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.3737, allocations: 0 / 325.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.3737, allocations: 1.469 kB / 325.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.984e-05/0.3738, allocations: 0 / 325.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.3739, allocations: 13.98 kB / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.851e-05/0.374, allocations: 3.203 kB / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.374, allocations: 5.344 kB / 325.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.374, allocations: 7.969 kB / 325.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.3741, allocations: 9.453 kB / 325.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3742, allocations: 27.77 kB / 325.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3743, allocations: 6.219 kB / 325.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3743, allocations: 7.828 kB / 325.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.248e-05/0.3743, allocations: 5.125 kB / 325.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.3744, allocations: 11.56 kB / 325.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.3744, allocations: 0 / 325.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3744, allocations: 0 / 325.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.3744, allocations: 0.9062 kB / 325.2 MB, free: 2.809 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003147/0.3748, allocations: 325.1 kB / 325.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3748, allocations: 9.188 kB / 325.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3749, allocations: 2.312 kB / 325.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.375, allocations: 170.2 kB / 325.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.375, allocations: 9.078 kB / 325.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.375, allocations: 2.438 kB / 325.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3752, allocations: 51.84 kB / 325.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3752, allocations: 0 / 325.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3752, allocations: 1.188 kB / 325.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3752, allocations: 0 / 325.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.3753, allocations: 16.77 kB / 325.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.3756, allocations: 326.1 kB / 326.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.939e-05/0.3756, allocations: 20.59 kB / 326.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3757, allocations: 1.125 kB / 326.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3757, allocations: 37.5 kB / 326.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.3757, allocations: 0 / 326.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002107/0.3759, allocations: 54.34 kB / 326.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.376, allocations: 56.47 kB / 326.3 MB, free: 1.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.376, allocations: 96.36 kB / 326.4 MB, free: 1.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.3761, allocations: 25.7 kB / 326.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.3761, allocations: 152.3 kB / 326.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3761, allocations: 16.36 kB / 326.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.3761, allocations: 4 kB / 326.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.3762, allocations: 313.1 kB / 326.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.3762, allocations: 8.844 kB / 326.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.3763, allocations: 25.09 kB / 326.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.3764, allocations: 12.97 kB / 326.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3764, allocations: 0.8125 kB / 326.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001269/0.3765, allocations: 57.92 kB / 327 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3765, allocations: 5 kB / 327 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3766, allocations: 2.031 kB / 327 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3766, allocations: 3.938 kB / 327 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3767, allocations: 10.19 kB / 327 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3767, allocations: 8.016 kB / 327 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.3768, allocations: 5.469 kB / 327 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3768, allocations: 5.812 kB / 327 MB, free: 0.957 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 5.953e-05/0.3768, allocations: 112.1 kB / 327.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3769, allocations: 1.719 kB / 327.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.3771, allocations: 63.73 kB / 327.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3771, allocations: 0 / 327.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3771, allocations: 1.094 kB / 327.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3771, allocations: 0.75 kB / 327.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3773, allocations: 162.9 kB / 327.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3773, allocations: 3.953 kB / 327.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.3774, allocations: 8.938 kB / 327.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3774, allocations: 3.938 kB / 327.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.3774, allocations: 1.375 kB / 327.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3774, allocations: 0 / 327.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3774, allocations: 0.75 kB / 327.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.3776, allocations: 148.5 kB / 327.5 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.3776, allocations: 91.91 kB / 327.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3776, allocations: 0.5625 kB / 327.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.3777, allocations: 1.156 kB / 327.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3777, allocations: 3.359 kB / 327.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3778, allocations: 2.25 kB / 327.6 MB, free: 344 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.391e-05/0.3778, allocations: 77.17 kB / 327.7 MB, free: 268 kB / 266.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3778, allocations: 0 / 327.7 MB, free: 268 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.3781, allocations: 9.594 kB / 327.7 MB, free: 264 kB / 266.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001358/0.3782, allocations: 109.2 kB / 327.8 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3784, allocations: 24.94 kB / 327.8 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3784, allocations: 1.156 kB / 327.8 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.3784, allocations: 14.12 kB / 327.9 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.3786, allocations: 1.641 kB / 327.9 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.3789, allocations: 141.4 kB / 328 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3792, allocations: 0.6836 MB / 328.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.3793, allocations: 10.66 kB / 328.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3793, allocations: 0 / 328.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Templates: time 0.002549/0.3819, allocations: 0.5805 MB / 329.3 MB, free: 15.26 MB / 282.7 MB