Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.19/2.19, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.181e-05/5.219e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1894, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.6718, allocations: 78.38 MB / 421.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6721, allocations: 67.09 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.6871, allocations: 2.678 MB / 424.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6872, allocations: 0 / 424.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.6872, allocations: 6.844 kB / 424.3 MB, free: 13.49 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008609/0.6881, allocations: 407.5 kB / 424.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.6882, allocations: 12.03 kB / 424.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.6883, allocations: 48.42 kB / 424.7 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.6883, allocations: 15.81 kB / 424.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.6887, allocations: 194.2 kB / 424.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.6887, allocations: 15.06 kB / 425 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.6888, allocations: 18.25 kB / 425 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.6893, allocations: 125.8 kB / 425.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.6893, allocations: 0 / 425.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.6894, allocations: 11.89 kB / 425.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.6894, allocations: 4 kB / 425.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.6898, allocations: 85.97 kB / 425.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.6913, allocations: 0.5365 MB / 425.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.6916, allocations: 73.94 kB / 425.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.6917, allocations: 24.73 kB / 425.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.6917, allocations: 4 kB / 425.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.6918, allocations: 34.69 kB / 425.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.614e-06/0.6918, allocations: 0 / 425.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.6933, allocations: 0.5574 MB / 426.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.6933, allocations: 51.41 kB / 426.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.6935, allocations: 120.7 kB / 426.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.6936, allocations: 29.33 kB / 426.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6937, allocations: 135.7 kB / 426.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.6938, allocations: 34.83 kB / 426.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.6938, allocations: 3.688 kB / 426.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.694, allocations: 318.7 kB / 427.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.6941, allocations: 31.64 kB / 427.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.6944, allocations: 82.17 kB / 427.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.6945, allocations: 42.98 kB / 427.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6946, allocations: 0 / 427.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004786/0.6951, allocations: 136.4 kB / 427.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.6951, allocations: 4 kB / 427.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.6951, allocations: 4 kB / 427.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6952, allocations: 0 / 427.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.6956, allocations: 44.11 kB / 427.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.6956, allocations: 4 kB / 427.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.6958, allocations: 7.625 kB / 427.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.6959, allocations: 8.078 kB / 427.5 MB, free: 10.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001307/0.696, allocations: 124.5 kB / 427.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.6961, allocations: 11.84 kB / 427.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.6962, allocations: 8.125 kB / 427.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6962, allocations: 4 kB / 427.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6962, allocations: 4 kB / 427.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6962, allocations: 0 / 427.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.6973, allocations: 437.5 kB / 428 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.6973, allocations: 7.984 kB / 428 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.6977, allocations: 23.98 kB / 428.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.6977, allocations: 0 / 428.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.6977, allocations: 11.69 kB / 428.1 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.6978, allocations: 3.938 kB / 428.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6978, allocations: 48 / 428.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.6984, allocations: 255.3 kB / 428.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.6985, allocations: 93.02 kB / 428.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.6986, allocations: 7.984 kB / 428.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6988, allocations: 7.938 kB / 428.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.6989, allocations: 11.92 kB / 428.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.6989, allocations: 4 kB / 428.5 MB, free: 9.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.6991, allocations: 99.97 kB / 428.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6991, allocations: 0 / 428.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007058/0.6998, allocations: 27.38 kB / 428.6 MB, free: 9.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001011/0.7008, allocations: 0.9241 MB / 429.5 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.7012, allocations: 81.8 kB / 429.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7012, allocations: 3.938 kB / 429.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.7013, allocations: 32.19 kB / 429.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.7018, allocations: 7.469 kB / 429.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.7032, allocations: 351.5 kB / 430 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.7037, allocations: 0.7199 MB / 430.7 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.7038, allocations: 12.88 kB / 430.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.704, allocations: 41.06 kB / 430.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of SimCode: time 9.91e-07/0.704, allocations: 0 / 430.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.7358, allocations: 2.062 MB / 432.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.7362, allocations: 152.1 kB / 433 MB, free: 4.785 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.224, allocations: 4.062 kB / 433 MB, free: 4.781 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat