Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.442e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 44.52 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5226, allocations: 72.71 MB / 372.6 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5229, allocations: 69.39 kB / 372.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.5332, allocations: 2.501 MB / 375.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5332, allocations: 0 / 375.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.5333, allocations: 3.094 kB / 375.2 MB, free: 21.69 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.0005642/0.5338, allocations: 412 kB / 375.6 MB, free: 21.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5339, allocations: 9.594 kB / 375.6 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.534, allocations: 52.5 kB / 375.7 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.534, allocations: 16.56 kB / 375.7 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.5342, allocations: 202.1 kB / 375.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.5343, allocations: 10.19 kB / 375.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.5343, allocations: 17.19 kB / 375.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.5347, allocations: 130.4 kB / 376 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.5347, allocations: 0 / 376 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.5347, allocations: 4.844 kB / 376.1 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5348, allocations: 4.406 kB / 376.1 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.535, allocations: 78.17 kB / 376.1 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.536, allocations: 0.5356 MB / 376.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.5362, allocations: 71.59 kB / 376.7 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.5363, allocations: 28.42 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5363, allocations: 5.125 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.5363, allocations: 32.19 kB / 376.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.5364, allocations: 0 / 376.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009292/0.5373, allocations: 0.5531 MB / 377.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5373, allocations: 56.38 kB / 377.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.5375, allocations: 118.7 kB / 377.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5375, allocations: 25.7 kB / 377.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.5376, allocations: 206.1 kB / 377.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.5376, allocations: 38.34 kB / 377.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.5376, allocations: 7.25 kB / 377.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.5377, allocations: 323.4 kB / 378.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.5378, allocations: 27 kB / 378.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.5379, allocations: 73.52 kB / 378.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.538, allocations: 43.05 kB / 378.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.538, allocations: 1.062 kB / 378.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003206/0.5384, allocations: 149.7 kB / 378.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5384, allocations: 11.34 kB / 378.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5384, allocations: 2.172 kB / 378.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5384, allocations: 7.422 kB / 378.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.5387, allocations: 37.11 kB / 378.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.5388, allocations: 4.234 kB / 378.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.5389, allocations: 9.375 kB / 378.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5389, allocations: 5.5 kB / 378.5 MB, free: 19.29 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 6.02e-05/0.539, allocations: 110.8 kB / 378.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.539, allocations: 18.42 kB / 378.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.5391, allocations: 10.31 kB / 378.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5391, allocations: 5.125 kB / 378.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5391, allocations: 0 / 378.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5391, allocations: 2.844 kB / 378.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.5398, allocations: 441.9 kB / 379.1 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5398, allocations: 4.062 kB / 379.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.54, allocations: 25.92 kB / 379.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5401, allocations: 2 kB / 379.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5401, allocations: 7.375 kB / 379.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5401, allocations: 0 / 379.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5401, allocations: 0 / 379.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.5404, allocations: 263 kB / 379.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.5405, allocations: 84.36 kB / 379.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.5405, allocations: 7.266 kB / 379.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5407, allocations: 3.094 kB / 379.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.5407, allocations: 15.19 kB / 379.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.5407, allocations: 3.094 kB / 379.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.362e-05/0.5408, allocations: 102.4 kB / 379.6 MB, free: 18.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5408, allocations: 0 / 379.6 MB, free: 18.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.5412, allocations: 35.88 kB / 379.6 MB, free: 18.44 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.0005237/0.5417, allocations: 0.9274 MB / 380.5 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.542, allocations: 85.78 kB / 380.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.542, allocations: 0.9688 kB / 380.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5421, allocations: 33.25 kB / 380.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.5424, allocations: 10.86 kB / 380.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.5434, allocations: 368.3 kB / 381 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.5436, allocations: 0.7178 MB / 381.7 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.5437, allocations: 41.08 kB / 381.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5437, allocations: 0 / 381.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.323/2.867, allocations: 2.035 MB / 383.8 MB, free: 16.43 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat