Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.728e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/0.6724, allocations: 85.55 MB / 495.9 MB, free: 2.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.6727, allocations: 71.94 kB / 496 MB, free: 2.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01553/0.6883, allocations: 3.036 MB / 499 MB, free: 15.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6883, allocations: 4 kB / 499 MB, free: 15.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.6883, allocations: 4 kB / 499 MB, free: 15.35 MB / 410.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.0004436/0.6888, allocations: 367.2 kB / 499.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6889, allocations: 16.02 kB / 499.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.6889, allocations: 38.5 kB / 499.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.689, allocations: 0.875 kB / 499.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6891, allocations: 170.9 kB / 499.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.6892, allocations: 3.953 kB / 499.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.6892, allocations: 4 kB / 499.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.6894, allocations: 57.62 kB / 499.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6894, allocations: 4 kB / 499.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.6894, allocations: 7.922 kB / 499.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.6894, allocations: 0 / 499.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.6895, allocations: 32 kB / 499.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.6898, allocations: 165.7 kB / 499.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.6901, allocations: 62.55 kB / 499.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.6901, allocations: 24.86 kB / 500 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.6905, allocations: 105.1 kB / 0.4883 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.6906, allocations: 38.56 kB / 0.4884 GB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.6906, allocations: 0 / 0.4884 GB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.2538/0.9444, allocations: 5.374 MB / 0.4936 GB, free: 8.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.9445, allocations: 55.41 kB / 0.4937 GB, free: 8.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.9446, allocations: 93 kB / 0.4938 GB, free: 8.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.9447, allocations: 29.7 kB / 0.4938 GB, free: 8.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.9447, allocations: 84.14 kB / 0.4939 GB, free: 8.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.9449, allocations: 70.98 kB / 0.4939 GB, free: 8.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.945, allocations: 4 kB / 0.4939 GB, free: 8.309 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9451, allocations: 318.8 kB / 0.4942 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/0.9457, allocations: 191.9 kB / 0.4944 GB, free: 7.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.9462, allocations: 191.9 kB / 0.4946 GB, free: 7.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.9479, allocations: 242.5 kB / 0.4948 GB, free: 7.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9479, allocations: 0 / 0.4948 GB, free: 7.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002541/0.9505, allocations: 0.5249 MB / 0.4954 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.9506, allocations: 8 kB / 0.4954 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9506, allocations: 0 / 0.4954 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.9506, allocations: 4 kB / 0.4954 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.952, allocations: 115.8 kB / 0.4955 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9521, allocations: 3.938 kB / 0.4955 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.953, allocations: 39.95 kB / 0.4955 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.9532, allocations: 27.95 kB / 0.4955 GB, free: 6.652 MB / 410.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.0001979/0.9534, allocations: 120.9 kB / 0.4957 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.9535, allocations: 11.89 kB / 0.4957 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.9566, allocations: 0.6493 MB / 0.4963 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.9567, allocations: 4 kB / 0.4963 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9567, allocations: 0 / 0.4963 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9567, allocations: 0 / 0.4963 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.9638, allocations: 1.101 MB / 0.4974 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9638, allocations: 192 / 0.4974 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.965, allocations: 108 kB / 0.4975 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/0.965, allocations: 15.92 kB / 0.4975 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.9651, allocations: 27.95 kB / 0.4975 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.9651, allocations: 0 / 0.4975 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.9651, allocations: 7.953 kB / 0.4975 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.9674, allocations: 0.5649 MB / 0.4981 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.9675, allocations: 89 kB / 0.4982 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.9676, allocations: 12 kB / 0.4982 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.9685, allocations: 27.97 kB / 0.4982 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.9686, allocations: 23.88 kB / 0.4982 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.9687, allocations: 31.89 kB / 0.4983 GB, free: 3.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.9688, allocations: 95.27 kB / 0.4984 GB, free: 3.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9688, allocations: 0 / 0.4984 GB, free: 3.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002593/0.9714, allocations: 0.6286 MB / 0.499 GB, free: 2.965 MB / 410.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.008016/0.9794, allocations: 1.747 MB / 0.5007 GB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.9808, allocations: 367.8 kB / 0.501 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.9809, allocations: 0 / 0.501 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.9817, allocations: 167.9 kB / 0.5012 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.982, allocations: 18.55 kB / 0.5012 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.9878, allocations: 0.6014 MB / 0.5018 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.9882, allocations: 0.6968 MB / 0.5025 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001163/0.9894, allocations: 124.9 kB / 0.5026 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/0.9903, allocations: 99.28 kB / 0.5027 GB, free: 15.01 MB / 426.7 MB Notification: Performance of SimCode: time 2.054e-06/0.9903, allocations: 0 / 0.5027 GB, free: 15.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/1.064, allocations: 21.57 MB / 0.5238 GB, free: 9.996 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003606/1.065, allocations: 166.7 kB / 0.5239 GB, free: 9.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/4.216, allocations: 0 / 0.5239 GB, free: 9.77 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat