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 2.073/2.073, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.671e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3522, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4828, allocations: 72.06 MB / 366.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4832, allocations: 71.95 kB / 366.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4936, allocations: 2.479 MB / 368.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4936, allocations: 3.938 kB / 368.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.4936, allocations: 4 kB / 368.8 MB, free: 7.281 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.0006516/0.4943, allocations: 406.3 kB / 369.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4944, allocations: 8.031 kB / 369.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.4944, allocations: 15.81 kB / 369.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.4947, allocations: 198.8 kB / 369.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4947, allocations: 12 kB / 369.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.4948, allocations: 8 kB / 369.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002466/0.495, allocations: 71.98 kB / 369.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.4953, allocations: 117.4 kB / 369.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4954, allocations: 0 / 369.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.4954, allocations: 0 / 369.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4954, allocations: 7.938 kB / 369.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4965, allocations: 0.4905 MB / 370.1 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4967, allocations: 62.56 kB / 370.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.4968, allocations: 28.98 kB / 370.2 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4968, allocations: 4 kB / 370.2 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4968, allocations: 30.56 kB / 370.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.4968, allocations: 0 / 370.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001045/0.4979, allocations: 0.5246 MB / 370.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.4979, allocations: 55.41 kB / 370.8 MB, free: 5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4981, allocations: 116.1 kB / 370.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4981, allocations: 25.7 kB / 371 MB, free: 4.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.4983, allocations: 210.2 kB / 371.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.4983, allocations: 35.64 kB / 371.2 MB, free: 4.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.4983, allocations: 3.938 kB / 371.2 MB, free: 4.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4985, allocations: 318.8 kB / 371.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.4985, allocations: 24 kB / 371.5 MB, free: 4.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4987, allocations: 82.12 kB / 371.6 MB, free: 4.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4988, allocations: 39.92 kB / 371.7 MB, free: 4.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4988, allocations: 0 / 371.7 MB, free: 4.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003011/0.4991, allocations: 125.4 kB / 371.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4992, allocations: 4 kB / 371.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4992, allocations: 7.953 kB / 371.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4992, allocations: 7.984 kB / 371.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.4995, allocations: 31.98 kB / 371.8 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4995, allocations: 7.938 kB / 371.8 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.4996, allocations: 8.188 kB / 371.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4997, allocations: 4 kB / 371.9 MB, free: 3.922 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 8.876e-05/0.4998, allocations: 108.8 kB / 372 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001978/0.5, allocations: 89.52 kB / 372 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.5, allocations: 11.86 kB / 372.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.5001, allocations: 12.62 kB / 372.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5001, allocations: 3.938 kB / 372.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5001, allocations: 0 / 372.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5001, allocations: 8 kB / 372.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.5008, allocations: 396.6 kB / 372.5 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5008, allocations: 4 kB / 372.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.5011, allocations: 27.98 kB / 372.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5011, allocations: 0 / 372.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5011, allocations: 256 / 372.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5012, allocations: 8 kB / 372.5 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5012, allocations: 3.938 kB / 372.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.5015, allocations: 248.5 kB / 372.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.5016, allocations: 89.11 kB / 372.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.5017, allocations: 0 / 372.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.5018, allocations: 4 kB / 372.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.5019, allocations: 11.92 kB / 372.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.5019, allocations: 7.953 kB / 372.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.502, allocations: 95.27 kB / 373 MB, free: 2.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.502, allocations: 0 / 373 MB, free: 2.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00043/0.5024, allocations: 27.94 kB / 373 MB, free: 2.672 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.0006906/0.5031, allocations: 0.9167 MB / 373.9 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.5034, allocations: 80.22 kB / 374 MB, free: 1.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5034, allocations: 0 / 374 MB, free: 1.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.5035, allocations: 27.94 kB / 374 MB, free: 1.613 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.5038, allocations: 15.94 kB / 374 MB, free: 1.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5048, allocations: 367.8 kB / 374.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.5052, allocations: 0.7158 MB / 375.1 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5053, allocations: 43.42 kB / 375.1 MB, free: 412 kB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5053, allocations: 0 / 375.1 MB, free: 412 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.383/2.888, allocations: 2.012 MB / 377.2 MB, free: 14.39 MB / 330.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