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.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.754e-05, allocations: 4 kB / 308 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.364, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007129/0.3648, allocations: 255.1 kB / 363.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.3657, allocations: 350.8 kB / 363.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.3657, allocations: 1.125 kB / 363.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.3658, allocations: 3.938 kB / 363.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.278e-05/0.3658, allocations: 0 / 363.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3662, allocations: 82.75 kB / 363.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.3663, allocations: 12.2 kB / 363.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.3664, allocations: 1.125 kB / 363.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.3664, allocations: 11.44 kB / 363.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.3665, allocations: 22.66 kB / 363.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.3668, allocations: 135.5 kB / 363.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.3669, allocations: 10.09 kB / 363.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.3669, allocations: 14.45 kB / 363.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.3669, allocations: 2.781 kB / 363.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3672, allocations: 72.73 kB / 363.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3672, allocations: 8 kB / 363.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3672, allocations: 0 / 363.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3672, allocations: 1.531 kB / 363.8 MB, free: 11.37 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004553/0.3677, allocations: 354.5 kB / 364.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3677, allocations: 8.156 kB / 364.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.3678, allocations: 11.11 kB / 364.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.368, allocations: 159.8 kB / 364.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.368, allocations: 7.188 kB / 364.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.3681, allocations: 15.39 kB / 364.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3682, allocations: 62.86 kB / 364.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3683, allocations: 0 / 364.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3683, allocations: 1.406 kB / 364.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3683, allocations: 4.984 kB / 364.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3685, allocations: 54.52 kB / 364.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.3687, allocations: 172.6 kB / 364.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3689, allocations: 89.88 kB / 364.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.3693, allocations: 114.9 kB / 364.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3694, allocations: 35.62 kB / 364.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.3694, allocations: 0 / 364.9 MB, free: 10.28 MB / 298.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.251/0.6204, allocations: 5.815 MB / 370.7 MB, free: 5.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.6205, allocations: 59.41 kB / 370.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.6206, allocations: 88.98 kB / 370.8 MB, free: 5.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.6206, allocations: 25.7 kB / 370.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.6207, allocations: 154.9 kB / 371 MB, free: 5.449 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6208, allocations: 70.92 kB / 371.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.6209, allocations: 4.125 kB / 371.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.621, allocations: 322.8 kB / 371.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.6218, allocations: 135.9 kB / 371.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.6225, allocations: 135.9 kB / 371.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.6239, allocations: 179.7 kB / 371.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6239, allocations: 0 / 371.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002339/0.6263, allocations: 404.6 kB / 372.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.6264, allocations: 11.94 kB / 372.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6264, allocations: 0 / 372.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6264, allocations: 0 / 372.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.6272, allocations: 95.86 kB / 372.3 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.6272, allocations: 3.938 kB / 372.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.6276, allocations: 35.97 kB / 372.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.6277, allocations: 27.97 kB / 372.4 MB, free: 4.039 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: 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.0001929/0.6279, allocations: 109.8 kB / 372.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.6279, allocations: 11.91 kB / 372.5 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.6307, allocations: 481.9 kB / 373 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6307, allocations: 4 kB / 373 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.6307, allocations: 4 kB / 373 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6307, allocations: 0 / 373 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.6349, allocations: 0.8803 MB / 373.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.635, allocations: 0 / 373.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.6356, allocations: 91.92 kB / 374 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.6356, allocations: 0 / 374 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.6357, allocations: 15.98 kB / 374 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.6357, allocations: 4 kB / 374 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6357, allocations: 0 / 374 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.638, allocations: 492.2 kB / 374.5 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.6381, allocations: 85.02 kB / 374.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.6382, allocations: 4 kB / 374.6 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.6385, allocations: 43.92 kB / 374.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.6386, allocations: 19.91 kB / 374.6 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.6387, allocations: 16 kB / 374.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.6387, allocations: 79.27 kB / 374.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6387, allocations: 3.938 kB / 374.7 MB, free: 1.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002492/0.6412, allocations: 0.6172 MB / 375.3 MB, free: 0.9766 MB / 298.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.005404/0.6467, allocations: 299 kB / 375.6 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.6484, allocations: 301.1 kB / 375.9 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6485, allocations: 4 kB / 375.9 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.6493, allocations: 159.9 kB / 376.1 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.6495, allocations: 8 kB / 376.1 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.6514, allocations: 418.9 kB / 376.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6518, allocations: 0.7017 MB / 377.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6521, allocations: 47.41 kB / 377.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6521, allocations: 0 / 377.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Templates: time 0.03836/0.6905, allocations: 16.47 MB / 393.7 MB, free: 14.54 MB / 330.7 MB