Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.948e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0007199/0.1321, allocations: 236.6 kB / 411.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.1329, allocations: 335.1 kB / 411.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.133, allocations: 0 / 411.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.133, allocations: 4 kB / 411.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.1331, allocations: 0 / 411.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1334, allocations: 63.72 kB / 411.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.1335, allocations: 15.97 kB / 411.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1335, allocations: 0 / 411.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.1336, allocations: 4 kB / 411.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.1336, allocations: 19.92 kB / 411.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.1339, allocations: 103.9 kB / 411.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.134, allocations: 8 kB / 411.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.134, allocations: 11.98 kB / 411.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.1341, allocations: 0 / 411.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1342, allocations: 67.84 kB / 411.8 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1343, allocations: 0 / 411.8 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1343, allocations: 3.938 kB / 411.8 MB, free: 12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1343, allocations: 0 / 411.8 MB, free: 12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004952/0.1348, allocations: 354 kB / 412.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1349, allocations: 12.03 kB / 412.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.1349, allocations: 3.906 kB / 412.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1351, allocations: 171.1 kB / 412.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1351, allocations: 0 / 412.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1352, allocations: 4 kB / 412.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1353, allocations: 63.31 kB / 412.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1354, allocations: 0 / 412.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1354, allocations: 7.984 kB / 412.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1354, allocations: 4 kB / 412.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1355, allocations: 23.98 kB / 412.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.1358, allocations: 169.6 kB / 412.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1361, allocations: 66.58 kB / 412.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.1365, allocations: 113.1 kB / 412.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1366, allocations: 34.56 kB / 412.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.955e-06/0.1366, allocations: 0 / 412.8 MB, free: 10.82 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.08127/0.2179, allocations: 2.822 MB / 415.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.218, allocations: 55.41 kB / 415.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.2181, allocations: 93 kB / 415.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.2181, allocations: 25.7 kB / 415.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.2182, allocations: 158.6 kB / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2183, allocations: 63.08 kB / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.2184, allocations: 4 kB / 416 MB, free: 7.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2185, allocations: 314.8 kB / 416.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.2193, allocations: 191.9 kB / 416.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.22, allocations: 191.9 kB / 416.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.2209, allocations: 218.6 kB / 416.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.221, allocations: 0 / 416.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001873/0.2228, allocations: 497.3 kB / 417.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.2229, allocations: 8 kB / 417.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2229, allocations: 0 / 417.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.223, allocations: 0 / 417.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.2237, allocations: 75.94 kB / 417.5 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.2237, allocations: 4 kB / 417.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.2241, allocations: 23.98 kB / 417.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.2242, allocations: 15.98 kB / 417.5 MB, free: 6.02 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 (19): * Single equations (assignments): 19 * 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.0001654/0.2243, allocations: 117.8 kB / 417.6 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.2244, allocations: 15.84 kB / 417.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.2267, allocations: 0.5644 MB / 418.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2267, allocations: 7.953 kB / 418.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2268, allocations: 0 / 418.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2268, allocations: 0 / 418.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.2304, allocations: 0.9591 MB / 419.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2305, allocations: 0 / 419.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.2311, allocations: 80.12 kB / 419.2 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.2311, allocations: 4 kB / 419.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.2312, allocations: 15.98 kB / 419.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.2312, allocations: 7.938 kB / 419.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2312, allocations: 0 / 419.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.2329, allocations: 0.5521 MB / 419.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.2329, allocations: 85.02 kB / 419.9 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.233, allocations: 8.234 kB / 419.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.2334, allocations: 31.98 kB / 419.9 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.2335, allocations: 16.39 kB / 420 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.2335, allocations: 23.94 kB / 420 MB, free: 3.359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.2336, allocations: 79.28 kB / 420.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2336, allocations: 0 / 420.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001235/0.2348, allocations: 323.9 kB / 420.4 MB, free: 2.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002049/0.2369, allocations: 239 kB / 420.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2385, allocations: 363.7 kB / 421 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2385, allocations: 4 kB / 421 MB, free: 2.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.2392, allocations: 160.2 kB / 421.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2394, allocations: 12 kB / 421.1 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.2417, allocations: 0.5057 MB / 421.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.242, allocations: 0.6968 MB / 422.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.2423, allocations: 51.34 kB / 422.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2424, allocations: 0 / 422.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of Templates: time 0.3248/0.5672, allocations: 7.525 MB / 429.9 MB, free: 10.86 MB / 346.7 MB