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.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.721e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4242, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006996/0.4249, allocations: 221.2 kB / 363.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.4252, allocations: 84.33 kB / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.4253, allocations: 0 / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.4253, allocations: 0 / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.933e-05/0.4253, allocations: 0 / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.4255, allocations: 13.98 kB / 363.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.002e-05/0.4255, allocations: 9.375 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.4256, allocations: 1.281 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.4256, allocations: 10.59 kB / 363.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.4257, allocations: 2.312 kB / 363.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.4258, allocations: 33.61 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.4259, allocations: 2.25 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.4259, allocations: 3.938 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.4259, allocations: 1.188 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.801e-05/0.426, allocations: 18.33 kB / 363.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.426, allocations: 4.969 kB / 363.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.426, allocations: 0 / 363.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.426, allocations: 4 kB / 363.3 MB, free: 11.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000417/0.4265, allocations: 323.2 kB / 363.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4265, allocations: 13 kB / 363.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.4266, allocations: 9.141 kB / 363.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.4267, allocations: 165.9 kB / 363.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4268, allocations: 1 kB / 363.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.4268, allocations: 2.219 kB / 363.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.427, allocations: 57.97 kB / 363.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.427, allocations: 5.156 kB / 363.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.427, allocations: 0 / 363.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.427, allocations: 0.9688 kB / 363.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.4271, allocations: 18.09 kB / 363.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.4275, allocations: 313 kB / 364.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.4276, allocations: 35.02 kB / 364.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.4277, allocations: 1.156 kB / 364.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.4277, allocations: 31.62 kB / 364.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.4277, allocations: 0 / 364.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002477/0.428, allocations: 58.39 kB / 364.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.428, allocations: 51.41 kB / 364.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.4281, allocations: 87.31 kB / 364.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4282, allocations: 30.83 kB / 364.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.4283, allocations: 158.5 kB / 364.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4283, allocations: 21.72 kB / 364.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.4283, allocations: 4.938 kB / 364.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4285, allocations: 314.8 kB / 364.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.4285, allocations: 5 kB / 364.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.4286, allocations: 22.58 kB / 364.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.4286, allocations: 5.438 kB / 365 MB, free: 9.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4286, allocations: 4 kB / 365 MB, free: 9.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001453/0.4288, allocations: 58.38 kB / 365 MB, free: 9.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4288, allocations: 4.062 kB / 365 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4289, allocations: 5.375 kB / 365 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4289, allocations: 0 / 365 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.429, allocations: 7.719 kB / 365 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.429, allocations: 5.266 kB / 365 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.4291, allocations: 0 / 365 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4291, allocations: 2.125 kB / 365 MB, free: 9.863 MB / 298.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 0.000103/0.4292, allocations: 119.5 kB / 365.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.4292, allocations: 1.469 kB / 365.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.4294, allocations: 63.62 kB / 365.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.4294, allocations: 5.469 kB / 365.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4295, allocations: 0 / 365.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4295, allocations: 3.953 kB / 365.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.4297, allocations: 158.9 kB / 365.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4297, allocations: 1.219 kB / 365.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.4298, allocations: 6.156 kB / 365.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4298, allocations: 5.5 kB / 365.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4298, allocations: 0 / 365.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4298, allocations: 0 / 365.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4298, allocations: 5.297 kB / 365.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.43, allocations: 151.7 kB / 365.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.4301, allocations: 86.56 kB / 365.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4301, allocations: 0.8438 kB / 365.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.4302, allocations: 9.297 kB / 365.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4303, allocations: 5.5 kB / 365.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4303, allocations: 1.062 kB / 365.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.4303, allocations: 77.53 kB / 365.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4304, allocations: 0 / 365.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.4306, allocations: 5.406 kB / 365.7 MB, free: 9.133 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: 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.0001659/0.4308, allocations: 105.5 kB / 365.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.431, allocations: 19.09 kB / 365.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.431, allocations: 4.156 kB / 365.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.249e-05/0.4311, allocations: 21.8 kB / 365.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.4313, allocations: 8.438 kB / 365.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.4316, allocations: 132.1 kB / 366 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4319, allocations: 0.6797 MB / 366.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.432, allocations: 9.219 kB / 366.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.432, allocations: 1.688 kB / 366.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of Templates: time 0.002599/0.4346, allocations: 0.5796 MB / 367.3 MB, free: 7.867 MB / 298.7 MB