Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.315/2.315, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.767e-05, allocations: 0 / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 50.41 MB / 342.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.6049, allocations: 78.4 MB / 421 MB, free: 15.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.6052, allocations: 66.34 kB / 421.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.6169, allocations: 2.675 MB / 423.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6169, allocations: 6.844 kB / 423.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.6169, allocations: 4 kB / 423.8 MB, free: 13.1 MB / 346.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.0006888/0.6176, allocations: 407.4 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6177, allocations: 12.03 kB / 424.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.6178, allocations: 48.42 kB / 424.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.6179, allocations: 15.81 kB / 424.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.6182, allocations: 192.5 kB / 424.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.6182, allocations: 21.73 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.6183, allocations: 17.69 kB / 424.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.6186, allocations: 124.8 kB / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6187, allocations: 0 / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.6187, allocations: 14.58 kB / 424.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6187, allocations: 4 kB / 424.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.619, allocations: 79.36 kB / 424.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6202, allocations: 0.5302 MB / 425.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.6204, allocations: 75.17 kB / 425.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.6205, allocations: 31.92 kB / 425.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.6205, allocations: 0 / 425.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.6206, allocations: 38.12 kB / 425.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.6206, allocations: 0 / 425.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001152/0.6218, allocations: 0.5549 MB / 425.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.6219, allocations: 55.41 kB / 426 MB, free: 10.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.622, allocations: 120.8 kB / 426.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.622, allocations: 25.7 kB / 426.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6222, allocations: 133.8 kB / 426.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.6222, allocations: 35.2 kB / 426.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6222, allocations: 3.375 kB / 426.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6224, allocations: 322.6 kB / 426.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.6225, allocations: 27.27 kB / 426.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.6226, allocations: 85.23 kB / 426.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.6228, allocations: 41.17 kB / 426.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6228, allocations: 0 / 426.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000335/0.6231, allocations: 133.8 kB / 426.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.6232, allocations: 7.984 kB / 426.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6232, allocations: 4 kB / 426.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6232, allocations: 0 / 426.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.6235, allocations: 43.86 kB / 426.9 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.6236, allocations: 8.188 kB / 427 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.6237, allocations: 4 kB / 427 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.6237, allocations: 7.938 kB / 427 MB, free: 9.914 MB / 346.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.0001026/0.6238, allocations: 119.4 kB / 427.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.6239, allocations: 11.91 kB / 427.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.624, allocations: 15.28 kB / 427.1 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.624, allocations: 7.984 kB / 427.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.624, allocations: 0 / 427.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.624, allocations: 4 kB / 427.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.6248, allocations: 439.9 kB / 427.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.6249, allocations: 4 kB / 427.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.6252, allocations: 23.98 kB / 427.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.6252, allocations: 0 / 427.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.6252, allocations: 7 kB / 427.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.6252, allocations: 11.98 kB / 427.6 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6252, allocations: 0 / 427.6 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.6257, allocations: 256.4 kB / 427.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.6258, allocations: 85.11 kB / 427.9 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.6258, allocations: 7.953 kB / 427.9 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.626, allocations: 7.062 kB / 427.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.6261, allocations: 7.984 kB / 428 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.6261, allocations: 7.938 kB / 428 MB, free: 8.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.6262, allocations: 94.92 kB / 428.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6262, allocations: 0 / 428.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.6266, allocations: 31.48 kB / 428.1 MB, free: 8.785 MB / 346.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.0008648/0.6275, allocations: 0.9241 MB / 429 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.6278, allocations: 83.62 kB / 429.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6278, allocations: 0 / 429.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.6279, allocations: 35.3 kB / 429.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.6283, allocations: 7.672 kB / 429.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.6294, allocations: 352.2 kB / 429.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.6298, allocations: 0.7199 MB / 430.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.6299, allocations: 8.891 kB / 430.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.63, allocations: 40.73 kB / 430.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of SimCode: time 1.143e-06/0.63, allocations: 0 / 430.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.6524, allocations: 2.067 MB / 432.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/0.6528, allocations: 165.5 kB / 432.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.13, allocations: 0 / 432.5 MB, free: 4.387 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat