Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.984e-05, allocations: 5.828 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/0.6365, allocations: 90.32 MB / 0.4889 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.6368, allocations: 63.97 kB / 0.489 GB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03088/0.6677, allocations: 6.641 MB / 0.4955 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6678, allocations: 0 / 0.4955 GB, free: 6.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.6678, allocations: 8 kB / 0.4955 GB, free: 6.914 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001201/0.669, allocations: 0.5416 MB / 0.496 GB, free: 6.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6691, allocations: 12.03 kB / 0.496 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.6692, allocations: 62.53 kB / 0.4961 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.6695, allocations: 51.61 kB / 0.4962 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.67, allocations: 254.5 kB / 0.4964 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.67, allocations: 24.73 kB / 0.4964 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.6701, allocations: 39.89 kB / 0.4965 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.6708, allocations: 282.8 kB / 0.4967 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.6709, allocations: 0 / 0.4967 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.6709, allocations: 16 kB / 0.4967 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.671, allocations: 8 kB / 0.4968 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.6715, allocations: 184.2 kB / 0.4969 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.6743, allocations: 1.297 MB / 0.4982 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.6752, allocations: 313 kB / 0.4985 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.6754, allocations: 109.2 kB / 0.4986 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.6755, allocations: 7.984 kB / 0.4986 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.6755, allocations: 34.56 kB / 0.4986 GB, free: 3.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.785e-06/0.6755, allocations: 7.938 kB / 0.4986 GB, free: 3.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.002567/0.6781, allocations: 1.349 MB / 0.5 GB, free: 1.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.6783, allocations: 158.2 kB / 0.5001 GB, free: 1.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.6786, allocations: 193 kB / 0.5003 GB, free: 1.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.6786, allocations: 37.7 kB / 0.5003 GB, free: 1.438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6788, allocations: 176.2 kB / 0.5005 GB, free: 1.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.679, allocations: 161.7 kB / 0.5007 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.679, allocations: 8 kB / 0.5007 GB, free: 1.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6792, allocations: 338.8 kB / 0.501 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.6795, allocations: 89.12 kB / 0.5011 GB, free: 0.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.6799, allocations: 231.1 kB / 0.5013 GB, free: 392 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.6803, allocations: 136.8 kB / 0.5014 GB, free: 256 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6803, allocations: 0 / 0.5014 GB, free: 256 kB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001008/0.6813, allocations: 388.8 kB / 0.5018 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.6813, allocations: 11.95 kB / 0.5018 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6814, allocations: 8.312 kB / 0.5018 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.6814, allocations: 15.98 kB / 0.5018 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.6822, allocations: 115.8 kB / 0.5019 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.6823, allocations: 4 kB / 0.5019 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.6827, allocations: 16 kB / 0.502 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.6827, allocations: 24 kB / 0.502 GB, free: 15.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001519/0.6829, allocations: 132.8 kB / 0.5021 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.6831, allocations: 35.62 kB / 0.5021 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.6834, allocations: 123.4 kB / 0.5023 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6835, allocations: 4 kB / 0.5023 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6835, allocations: 0 / 0.5023 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6835, allocations: 7.984 kB / 0.5023 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.6858, allocations: 1.026 MB / 0.5033 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6859, allocations: 0 / 0.5033 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.6868, allocations: 103.8 kB / 0.5034 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.6869, allocations: 4.25 kB / 0.5034 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.6869, allocations: 12 kB / 0.5034 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.6869, allocations: 8 kB / 0.5034 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.687, allocations: 0 / 0.5034 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.6884, allocations: 0.963 MB / 0.5043 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.6886, allocations: 108.8 kB / 0.5044 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.6887, allocations: 8 kB / 0.5044 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.6892, allocations: 15.98 kB / 0.5045 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.6892, allocations: 35.86 kB / 0.5045 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.6893, allocations: 12 kB / 0.5045 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.6895, allocations: 157.5 kB / 0.5047 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6895, allocations: 3.938 kB / 0.5047 GB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008083/0.6904, allocations: 88 kB / 0.5047 GB, free: 12.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.002291/0.6927, allocations: 2.34 MB / 0.507 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.6935, allocations: 256.5 kB / 0.5073 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6935, allocations: 0 / 0.5073 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.6938, allocations: 121 kB / 0.5074 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.6948, allocations: 61.09 kB / 0.5074 GB, free: 9.734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.6983, allocations: 1.228 MB / 0.5086 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.6988, allocations: 0.7923 MB / 0.5094 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.6992, allocations: 34.97 kB / 0.5095 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.6995, allocations: 107.4 kB / 0.5096 GB, free: 7.473 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6995, allocations: 0 / 0.5096 GB, free: 7.473 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.7347, allocations: 5.785 MB / 0.5152 GB, free: 1.801 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/0.7351, allocations: 150.7 kB / 0.5153 GB, free: 1.574 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.446, allocations: 4.109 kB / 0.5154 GB, free: 1.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat