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_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.141e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007005/0.137, allocations: 240.6 kB / 411.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.1379, allocations: 369 kB / 411.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.138, allocations: 0 / 411.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.138, allocations: 0 / 411.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.138, allocations: 4 kB / 411.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.1384, allocations: 83.69 kB / 411.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.1385, allocations: 11.98 kB / 411.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.1386, allocations: 0 / 411.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.1386, allocations: 15.94 kB / 411.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.1387, allocations: 15.98 kB / 411.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.139, allocations: 151.8 kB / 411.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.1391, allocations: 12 kB / 411.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.1391, allocations: 4 kB / 411.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1391, allocations: 4 kB / 411.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1394, allocations: 79.88 kB / 411.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1394, allocations: 0 / 411.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1394, allocations: 0 / 411.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1394, allocations: 4 kB / 411.9 MB, free: 11.89 MB / 346.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.0004535/0.1399, allocations: 355.5 kB / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1399, allocations: 8.031 kB / 412.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.14, allocations: 4 kB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1401, allocations: 166.9 kB / 412.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1401, allocations: 8 kB / 412.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.1402, allocations: 11.95 kB / 412.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1404, allocations: 69.59 kB / 412.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1404, allocations: 0 / 412.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1404, allocations: 4 kB / 412.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1405, allocations: 4 kB / 412.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1406, allocations: 39.95 kB / 412.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.1409, allocations: 181.5 kB / 412.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1411, allocations: 94.42 kB / 412.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004462/0.1416, allocations: 117 kB / 412.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1416, allocations: 42.5 kB / 413 MB, free: 10.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.1416, allocations: 0 / 413 MB, free: 10.63 MB / 346.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.3221/0.4638, allocations: 5.825 MB / 418.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.4639, allocations: 59.34 kB / 418.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.464, allocations: 88.94 kB / 419 MB, free: 4.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.464, allocations: 29.7 kB / 419 MB, free: 4.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.4641, allocations: 159.1 kB / 419.1 MB, free: 4.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.4643, allocations: 78.89 kB / 419.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.4643, allocations: 0 / 419.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4644, allocations: 322.8 kB / 419.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.4652, allocations: 131.9 kB / 419.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.4659, allocations: 141.3 kB / 419.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.4674, allocations: 179.8 kB / 420 MB, free: 3.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4674, allocations: 0 / 420 MB, free: 3.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002351/0.4698, allocations: 404 kB / 420.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4699, allocations: 4 kB / 420.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.4699, allocations: 0 / 420.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4699, allocations: 4 kB / 420.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/0.4707, allocations: 95.84 kB / 420.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4707, allocations: 0 / 420.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.4711, allocations: 39.97 kB / 420.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.4712, allocations: 15.98 kB / 420.5 MB, free: 3.008 MB / 346.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.0001753/0.4714, allocations: 125.7 kB / 420.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.4714, allocations: 7.906 kB / 420.7 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.4742, allocations: 477.8 kB / 421.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4743, allocations: 4 kB / 421.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4743, allocations: 0 / 421.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4743, allocations: 0 / 421.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.4785, allocations: 0.8688 MB / 422 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4785, allocations: 0 / 422 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.4791, allocations: 87.94 kB / 422.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.4792, allocations: 7.984 kB / 422.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.4792, allocations: 15.95 kB / 422.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.4792, allocations: 0 / 422.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4792, allocations: 3.938 kB / 422.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.4815, allocations: 495.2 kB / 422.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.4816, allocations: 89.02 kB / 422.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.4817, allocations: 11.98 kB / 422.7 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.4821, allocations: 35.97 kB / 422.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.4821, allocations: 15.92 kB / 422.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.4822, allocations: 15.98 kB / 422.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.4822, allocations: 79.28 kB / 422.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4822, allocations: 0 / 422.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.3248/0.807, allocations: 0.6263 MB / 423.5 MB, free: 11.81 MB / 346.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.005092/0.8122, allocations: 285.5 kB / 423.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.8139, allocations: 307.6 kB / 424 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8139, allocations: 0.625 kB / 424 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.8147, allocations: 160.1 kB / 424.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.8149, allocations: 12.22 kB / 424.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.8166, allocations: 418.5 kB / 424.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.8168, allocations: 0.6988 MB / 425.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.8171, allocations: 48.31 kB / 425.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8171, allocations: 1.312 kB / 425.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of Templates: time 0.03936/0.8564, allocations: 16.47 MB / 441.8 MB, free: 5.391 MB / 346.7 MB