Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.828e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6694, allocations: 85.05 MB / 495.4 MB, free: 2.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.6698, allocations: 71.95 kB / 495.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004036/0.6738, allocations: 0.9051 MB / 496.4 MB, free: 1.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6739, allocations: 0 / 496.4 MB, free: 1.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.6739, allocations: 0 / 496.4 MB, free: 1.961 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003339/0.6742, allocations: 343.3 kB / 496.7 MB, free: 1.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6743, allocations: 8.031 kB / 496.7 MB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.6744, allocations: 34.56 kB / 496.8 MB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.6744, allocations: 8 kB / 496.8 MB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.6745, allocations: 163 kB / 496.9 MB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6746, allocations: 4 kB / 496.9 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.6746, allocations: 3.953 kB / 496.9 MB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.6748, allocations: 61.61 kB / 497 MB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6748, allocations: 0 / 497 MB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.6748, allocations: 4 kB / 497 MB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.6748, allocations: 4 kB / 497 MB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.675, allocations: 43.97 kB / 497 MB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.6752, allocations: 177.6 kB / 497.2 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.6754, allocations: 66.61 kB / 497.3 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.6755, allocations: 35.64 kB / 497.3 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/0.6759, allocations: 251.3 kB / 497.6 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.676, allocations: 42.52 kB / 497.6 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.495e-06/0.676, allocations: 4 kB / 497.6 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002613/0.6763, allocations: 77.81 kB / 497.7 MB, free: 440 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.6763, allocations: 51.41 kB / 497.7 MB, free: 376 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.6764, allocations: 89 kB / 497.8 MB, free: 280 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.6764, allocations: 25.7 kB / 497.9 MB, free: 248 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.6765, allocations: 80.14 kB / 497.9 MB, free: 164 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.6766, allocations: 35.45 kB / 498 MB, free: 128 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.6766, allocations: 4 kB / 498 MB, free: 124 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6768, allocations: 315 kB / 498.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.6768, allocations: 16 kB / 498.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/0.6769, allocations: 19.98 kB / 498.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.677, allocations: 16 kB / 498.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.677, allocations: 0 / 498.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.6772, allocations: 77.62 kB / 498.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6772, allocations: 8.328 kB / 498.4 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6772, allocations: 3.984 kB / 498.4 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6773, allocations: 0 / 498.4 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.6774, allocations: 19.94 kB / 498.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6775, allocations: 11.94 kB / 498.4 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.6775, allocations: 0.5 kB / 498.4 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6775, allocations: 4 kB / 498.4 MB, free: 15.62 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 (10): * Single equations (assignments): 10 * 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 7.92e-05/0.6776, allocations: 105 kB / 498.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.6777, allocations: 11.89 kB / 498.6 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.678, allocations: 101.9 kB / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.678, allocations: 0 / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.678, allocations: 7.938 kB / 498.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.678, allocations: 0 / 498.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.6782, allocations: 173.6 kB / 498.8 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6782, allocations: 0 / 498.8 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.6784, allocations: 23.98 kB / 498.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6784, allocations: 0 / 498.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.6784, allocations: 0 / 498.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6784, allocations: 3.953 kB / 498.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6784, allocations: 0 / 498.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.6786, allocations: 117 kB / 499 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.6787, allocations: 77.11 kB / 499.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.6787, allocations: 4 kB / 499.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.6788, allocations: 0 / 499.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.6788, allocations: 11.94 kB / 499.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6788, allocations: 4 kB / 499.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.6789, allocations: 79.28 kB / 499.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6789, allocations: 0 / 499.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000286/0.6792, allocations: 19.94 kB / 499.2 MB, free: 14.79 MB / 410.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 (10): * Single equations (assignments): 10 * 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.0005998/0.6798, allocations: 0.6672 MB / 499.8 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.68, allocations: 43.98 kB / 499.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.68, allocations: 0 / 499.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.6801, allocations: 31.94 kB / 499.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.6802, allocations: 7.953 kB / 499.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.6807, allocations: 141.3 kB / 0.4883 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.6811, allocations: 0.6887 MB / 0.489 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.6812, allocations: 11.78 kB / 0.489 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.6812, allocations: 19.36 kB / 0.489 GB, free: 13.09 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6812, allocations: 0 / 0.489 GB, free: 13.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.7084, allocations: 1.331 MB / 0.4903 GB, free: 11.83 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.7088, allocations: 161.3 kB / 0.4905 GB, free: 11.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.032, allocations: 4.062 kB / 0.4905 GB, free: 11.61 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat