Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.317/2.317, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.427e-05, allocations: 0 / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.6054, allocations: 77.18 MB / 394.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.6058, allocations: 70.34 kB / 394.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.618, allocations: 2.586 MB / 396.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.6181, allocations: 4 kB / 396.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.6181, allocations: 4 kB / 396.9 MB, free: 8.266 MB / 314.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.0007416/0.6189, allocations: 413.1 kB / 397.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.6189, allocations: 12.02 kB / 397.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.619, allocations: 46 kB / 397.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.6191, allocations: 19.8 kB / 397.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.6194, allocations: 193.3 kB / 397.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.6194, allocations: 14.95 kB / 397.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.6195, allocations: 18.31 kB / 397.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.6199, allocations: 132.8 kB / 397.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.6199, allocations: 7.891 kB / 397.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.6199, allocations: 3.688 kB / 397.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.62, allocations: 4 kB / 397.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.6202, allocations: 80.2 kB / 397.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.6215, allocations: 0.5354 MB / 398.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.6218, allocations: 72.56 kB / 398.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.6219, allocations: 27.92 kB / 398.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.6219, allocations: 0 / 398.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.6219, allocations: 38.55 kB / 398.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.622, allocations: 0 / 398.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0012/0.6232, allocations: 0.5467 MB / 399 MB, free: 6.105 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.6232, allocations: 54.53 kB / 399.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.6234, allocations: 116.3 kB / 399.2 MB, free: 5.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.6235, allocations: 33.08 kB / 399.2 MB, free: 5.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6236, allocations: 139 kB / 399.3 MB, free: 5.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.6236, allocations: 38.14 kB / 399.4 MB, free: 5.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.6237, allocations: 3.938 kB / 399.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6238, allocations: 322.1 kB / 399.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.6239, allocations: 29.81 kB / 399.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.6241, allocations: 76.38 kB / 399.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.6242, allocations: 37.67 kB / 399.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6242, allocations: 3.984 kB / 399.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000376/0.6246, allocations: 137 kB / 400 MB, free: 5.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6246, allocations: 8 kB / 400 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.6247, allocations: 0 / 400 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6247, allocations: 4 kB / 400 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.625, allocations: 43.75 kB / 400 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.6251, allocations: 11.98 kB / 400 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.6252, allocations: 4 kB / 400 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.6252, allocations: 11.69 kB / 400.1 MB, free: 5.074 MB / 314.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.0001039/0.6254, allocations: 108.4 kB / 400.2 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.6254, allocations: 7.906 kB / 400.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.6255, allocations: 15.94 kB / 400.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6255, allocations: 0 / 400.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6255, allocations: 3.953 kB / 400.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6255, allocations: 11.98 kB / 400.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008301/0.6264, allocations: 434.3 kB / 400.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6264, allocations: 0 / 400.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.6267, allocations: 28.55 kB / 400.6 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.6267, allocations: 7.953 kB / 400.7 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6267, allocations: 5.625 kB / 400.7 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.6268, allocations: 0 / 400.7 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6268, allocations: 11.88 kB / 400.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.6272, allocations: 258.5 kB / 400.9 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.6273, allocations: 89.11 kB / 401 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.6274, allocations: 4 kB / 401 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.6275, allocations: 6.297 kB / 401 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.6276, allocations: 4 kB / 401 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.6276, allocations: 7.984 kB / 401 MB, free: 4.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.366e-05/0.6277, allocations: 100.5 kB / 401.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6277, allocations: 0 / 401.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.6281, allocations: 27.44 kB / 401.2 MB, free: 3.953 MB / 314.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.0008544/0.629, allocations: 0.9331 MB / 402.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.6293, allocations: 84.56 kB / 402.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6293, allocations: 0 / 402.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.6294, allocations: 30.94 kB / 402.2 MB, free: 2.926 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.6298, allocations: 19.19 kB / 402.2 MB, free: 2.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.631, allocations: 341.2 kB / 402.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.6314, allocations: 0.716 MB / 403.3 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.6315, allocations: 20.86 kB / 403.3 MB, free: 1.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6316, allocations: 40.17 kB / 403.3 MB, free: 1.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6317, allocations: 0 / 403.3 MB, free: 1.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.6555, allocations: 2.051 MB / 405.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/0.6559, allocations: 166.5 kB / 405.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.061, allocations: 0 / 405.5 MB, free: 15.54 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat