Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.701e-05/4.716e-05, allocations: 8 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5438, allocations: 72.73 MB / 372.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5441, allocations: 67.44 kB / 372.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.5556, allocations: 2.497 MB / 375.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5557, allocations: 0 / 375.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.5557, allocations: 3.688 kB / 375.3 MB, free: 11.98 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.0006388/0.5564, allocations: 405.6 kB / 375.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5564, allocations: 8.938 kB / 375.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.5565, allocations: 48.8 kB / 375.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.5566, allocations: 15.94 kB / 375.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.5568, allocations: 207 kB / 375.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5568, allocations: 9.156 kB / 375.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.5569, allocations: 16.88 kB / 376 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.5573, allocations: 136.4 kB / 376.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.5573, allocations: 1.094 kB / 376.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.5573, allocations: 8.094 kB / 376.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.5574, allocations: 4.562 kB / 376.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.5576, allocations: 75.8 kB / 376.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.5588, allocations: 0.5315 MB / 376.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.5591, allocations: 69.97 kB / 376.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.5592, allocations: 27.27 kB / 376.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5592, allocations: 2.109 kB / 376.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5592, allocations: 35.84 kB / 376.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.795e-06/0.5592, allocations: 0 / 376.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001088/0.5603, allocations: 0.5561 MB / 377.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.5604, allocations: 53.41 kB / 377.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5606, allocations: 116.5 kB / 377.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.5606, allocations: 25.7 kB / 377.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.5607, allocations: 140.3 kB / 377.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.5607, allocations: 37.52 kB / 377.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5607, allocations: 4.5 kB / 377.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.5608, allocations: 328 kB / 378.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.5609, allocations: 25.53 kB / 378.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.5611, allocations: 77.64 kB / 378.2 MB, free: 9.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.5612, allocations: 48.55 kB / 378.2 MB, free: 9.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5612, allocations: 1.125 kB / 378.2 MB, free: 9.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000366/0.5616, allocations: 139.8 kB / 378.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5616, allocations: 8.578 kB / 378.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5616, allocations: 2.156 kB / 378.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.5617, allocations: 2.312 kB / 378.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.562, allocations: 46.88 kB / 378.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.562, allocations: 2.25 kB / 378.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.5622, allocations: 5.25 kB / 378.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.5622, allocations: 10.72 kB / 378.5 MB, free: 9.641 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.333e-05/0.5623, allocations: 110.6 kB / 378.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.5624, allocations: 13.33 kB / 378.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.5624, allocations: 15.08 kB / 378.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5624, allocations: 5.188 kB / 378.6 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5625, allocations: 0 / 378.6 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5625, allocations: 1.625 kB / 378.6 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.5632, allocations: 440.7 kB / 379 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5632, allocations: 0 / 379 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.5636, allocations: 25.09 kB / 379.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.5636, allocations: 5.25 kB / 379.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5637, allocations: 1.219 kB / 379.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.5637, allocations: 8.031 kB / 379.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5637, allocations: 0 / 379.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.5641, allocations: 258.4 kB / 379.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.5642, allocations: 88.34 kB / 379.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.5643, allocations: 7.828 kB / 379.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5644, allocations: 2.656 kB / 379.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.5645, allocations: 12.34 kB / 379.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5645, allocations: 7.312 kB / 379.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.5646, allocations: 107.5 kB / 379.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5646, allocations: 0 / 379.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.5651, allocations: 37.78 kB / 379.6 MB, free: 8.781 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.0006616/0.5657, allocations: 0.9335 MB / 380.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.566, allocations: 73.03 kB / 380.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5661, allocations: 0 / 380.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/0.5662, allocations: 33.92 kB / 380.6 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.5665, allocations: 10.23 kB / 380.6 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5677, allocations: 344.2 kB / 381 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.5679, allocations: 0.7151 MB / 381.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.919e-05/0.568, allocations: 13.14 kB / 381.7 MB, free: 6.969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.5681, allocations: 40.7 kB / 381.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5681, allocations: 0 / 381.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.5939, allocations: 2.064 MB / 383.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.5942, allocations: 155.6 kB / 383.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.99, allocations: 0 / 383.9 MB, free: 6.453 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat