Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.104/1.104, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.031e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1729, allocations: 25.16 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06302/0.236, allocations: 34.64 MB / 211.3 MB, free: 14.71 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.2363, allocations: 63.97 kB / 211.3 MB, free: 14.64 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009478/0.2458, allocations: 2.192 MB / 213.5 MB, free: 12.45 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2459, allocations: 7.875 kB / 213.5 MB, free: 12.44 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.2459, allocations: 4 kB / 213.5 MB, free: 12.43 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006652/0.2466, allocations: 402.1 kB / 213.9 MB, free: 12 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2466, allocations: 8.031 kB / 213.9 MB, free: 11.99 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.302e-05/0.2467, allocations: 46.55 kB / 214 MB, free: 11.93 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.2468, allocations: 19.81 kB / 214 MB, free: 11.91 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.247, allocations: 186.9 kB / 214.2 MB, free: 11.69 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2471, allocations: 12 kB / 214.2 MB, free: 11.68 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.2471, allocations: 15.91 kB / 214.2 MB, free: 11.66 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.2474, allocations: 113.6 kB / 214.3 MB, free: 11.55 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2475, allocations: 0 / 214.3 MB, free: 11.55 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.2475, allocations: 11.95 kB / 214.3 MB, free: 11.54 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2475, allocations: 0 / 214.3 MB, free: 11.54 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.2477, allocations: 59.98 kB / 214.4 MB, free: 11.48 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2489, allocations: 0.4908 MB / 214.9 MB, free: 10.93 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.2491, allocations: 62.56 kB / 215 MB, free: 10.86 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.441e-05/0.2492, allocations: 24.86 kB / 215 MB, free: 10.83 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2493, allocations: 0 / 215 MB, free: 10.83 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2493, allocations: 38.52 kB / 215 MB, free: 10.79 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.2493, allocations: 0 / 215 MB, free: 10.79 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.001118/0.2504, allocations: 0.5244 MB / 215.5 MB, free: 10.17 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.2505, allocations: 59.34 kB / 215.6 MB, free: 10.1 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2507, allocations: 114.5 kB / 215.7 MB, free: 9.977 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2507, allocations: 29.7 kB / 215.7 MB, free: 9.941 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2508, allocations: 194.3 kB / 215.9 MB, free: 9.75 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.2509, allocations: 35.55 kB / 216 MB, free: 9.715 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-06/0.2509, allocations: 192 / 216 MB, free: 9.715 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2511, allocations: 322.8 kB / 216.3 MB, free: 9.391 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.2511, allocations: 31.84 kB / 216.3 MB, free: 9.359 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2513, allocations: 83.72 kB / 216.4 MB, free: 9.25 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2514, allocations: 43.91 kB / 216.4 MB, free: 9.207 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.2515, allocations: 4 kB / 216.4 MB, free: 9.203 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003298/0.2518, allocations: 125.5 kB / 216.6 MB, free: 9.074 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2518, allocations: 8.781 kB / 216.6 MB, free: 9.066 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2519, allocations: 7.922 kB / 216.6 MB, free: 9.059 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2519, allocations: 8.188 kB / 216.6 MB, free: 9.051 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.2522, allocations: 35.92 kB / 216.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.2522, allocations: 4 kB / 216.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.2524, allocations: 8 kB / 216.6 MB, free: 9.004 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.2524, allocations: 8 kB / 216.6 MB, free: 8.996 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001135/0.2525, allocations: 112.9 kB / 216.8 MB, free: 8.879 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.2526, allocations: 19.77 kB / 216.8 MB, free: 8.859 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.2527, allocations: 16.61 kB / 216.8 MB, free: 8.844 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2527, allocations: 4 kB / 216.8 MB, free: 8.84 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2527, allocations: 0 / 216.8 MB, free: 8.84 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2527, allocations: 4.062 kB / 216.8 MB, free: 8.836 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.2535, allocations: 412.7 kB / 217.2 MB, free: 8.371 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2535, allocations: 0 / 217.2 MB, free: 8.371 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.2537, allocations: 27.98 kB / 217.2 MB, free: 8.344 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2538, allocations: 4 kB / 217.2 MB, free: 8.34 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2538, allocations: 4 kB / 217.2 MB, free: 8.336 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.2538, allocations: 3.984 kB / 217.2 MB, free: 8.332 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2538, allocations: 0 / 217.2 MB, free: 8.332 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.2542, allocations: 248.5 kB / 217.5 MB, free: 8.055 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/0.2543, allocations: 93.03 kB / 217.6 MB, free: 7.945 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.2544, allocations: 4 kB / 217.6 MB, free: 7.941 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2545, allocations: 8 kB / 217.6 MB, free: 7.934 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.2546, allocations: 7.984 kB / 217.6 MB, free: 7.926 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2546, allocations: 3.953 kB / 217.6 MB, free: 7.922 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.469e-05/0.2547, allocations: 104.4 kB / 217.7 MB, free: 7.82 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2547, allocations: 0 / 217.7 MB, free: 7.82 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.2551, allocations: 24.06 kB / 217.7 MB, free: 7.797 MB / 186.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 (10): * Single equations (assignments): 10 * 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.0007894/0.2559, allocations: 0.926 MB / 218.6 MB, free: 6.828 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2562, allocations: 67.92 kB / 218.7 MB, free: 6.762 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2562, allocations: 0 / 218.7 MB, free: 6.762 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.2563, allocations: 31.94 kB / 218.7 MB, free: 6.73 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2567, allocations: 15.89 kB / 218.8 MB, free: 6.715 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2578, allocations: 359.8 kB / 219.1 MB, free: 6.32 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2581, allocations: 0.716 MB / 219.8 MB, free: 5.578 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.2582, allocations: 35.42 kB / 219.9 MB, free: 5.543 MB / 186.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2582, allocations: 0 / 219.9 MB, free: 5.543 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.466/2.724, allocations: 1.864 MB / 221.7 MB, free: 3.684 MB / 186.7 MB