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.79/1.79, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.155e-05, allocations: 4 kB / 219.5 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2805, allocations: 38.77 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.3998, allocations: 66.76 MB / 325.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4002, allocations: 67.97 kB / 325.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.4111, allocations: 2.478 MB / 327.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4111, allocations: 0 / 327.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4112, allocations: 4 kB / 327.6 MB, free: 8.508 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.000659/0.4118, allocations: 410.1 kB / 328 MB, free: 8.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4119, allocations: 15.97 kB / 328 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.412, allocations: 19.75 kB / 328.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.4122, allocations: 199 kB / 328.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4123, allocations: 4 kB / 328.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.4123, allocations: 15.95 kB / 328.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000248/0.4126, allocations: 71.98 kB / 328.3 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.4129, allocations: 113.3 kB / 328.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4129, allocations: 4 kB / 328.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.413, allocations: 3.984 kB / 328.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.413, allocations: 4 kB / 328.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.4141, allocations: 0.4905 MB / 329 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.4143, allocations: 66.56 kB / 329 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.4143, allocations: 16.86 kB / 329 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.4144, allocations: 7.984 kB / 329.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4144, allocations: 38.56 kB / 329.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/0.4144, allocations: 0 / 329.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000999/0.4154, allocations: 0.5203 MB / 329.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4155, allocations: 51.41 kB / 329.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4156, allocations: 123.9 kB / 329.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4157, allocations: 30.45 kB / 329.8 MB, free: 6.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4158, allocations: 206.3 kB / 330 MB, free: 5.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.4158, allocations: 39.36 kB / 330.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.4159, allocations: 0 / 330.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.416, allocations: 322.8 kB / 330.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.4161, allocations: 20 kB / 330.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4162, allocations: 80.23 kB / 330.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4163, allocations: 39.86 kB / 330.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4163, allocations: 0 / 330.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003001/0.4166, allocations: 117.6 kB / 330.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4167, allocations: 8 kB / 330.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4167, allocations: 0 / 330.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.4167, allocations: 7.984 kB / 330.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.417, allocations: 39.92 kB / 330.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.144e-05/0.4171, allocations: 4 kB / 330.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.4172, allocations: 7.953 kB / 330.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.4173, allocations: 8 kB / 330.7 MB, free: 5.125 MB / 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.162e-05/0.4174, allocations: 109 kB / 330.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002119/0.4176, allocations: 89.52 kB / 330.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.4176, allocations: 11.81 kB / 330.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.4177, allocations: 12.62 kB / 330.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4177, allocations: 4 kB / 330.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4177, allocations: 3.953 kB / 330.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4177, allocations: 0 / 330.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.4184, allocations: 400.5 kB / 331.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.4185, allocations: 0 / 331.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4187, allocations: 23.98 kB / 331.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.4187, allocations: 3.953 kB / 331.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4188, allocations: 11.94 kB / 331.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4188, allocations: 0 / 331.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4188, allocations: 0 / 331.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.4192, allocations: 256.8 kB / 331.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.4193, allocations: 96.94 kB / 331.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.4193, allocations: 0 / 331.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4194, allocations: 4 kB / 331.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.4195, allocations: 15.98 kB / 331.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.4195, allocations: 4 kB / 331.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.4196, allocations: 91.28 kB / 331.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4196, allocations: 0 / 331.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.42, allocations: 24 kB / 331.8 MB, free: 3.871 MB / 282.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.0007274/0.4208, allocations: 0.9174 MB / 332.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.421, allocations: 71.88 kB / 332.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.421, allocations: 0 / 332.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.4212, allocations: 36.42 kB / 332.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.4215, allocations: 8.062 kB / 332.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4226, allocations: 362 kB / 333.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.423, allocations: 0.7235 MB / 333.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4231, allocations: 43.42 kB / 334 MB, free: 1.598 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4231, allocations: 0 / 334 MB, free: 1.598 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.529/2.953, allocations: 2.03 MB / 336 MB, free: 15.57 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