Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.53e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007237/0.3791, allocations: 253.8 kB / 325.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.3799, allocations: 357.4 kB / 325.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.3799, allocations: 1.125 kB / 325.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.38, allocations: 0 / 325.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.101e-05/0.38, allocations: 0 / 325.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.3804, allocations: 82.06 kB / 325.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.3804, allocations: 14.64 kB / 325.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.3805, allocations: 2.516 kB / 325.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.3805, allocations: 13.25 kB / 325.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.3806, allocations: 18.86 kB / 325.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.3809, allocations: 135.1 kB / 325.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.381, allocations: 11 kB / 325.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.381, allocations: 12.88 kB / 325.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.381, allocations: 3.438 kB / 325.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3813, allocations: 77.45 kB / 325.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3813, allocations: 0 / 325.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3813, allocations: 4 kB / 325.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3813, allocations: 1.062 kB / 325.8 MB, free: 2.551 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003786/0.3817, allocations: 353.1 kB / 326.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3817, allocations: 9.188 kB / 326.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3818, allocations: 6.562 kB / 326.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.3819, allocations: 165.5 kB / 326.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3819, allocations: 2.625 kB / 326.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.382, allocations: 8.188 kB / 326.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3821, allocations: 72.44 kB / 326.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3822, allocations: 5.375 kB / 326.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3822, allocations: 4.516 kB / 326.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3822, allocations: 1.219 kB / 326.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3823, allocations: 41.27 kB / 326.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3825, allocations: 180.8 kB / 326.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3827, allocations: 86.36 kB / 326.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.3831, allocations: 113.8 kB / 326.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3831, allocations: 40.47 kB / 326.9 MB, free: 1.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.3832, allocations: 0 / 326.9 MB, free: 1.516 MB / 266.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.268/0.6511, allocations: 5.806 MB / 332.7 MB, free: 396 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.6512, allocations: 54.53 kB / 332.7 MB, free: 332 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.6513, allocations: 86.09 kB / 332.8 MB, free: 240 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.6514, allocations: 30.86 kB / 332.9 MB, free: 204 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.6514, allocations: 150.9 kB / 333 MB, free: 48 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.6515, allocations: 78.88 kB / 333.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.6516, allocations: 4 kB / 333.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6517, allocations: 329.3 kB / 333.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/0.6525, allocations: 134.4 kB / 333.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.6532, allocations: 137.6 kB / 333.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.6547, allocations: 180.8 kB / 333.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6547, allocations: 0 / 333.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002361/0.6571, allocations: 401.4 kB / 334.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.6572, allocations: 4.562 kB / 334.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6572, allocations: 5.312 kB / 334.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.6572, allocations: 1.375 kB / 334.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/0.658, allocations: 98.14 kB / 334.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.658, allocations: 0 / 334.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.6584, allocations: 32.03 kB / 334.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.6585, allocations: 27.31 kB / 334.4 MB, free: 15.24 MB / 282.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001849/0.6587, allocations: 124.8 kB / 334.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.6588, allocations: 8.031 kB / 334.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.6615, allocations: 474.2 kB / 335 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.6616, allocations: 3.125 kB / 335 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6616, allocations: 4 kB / 335 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.6616, allocations: 1.125 kB / 335 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.6666, allocations: 0.8775 MB / 335.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6667, allocations: 3.953 kB / 335.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.6673, allocations: 91.23 kB / 336 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.6673, allocations: 1.562 kB / 336 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.6674, allocations: 12.05 kB / 336 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6674, allocations: 1.656 kB / 336 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.6674, allocations: 5.234 kB / 336 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.6698, allocations: 0.492 MB / 336.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.6699, allocations: 83.64 kB / 336.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.67, allocations: 2.594 kB / 336.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.6703, allocations: 39.72 kB / 336.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.6704, allocations: 15.95 kB / 336.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.6704, allocations: 14.23 kB / 336.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.6705, allocations: 76.47 kB / 336.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6705, allocations: 0 / 336.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002835/0.6734, allocations: 0.6257 MB / 337.3 MB, free: 13.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.006203/0.6796, allocations: 303.2 kB / 337.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.6815, allocations: 300.1 kB / 337.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6816, allocations: 0 / 337.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.6823, allocations: 156.8 kB / 338.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.6826, allocations: 22.08 kB / 338.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.6844, allocations: 424 kB / 338.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.6848, allocations: 0.7014 MB / 339.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6851, allocations: 47.02 kB / 339.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6851, allocations: 0 / 339.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of Templates: time 0.05571/0.7408, allocations: 16.46 MB / 355.7 MB, free: 15.91 MB / 298.7 MB