Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.372/2.372, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.6e-05, allocations: 2.062 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6146, allocations: 72.05 MB / 366.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.615, allocations: 70.69 kB / 366.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.6263, allocations: 2.474 MB / 368.9 MB, free: 26.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6264, allocations: 0 / 368.9 MB, free: 26.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.6264, allocations: 3.844 kB / 368.9 MB, free: 26.68 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.0005796/0.627, allocations: 408.2 kB / 369.3 MB, free: 26.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6271, allocations: 7.594 kB / 369.3 MB, free: 26.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.6272, allocations: 15.78 kB / 369.3 MB, free: 26.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.6274, allocations: 211.4 kB / 369.5 MB, free: 26.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6274, allocations: 3.906 kB / 369.5 MB, free: 26.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.6275, allocations: 11.62 kB / 369.5 MB, free: 26.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000251/0.6277, allocations: 76.33 kB / 369.6 MB, free: 26.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.628, allocations: 107.8 kB / 369.7 MB, free: 26.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6281, allocations: 0 / 369.7 MB, free: 26.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.6281, allocations: 3.938 kB / 369.7 MB, free: 26.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.6281, allocations: 7.875 kB / 369.7 MB, free: 26.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.6291, allocations: 0.4934 MB / 370.2 MB, free: 25.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.6293, allocations: 64.62 kB / 370.3 MB, free: 25.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.6294, allocations: 19.8 kB / 370.3 MB, free: 25.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.6294, allocations: 4.125 kB / 370.3 MB, free: 25.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.6294, allocations: 37.44 kB / 370.3 MB, free: 25.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.6295, allocations: 0 / 370.3 MB, free: 25.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000925/0.6304, allocations: 0.5247 MB / 370.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.6304, allocations: 55.03 kB / 370.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6306, allocations: 113.2 kB / 371 MB, free: 25.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6306, allocations: 25.7 kB / 371.1 MB, free: 25.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.6307, allocations: 140.1 kB / 371.2 MB, free: 24.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.6307, allocations: 43.28 kB / 371.2 MB, free: 24.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.6307, allocations: 0 / 371.2 MB, free: 24.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6309, allocations: 317.2 kB / 371.5 MB, free: 24.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.631, allocations: 22.91 kB / 371.6 MB, free: 24.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.6311, allocations: 75.05 kB / 371.6 MB, free: 24.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.6312, allocations: 39.67 kB / 371.7 MB, free: 24.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6312, allocations: 0 / 371.7 MB, free: 24.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002889/0.6315, allocations: 128.5 kB / 371.8 MB, free: 24.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6315, allocations: 11.88 kB / 371.8 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6316, allocations: 7.953 kB / 371.8 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.6316, allocations: 3.875 kB / 371.8 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.6319, allocations: 36.22 kB / 371.9 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.6319, allocations: 0 / 371.9 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.632, allocations: 6.688 kB / 371.9 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.6321, allocations: 7.781 kB / 371.9 MB, free: 24.43 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 0.000107/0.6322, allocations: 112.6 kB / 372 MB, free: 24.31 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002024/0.6324, allocations: 87.78 kB / 372.1 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.6325, allocations: 16.52 kB / 372.1 MB, free: 24.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.6325, allocations: 12.42 kB / 372.1 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6325, allocations: 1.375 kB / 372.1 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6326, allocations: 0 / 372.1 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6326, allocations: 5.344 kB / 372.1 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.6333, allocations: 394.2 kB / 372.5 MB, free: 23.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6333, allocations: 5.469 kB / 372.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.6336, allocations: 25.5 kB / 372.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.6336, allocations: 1.75 kB / 372.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6337, allocations: 1.594 kB / 372.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6337, allocations: 1.781 kB / 372.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6337, allocations: 3.984 kB / 372.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.6341, allocations: 256.3 kB / 372.8 MB, free: 23.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.6341, allocations: 86.31 kB / 372.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.6342, allocations: 5.625 kB / 372.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6344, allocations: 5.484 kB / 372.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.6344, allocations: 6.188 kB / 372.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.6345, allocations: 7.141 kB / 372.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.182e-05/0.6346, allocations: 104.5 kB / 373 MB, free: 23.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6346, allocations: 0 / 373 MB, free: 23.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004753/0.6351, allocations: 26.62 kB / 373 MB, free: 23.56 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.0007756/0.6359, allocations: 0.9226 MB / 373.9 MB, free: 22.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.6361, allocations: 78.59 kB / 374 MB, free: 22.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6361, allocations: 0 / 374 MB, free: 22.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.6362, allocations: 31.25 kB / 374 MB, free: 22.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.6366, allocations: 20.77 kB / 374.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.6376, allocations: 327.2 kB / 374.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.638, allocations: 0.7177 MB / 375.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.6381, allocations: 9.547 kB / 375.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.6382, allocations: 40.97 kB / 375.2 MB, free: 21.72 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6382, allocations: 0 / 375.2 MB, free: 21.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.6795, allocations: 1.765 MB / 376.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000267/0.6799, allocations: 141.1 kB / 377.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.992/3.672, allocations: 0 / 377.1 MB, free: 21.41 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat