Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.706/1.706, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.561e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.387, allocations: 67.43 MB / 331.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.3873, allocations: 71.95 kB / 331.3 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.3983, allocations: 2.502 MB / 333.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3983, allocations: 4 kB / 333.9 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3983, allocations: 4 kB / 333.9 MB, free: 3.703 MB / 282.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.0006622/0.399, allocations: 410.1 kB / 334.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3991, allocations: 11.86 kB / 334.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.134e-05/0.3992, allocations: 54.67 kB / 334.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.3992, allocations: 15.81 kB / 334.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3995, allocations: 198.8 kB / 334.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3995, allocations: 16 kB / 334.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3996, allocations: 15.95 kB / 334.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.4, allocations: 133.2 kB / 334.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4, allocations: 0 / 334.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.4, allocations: 12 kB / 334.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4001, allocations: 4 kB / 334.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.4003, allocations: 75.98 kB / 334.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.4015, allocations: 0.5336 MB / 335.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.4017, allocations: 82.44 kB / 335.4 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.4018, allocations: 24.86 kB / 335.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.4019, allocations: 0 / 335.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4019, allocations: 34.56 kB / 335.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.4019, allocations: 0 / 335.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001129/0.4031, allocations: 0.5516 MB / 336 MB, free: 1.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.4031, allocations: 51.41 kB / 336.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4033, allocations: 124.3 kB / 336.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.4033, allocations: 25.7 kB / 336.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4034, allocations: 143.8 kB / 336.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.4035, allocations: 35.38 kB / 336.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.4035, allocations: 4 kB / 336.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4036, allocations: 322.8 kB / 336.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.4037, allocations: 28 kB / 336.7 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4039, allocations: 80.75 kB / 336.8 MB, free: 432 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.404, allocations: 44.72 kB / 336.8 MB, free: 388 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.404, allocations: 3.938 kB / 336.9 MB, free: 384 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003505/0.4044, allocations: 145.3 kB / 337 MB, free: 232 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4044, allocations: 8 kB / 337 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4045, allocations: 0 / 337 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4045, allocations: 7.953 kB / 337 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4048, allocations: 36.17 kB / 337 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.4048, allocations: 7.938 kB / 337.1 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.405, allocations: 8 kB / 337.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.405, allocations: 8 kB / 337.1 MB, free: 156 kB / 282.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 9.325e-05/0.4051, allocations: 105 kB / 337.2 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.4052, allocations: 11.89 kB / 337.2 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.4052, allocations: 16.62 kB / 337.2 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4052, allocations: 0 / 337.2 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4053, allocations: 7.953 kB / 337.2 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4053, allocations: 0 / 337.2 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.4061, allocations: 440 kB / 337.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4061, allocations: 3.938 kB / 337.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.4064, allocations: 31.94 kB / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.4064, allocations: 0 / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.4064, allocations: 15.98 kB / 337.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4064, allocations: 4 kB / 337.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4065, allocations: 0 / 337.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.4069, allocations: 260.5 kB / 337.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.407, allocations: 89.08 kB / 338 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.407, allocations: 7.984 kB / 338 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4072, allocations: 4 kB / 338 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4072, allocations: 4 kB / 338 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.4072, allocations: 11.98 kB / 338.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.4073, allocations: 91.28 kB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4074, allocations: 0 / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.4077, allocations: 28 kB / 338.2 MB, free: 14.92 MB / 298.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.0007906/0.4085, allocations: 0.9332 MB / 339.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.4089, allocations: 83.88 kB / 339.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4089, allocations: 0 / 339.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.409, allocations: 35.94 kB / 339.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4093, allocations: 17.34 kB / 339.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4104, allocations: 345.8 kB / 339.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4108, allocations: 0.7238 MB / 340.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.272e-05/0.4109, allocations: 12.88 kB / 340.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.411, allocations: 39.42 kB / 340.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.413e-06/0.411, allocations: 0 / 340.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4358, allocations: 2.086 MB / 342.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.4362, allocations: 155.5 kB / 342.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.838, allocations: 4 kB / 342.6 MB, free: 10.38 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat