Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.755e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3875, allocations: 61.87 MB / 410.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.5445, allocations: 88.2 MB / 498.6 MB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5448, allocations: 71.95 kB / 498.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.5698, allocations: 5.482 MB / 0.4923 GB, free: 12.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5699, allocations: 0 / 0.4923 GB, free: 12.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.5699, allocations: 0 / 0.4923 GB, free: 12.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005284/0.5704, allocations: 406.1 kB / 0.4927 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5705, allocations: 8.031 kB / 0.4927 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/0.5706, allocations: 42.55 kB / 0.4927 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.5706, allocations: 7.906 kB / 0.4927 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5708, allocations: 170.9 kB / 0.4929 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5708, allocations: 4 kB / 0.4929 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.5708, allocations: 8 kB / 0.4929 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.571, allocations: 65.61 kB / 0.493 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.571, allocations: 4 kB / 0.493 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.5711, allocations: 7.984 kB / 0.493 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5711, allocations: 0 / 0.493 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.5712, allocations: 55.97 kB / 0.4931 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.5715, allocations: 193.6 kB / 0.4932 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.5716, allocations: 62.52 kB / 0.4933 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.5717, allocations: 40.84 kB / 0.4933 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/0.5718, allocations: 16 kB / 0.4933 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5719, allocations: 34.56 kB / 0.4934 GB, free: 11.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.5719, allocations: 0 / 0.4934 GB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.03545/0.6073, allocations: 1.419 MB / 0.4948 GB, free: 10.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.6074, allocations: 55.34 kB / 0.4948 GB, free: 10.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.6076, allocations: 120.8 kB / 0.4949 GB, free: 9.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.6077, allocations: 33.64 kB / 0.495 GB, free: 9.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.6077, allocations: 92.36 kB / 0.4951 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.6078, allocations: 35.41 kB / 0.4951 GB, free: 9.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.6079, allocations: 4 kB / 0.4951 GB, free: 9.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.608, allocations: 322.8 kB / 0.4954 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.6083, allocations: 83.98 kB / 0.4955 GB, free: 9.324 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.6086, allocations: 75.98 kB / 0.4956 GB, free: 9.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.6089, allocations: 71.95 kB / 0.4956 GB, free: 9.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6089, allocations: 0 / 0.4956 GB, free: 9.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007818/0.6097, allocations: 209.5 kB / 0.4958 GB, free: 8.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6098, allocations: 8 kB / 0.4958 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6098, allocations: 0 / 0.4958 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6098, allocations: 0 / 0.4958 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.6108, allocations: 67.88 kB / 0.4959 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6109, allocations: 0 / 0.4959 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.6117, allocations: 43.95 kB / 0.4959 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.6118, allocations: 7.984 kB / 0.4959 GB, free: 8.844 MB / 426.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 (12): * Single equations (assignments): 12 * 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.0001306/0.6119, allocations: 112.9 kB / 0.4961 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.612, allocations: 7.906 kB / 0.4961 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.613, allocations: 266.5 kB / 0.4963 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.613, allocations: 3.938 kB / 0.4963 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.613, allocations: 0 / 0.4963 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.613, allocations: 0 / 0.4963 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.6169, allocations: 0.7238 MB / 0.497 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6169, allocations: 4.094 kB / 0.497 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.6179, allocations: 67.88 kB / 0.4971 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.6179, allocations: 96 / 0.4971 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.6179, allocations: 19.92 kB / 0.4971 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.618, allocations: 8 kB / 0.4971 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.618, allocations: 0 / 0.4971 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.6188, allocations: 355 kB / 0.4975 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.619, allocations: 108.9 kB / 0.4976 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.619, allocations: 3.984 kB / 0.4976 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.6199, allocations: 43.91 kB / 0.4976 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.62, allocations: 11.98 kB / 0.4976 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.62, allocations: 8 kB / 0.4976 GB, free: 6.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.95e-05/0.6201, allocations: 95.27 kB / 0.4977 GB, free: 6.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6201, allocations: 0 / 0.4977 GB, free: 6.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008598/0.621, allocations: 183.7 kB / 0.4979 GB, free: 6.715 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.002166/0.6232, allocations: 1.24 MB / 0.4991 GB, free: 5.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.6239, allocations: 175.9 kB / 0.4993 GB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6239, allocations: 0 / 0.4993 GB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.6242, allocations: 99.84 kB / 0.4994 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.6246, allocations: 16.41 kB / 0.4994 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.629, allocations: 490.4 kB / 0.4999 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.6294, allocations: 0.6965 MB / 0.5005 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004156/0.6298, allocations: 48.52 kB / 0.5006 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.6301, allocations: 39.41 kB / 0.5006 GB, free: 3.812 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6301, allocations: 0 / 0.5006 GB, free: 3.812 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.6649, allocations: 6.856 MB / 0.5073 GB, free: 13.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.6653, allocations: 183 kB / 0.5075 GB, free: 12.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.231, allocations: 4 kB / 0.5075 GB, free: 12.88 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat