Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.545/2.545, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.147e-05/5.158e-05, allocations: 4 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 61.9 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5235/0.6779, allocations: 85.55 MB / 495.9 MB, free: 2.492 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6783, allocations: 63.97 kB / 496 MB, free: 2.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.6948, allocations: 3.039 MB / 499 MB, free: 15.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6948, allocations: 4 kB / 499 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.6948, allocations: 4 kB / 499 MB, free: 15.39 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.0005119/0.6954, allocations: 367.3 kB / 499.4 MB, free: 14.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.136e-05/0.6954, allocations: 12.03 kB / 499.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.6955, allocations: 38.5 kB / 499.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.6955, allocations: 4 kB / 499.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.6957, allocations: 174.8 kB / 499.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.6957, allocations: 7.953 kB / 499.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.6957, allocations: 4 kB / 499.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.6959, allocations: 57.62 kB / 499.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6959, allocations: 0 / 499.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.696, allocations: 4 kB / 499.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.696, allocations: 0 / 499.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.6961, allocations: 27.94 kB / 499.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.6963, allocations: 165.7 kB / 499.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.6967, allocations: 58.52 kB / 499.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.6968, allocations: 24.86 kB / 499.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/0.6972, allocations: 109.1 kB / 0.4883 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.6972, allocations: 34.84 kB / 0.4884 GB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 5.31e-06/0.6972, allocations: 0 / 0.4884 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.2511/0.9484, allocations: 5.384 MB / 0.4936 GB, free: 8.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.9485, allocations: 55.41 kB / 0.4937 GB, free: 8.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.9486, allocations: 96.98 kB / 0.4938 GB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/0.9487, allocations: 29.7 kB / 0.4938 GB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.9488, allocations: 88.12 kB / 0.4939 GB, free: 8.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.9489, allocations: 67.02 kB / 0.4939 GB, free: 8.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.949, allocations: 0 / 0.4939 GB, free: 8.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9491, allocations: 318.8 kB / 0.4942 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.9497, allocations: 195.9 kB / 0.4944 GB, free: 7.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.9503, allocations: 187.9 kB / 0.4946 GB, free: 7.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.9519, allocations: 238.4 kB / 0.4948 GB, free: 7.426 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.952, allocations: 0 / 0.4948 GB, free: 7.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002573/0.9546, allocations: 0.5324 MB / 0.4954 GB, free: 6.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.9547, allocations: 4 kB / 0.4954 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.9547, allocations: 0 / 0.4954 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.9547, allocations: 4 kB / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.9561, allocations: 115.8 kB / 0.4955 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.9562, allocations: 0 / 0.4955 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/0.9572, allocations: 35.95 kB / 0.4955 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.9573, allocations: 31.94 kB / 0.4955 GB, free: 6.699 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.0002162/0.9575, allocations: 120.9 kB / 0.4957 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.9576, allocations: 7.906 kB / 0.4957 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.9608, allocations: 0.6444 MB / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.9609, allocations: 4 kB / 0.4963 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9609, allocations: 0 / 0.4963 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.9609, allocations: 192 / 0.4963 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007232/0.9682, allocations: 1.109 MB / 0.4974 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.9682, allocations: 4.188 kB / 0.4974 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.9694, allocations: 116 kB / 0.4975 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.9695, allocations: 4 kB / 0.4975 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.9696, allocations: 27.95 kB / 0.4975 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.9696, allocations: 0 / 0.4975 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.9696, allocations: 7.953 kB / 0.4975 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.972, allocations: 0.5728 MB / 0.4981 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.9722, allocations: 89.02 kB / 0.4982 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.9722, allocations: 8 kB / 0.4982 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.9731, allocations: 31.95 kB / 0.4982 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.9732, allocations: 19.94 kB / 0.4982 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/0.9733, allocations: 31.89 kB / 0.4983 GB, free: 3.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.041e-05/0.9734, allocations: 87.28 kB / 0.4983 GB, free: 3.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.9734, allocations: 0 / 0.4983 GB, free: 3.645 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002712/0.9761, allocations: 0.6286 MB / 0.499 GB, free: 3.016 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.007818/0.984, allocations: 1.765 MB / 0.5007 GB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.9854, allocations: 371 kB / 0.501 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9854, allocations: 4 kB / 0.501 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.986, allocations: 155.8 kB / 0.5012 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.9863, allocations: 19.89 kB / 0.5012 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.9922, allocations: 0.5933 MB / 0.5018 GB, free: 4 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.9926, allocations: 0.7007 MB / 0.5025 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001023/0.9937, allocations: 120.9 kB / 0.5026 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.9943, allocations: 99.28 kB / 0.5027 GB, free: 15.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.9943, allocations: 0 / 0.5027 GB, free: 15.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/1.068, allocations: 21.55 MB / 0.5237 GB, free: 10.06 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/1.068, allocations: 170.7 kB / 0.5239 GB, free: 9.828 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.181, allocations: 3.938 kB / 0.5239 GB, free: 9.824 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat