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.187/2.187, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.173e-05, allocations: 0 / 255.4 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09234, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4691/0.5615, allocations: 72.73 MB / 372.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5618, allocations: 70.28 kB / 372.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.5731, allocations: 2.501 MB / 375.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5732, allocations: 0 / 375.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.5732, allocations: 3.781 kB / 375.3 MB, free: 21.59 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.0005756/0.5738, allocations: 404.5 kB / 375.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5739, allocations: 9.125 kB / 375.7 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.5739, allocations: 46.16 kB / 375.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.574, allocations: 15.31 kB / 375.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.5742, allocations: 206.8 kB / 375.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5743, allocations: 14.14 kB / 375.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.5743, allocations: 16.91 kB / 375.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.5747, allocations: 131.9 kB / 376.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5747, allocations: 1.312 kB / 376.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.5747, allocations: 5 kB / 376.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5748, allocations: 5.438 kB / 376.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.575, allocations: 77.48 kB / 376.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5761, allocations: 0.5344 MB / 376.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.5763, allocations: 69.77 kB / 376.8 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.5764, allocations: 24.61 kB / 376.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.5764, allocations: 1.188 kB / 376.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.5764, allocations: 31.72 kB / 376.8 MB, free: 20.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.315e-06/0.5764, allocations: 192 / 376.8 MB, free: 20.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001018/0.5775, allocations: 0.5619 MB / 377.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.5775, allocations: 52.53 kB / 377.4 MB, free: 19.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.5776, allocations: 116.2 kB / 377.6 MB, free: 19.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.5777, allocations: 26.77 kB / 377.6 MB, free: 19.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.5778, allocations: 206.3 kB / 377.8 MB, free: 19.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.5778, allocations: 39.34 kB / 377.8 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.5778, allocations: 4.531 kB / 377.8 MB, free: 19.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.5779, allocations: 322.3 kB / 378.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.578, allocations: 27.81 kB / 378.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.5782, allocations: 79.81 kB / 378.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.5783, allocations: 42.47 kB / 378.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5783, allocations: 1.094 kB / 378.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003214/0.5786, allocations: 137.2 kB / 378.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5787, allocations: 6.438 kB / 378.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5787, allocations: 2.969 kB / 378.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.5787, allocations: 6.688 kB / 378.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.579, allocations: 40.59 kB / 378.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.579, allocations: 4.984 kB / 378.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.5792, allocations: 5.438 kB / 378.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5792, allocations: 12.09 kB / 378.5 MB, free: 19.2 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 7.255e-05/0.5793, allocations: 111.5 kB / 378.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.5794, allocations: 14.34 kB / 378.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.5794, allocations: 14.2 kB / 378.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5794, allocations: 9.016 kB / 378.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5795, allocations: 4.906 kB / 378.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5795, allocations: 2.109 kB / 378.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.5802, allocations: 438.9 kB / 379.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5802, allocations: 1.094 kB / 379.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.5804, allocations: 29.45 kB / 379.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5805, allocations: 1.062 kB / 379.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5805, allocations: 1.125 kB / 379.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.5805, allocations: 3.75 kB / 379.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5805, allocations: 5.031 kB / 379.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.5809, allocations: 260.2 kB / 379.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.5809, allocations: 84.3 kB / 379.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.581, allocations: 2.062 kB / 379.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5811, allocations: 9.141 kB / 379.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.5812, allocations: 10.17 kB / 379.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5812, allocations: 3.062 kB / 379.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.5813, allocations: 98.94 kB / 379.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5813, allocations: 0 / 379.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.5817, allocations: 39.62 kB / 379.6 MB, free: 18.34 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.000666/0.5824, allocations: 0.9295 MB / 380.5 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.5827, allocations: 76.91 kB / 380.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5827, allocations: 0 / 380.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.5828, allocations: 32.3 kB / 380.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.5832, allocations: 10.31 kB / 380.7 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.5843, allocations: 367.4 kB / 381 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.5845, allocations: 0.7187 MB / 381.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.5846, allocations: 48.17 kB / 381.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5846, allocations: 0 / 381.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.472/3.056, allocations: 2.028 MB / 383.8 MB, free: 16.34 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