Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.831e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/0.6688, allocations: 87.53 MB / 497.9 MB, free: 452 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.6691, allocations: 63.95 kB / 498 MB, free: 388 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02998/0.6991, allocations: 6.115 MB / 0.4923 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6992, allocations: 0 / 0.4923 GB, free: 10.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.6992, allocations: 0 / 0.4923 GB, free: 10.28 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006742/0.6999, allocations: 416 kB / 0.4927 GB, free: 9.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.7, allocations: 12.03 kB / 0.4927 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.7, allocations: 30.56 kB / 0.4927 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.7001, allocations: 0 / 0.4927 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.7003, allocations: 163.1 kB / 0.4929 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7003, allocations: 3.953 kB / 0.4929 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.7003, allocations: 4 kB / 0.4929 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.7004, allocations: 33.69 kB / 0.4929 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.7005, allocations: 0 / 0.4929 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7005, allocations: 0 / 0.4929 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7005, allocations: 4 kB / 0.4929 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.7006, allocations: 7.938 kB / 0.4929 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.7008, allocations: 141.7 kB / 0.493 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.7009, allocations: 26.53 kB / 0.4931 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.7009, allocations: 8.812 kB / 0.4931 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.7009, allocations: 0 / 0.4931 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.303e-05/0.701, allocations: 68.33 kB / 0.4931 GB, free: 9.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.264e-06/0.701, allocations: 0 / 0.4931 GB, free: 9.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002533/0.7013, allocations: 63.39 kB / 0.4932 GB, free: 9.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.7014, allocations: 81.05 kB / 0.4933 GB, free: 9.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.7015, allocations: 88.98 kB / 0.4934 GB, free: 8.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7016, allocations: 29.7 kB / 0.4934 GB, free: 8.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.7016, allocations: 84.14 kB / 0.4935 GB, free: 8.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.7017, allocations: 0 / 0.4935 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.7017, allocations: 160 / 0.4935 GB, free: 8.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.7019, allocations: 314.8 kB / 0.4938 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.7019, allocations: 0 / 0.4938 GB, free: 8.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.702, allocations: 4 kB / 0.4938 GB, free: 8.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.702, allocations: 25.7 kB / 0.4938 GB, free: 8.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7021, allocations: 0 / 0.4938 GB, free: 8.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001472/0.7022, allocations: 63.39 kB / 0.4939 GB, free: 8.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.7023, allocations: 37.66 kB / 0.4939 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.7023, allocations: 3.938 kB / 0.4939 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.7024, allocations: 4.094 kB / 0.4939 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.7024, allocations: 0 / 0.4939 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.7024, allocations: 0 / 0.4939 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.7025, allocations: 0 / 0.4939 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.7025, allocations: 4 kB / 0.4939 GB, free: 8.328 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: 1 (result) * 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: 1 * 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.0001705/0.7027, allocations: 134.6 kB / 0.494 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.7027, allocations: 3.984 kB / 0.494 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.7028, allocations: 15.03 kB / 0.4941 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7028, allocations: 0 / 0.4941 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7028, allocations: 4 kB / 0.4941 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7028, allocations: 0 / 0.4941 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.703, allocations: 141.7 kB / 0.4942 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.703, allocations: 3.984 kB / 0.4942 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.7031, allocations: 4 kB / 0.4942 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.7031, allocations: 0 / 0.4942 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7031, allocations: 4 kB / 0.4942 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-05/0.7031, allocations: 3.953 kB / 0.4942 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7032, allocations: 0 / 0.4942 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.7034, allocations: 98.73 kB / 0.4943 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.7035, allocations: 77.11 kB / 0.4944 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.7035, allocations: 4 kB / 0.4944 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.7036, allocations: 0 / 0.4944 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.7036, allocations: 7.891 kB / 0.4944 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.7036, allocations: 0 / 0.4944 GB, free: 7.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.7037, allocations: 79.28 kB / 0.4945 GB, free: 7.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7037, allocations: 3.938 kB / 0.4945 GB, free: 7.645 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006978/0.7044, allocations: 84.03 kB / 0.4945 GB, free: 7.562 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001863/0.7063, allocations: 0.8876 MB / 0.4954 GB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.7065, allocations: 63.34 kB / 0.4955 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7065, allocations: 0 / 0.4955 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.57e-05/0.7066, allocations: 55.41 kB / 0.4955 GB, free: 6.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.7068, allocations: 3.953 kB / 0.4955 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.7074, allocations: 134.7 kB / 0.4957 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.7078, allocations: 0.677 MB / 0.4963 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.7078, allocations: 0 / 0.4963 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.7079, allocations: 7.438 kB / 0.4963 GB, free: 5.688 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7079, allocations: 0 / 0.4963 GB, free: 5.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08768/0.7956, allocations: 2.27 MB / 0.4985 GB, free: 3.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/0.796, allocations: 179.5 kB / 0.4987 GB, free: 3.277 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.362, allocations: 0 / 0.4987 GB, free: 3.277 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat