Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.946e-05/4.966e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2941, allocations: 38.77 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4156, allocations: 67.44 MB / 331.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4159, allocations: 67.97 kB / 331.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.427, allocations: 2.498 MB / 333.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.449e-06/0.4271, allocations: 0 / 333.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.4271, allocations: 3.938 kB / 333.9 MB, free: 3.648 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.0006683/0.4278, allocations: 418.1 kB / 334.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4279, allocations: 15.97 kB / 334.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.4279, allocations: 46.55 kB / 334.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.428, allocations: 15.81 kB / 334.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.4283, allocations: 194.8 kB / 334.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4283, allocations: 19.94 kB / 334.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.4284, allocations: 19.94 kB / 334.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.4287, allocations: 129.4 kB / 334.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4288, allocations: 0 / 334.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.4288, allocations: 8 kB / 334.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4288, allocations: 8 kB / 334.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.4291, allocations: 87.66 kB / 334.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.4302, allocations: 0.529 MB / 335.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.4304, allocations: 74.48 kB / 335.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.4305, allocations: 24.84 kB / 335.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4305, allocations: 4 kB / 335.4 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4306, allocations: 38.56 kB / 335.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.4306, allocations: 0 / 335.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001113/0.4317, allocations: 0.5399 MB / 336 MB, free: 1.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4318, allocations: 51.41 kB / 336.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.4319, allocations: 121.2 kB / 336.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.432, allocations: 29.7 kB / 336.2 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4321, allocations: 210.3 kB / 336.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.4322, allocations: 39.36 kB / 336.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.4322, allocations: 4 kB / 336.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4323, allocations: 319.6 kB / 336.8 MB, free: 440 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.4324, allocations: 31.94 kB / 336.8 MB, free: 408 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4326, allocations: 82.3 kB / 336.9 MB, free: 304 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4327, allocations: 43.92 kB / 336.9 MB, free: 260 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4327, allocations: 0 / 336.9 MB, free: 260 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003333/0.4331, allocations: 133.5 kB / 337.1 MB, free: 120 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4331, allocations: 8 kB / 337.1 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.4331, allocations: 0 / 337.1 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4331, allocations: 4 kB / 337.1 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.4334, allocations: 43.88 kB / 337.1 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4335, allocations: 4 kB / 337.1 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.4336, allocations: 4 kB / 337.1 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.4336, allocations: 12 kB / 337.1 MB, free: 44 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 0.0001179/0.4338, allocations: 113.1 kB / 337.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.4338, allocations: 11.89 kB / 337.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.4339, allocations: 12.62 kB / 337.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4339, allocations: 4.031 kB / 337.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4339, allocations: 3.953 kB / 337.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4339, allocations: 4 kB / 337.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.4347, allocations: 436 kB / 337.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4348, allocations: 0 / 337.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.435, allocations: 27.98 kB / 337.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.435, allocations: 7.953 kB / 337.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.4351, allocations: 3.984 kB / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.4351, allocations: 11.94 kB / 337.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4351, allocations: 0 / 337.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.4355, allocations: 260.5 kB / 338 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.4356, allocations: 89.05 kB / 338.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.4357, allocations: 8.172 kB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4358, allocations: 4 kB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.4359, allocations: 16 kB / 338.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.4359, allocations: 7.984 kB / 338.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.966e-05/0.436, allocations: 94.38 kB / 338.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.436, allocations: 0 / 338.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000412/0.4365, allocations: 28 kB / 338.2 MB, free: 14.8 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.0007764/0.4372, allocations: 0.933 MB / 339.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.4376, allocations: 71.88 kB / 339.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4376, allocations: 0 / 339.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.4377, allocations: 35.94 kB / 339.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.438, allocations: 16.5 kB / 339.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4392, allocations: 367 kB / 339.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4395, allocations: 0.7199 MB / 340.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4397, allocations: 43.42 kB / 340.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4397, allocations: 0 / 340.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.515/2.954, allocations: 2.024 MB / 342.4 MB, free: 10.48 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat