Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.343e-05/5.365e-05, allocations: 7.984 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.503/0.6467, allocations: 74.03 MB / 395.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.6471, allocations: 71.95 kB / 396 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04754/0.6946, allocations: 8.156 MB / 404.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6947, allocations: 4 kB / 404.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.6947, allocations: 0 / 404.1 MB, free: 7.254 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003956/0.6951, allocations: 342.5 kB / 404.5 MB, free: 6.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6952, allocations: 12.03 kB / 404.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.6952, allocations: 34.55 kB / 404.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.6952, allocations: 0 / 404.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.6954, allocations: 167 kB / 404.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.6954, allocations: 0 / 404.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.6954, allocations: 4 kB / 404.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.6956, allocations: 29.7 kB / 404.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.6956, allocations: 7.984 kB / 404.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.6956, allocations: 4 kB / 404.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6956, allocations: 0 / 404.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.6957, allocations: 0 / 404.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.6958, allocations: 157.6 kB / 404.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.6959, allocations: 14.58 kB / 404.9 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.696, allocations: 12.89 kB / 404.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.696, allocations: 4 kB / 404.9 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.696, allocations: 34.56 kB / 404.9 MB, free: 6.277 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/0.696, allocations: 0 / 404.9 MB, free: 6.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.6962, allocations: 37.69 kB / 405 MB, free: 6.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.6963, allocations: 55.34 kB / 405 MB, free: 6.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.6963, allocations: 89 kB / 405.1 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.6964, allocations: 29.86 kB / 405.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.6964, allocations: 80.14 kB / 405.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.6965, allocations: 7.938 kB / 405.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.6965, allocations: 0 / 405.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6966, allocations: 310.8 kB / 405.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.6967, allocations: 4 kB / 405.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.6967, allocations: 0 / 405.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.6967, allocations: 4 kB / 405.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.6967, allocations: 7.891 kB / 405.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.623e-05/0.6968, allocations: 41.66 kB / 405.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6969, allocations: 8 kB / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.6969, allocations: 0 / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6969, allocations: 0 / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-06/0.6969, allocations: 0 / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6969, allocations: 0 / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.697, allocations: 0 / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.697, allocations: 8 kB / 405.6 MB, free: 5.559 MB / 330.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.963e-05/0.6971, allocations: 101 kB / 405.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.6971, allocations: 7.984 kB / 405.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.6973, allocations: 48.75 kB / 405.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6973, allocations: 0 / 405.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6973, allocations: 0 / 405.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6973, allocations: 0 / 405.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.6975, allocations: 149.7 kB / 405.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6975, allocations: 0 / 405.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-06/0.6975, allocations: 3.953 kB / 405.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6975, allocations: 4.031 kB / 405.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.6975, allocations: 7.938 kB / 405.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6976, allocations: 0 / 405.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6976, allocations: 0 / 405.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.6977, allocations: 61.12 kB / 406 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.6977, allocations: 77.11 kB / 406.1 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.6978, allocations: 3.953 kB / 406.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.6979, allocations: 8.031 kB / 406.1 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.6979, allocations: 0 / 406.1 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.6979, allocations: 3.984 kB / 406.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.698, allocations: 83.28 kB / 406.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.698, allocations: 0 / 406.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000449/0.6984, allocations: 43.94 kB / 406.2 MB, free: 4.871 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007669/0.6992, allocations: 0.6476 MB / 406.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.6993, allocations: 33.64 kB / 406.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6994, allocations: 0 / 406.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.6994, allocations: 33.69 kB / 406.9 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.6996, allocations: 7.953 kB / 406.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.7, allocations: 102.7 kB / 407 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.7003, allocations: 0.677 MB / 407.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.7004, allocations: 0 / 407.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.7004, allocations: 11.42 kB / 407.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7004, allocations: 0 / 407.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.7238, allocations: 1.404 MB / 409.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/0.7243, allocations: 163.5 kB / 409.3 MB, free: 1.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.085, allocations: 3.938 kB / 409.3 MB, free: 1.676 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat