Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.494e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2647, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3823, allocations: 66.76 MB / 325.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.3826, allocations: 67.95 kB / 325.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01054/0.3932, allocations: 2.483 MB / 327.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3932, allocations: 0 / 327.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.3933, allocations: 4 kB / 327.7 MB, free: 8.461 MB / 282.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.0006433/0.3939, allocations: 410.1 kB / 328.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.394, allocations: 11.97 kB / 328.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.3941, allocations: 15.81 kB / 328.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3943, allocations: 199 kB / 328.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3944, allocations: 11.94 kB / 328.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.3944, allocations: 11.95 kB / 328.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002493/0.3947, allocations: 71.98 kB / 328.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.395, allocations: 105.4 kB / 328.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.395, allocations: 8 kB / 328.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3951, allocations: 4 kB / 328.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3951, allocations: 4 kB / 328.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3962, allocations: 0.4944 MB / 329 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3964, allocations: 62.58 kB / 329 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.3965, allocations: 20.84 kB / 329.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3965, allocations: 8.172 kB / 329.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3966, allocations: 38.5 kB / 329.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.3966, allocations: 4 kB / 329.1 MB, free: 6.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001027/0.3976, allocations: 0.524 MB / 329.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3977, allocations: 51.41 kB / 329.7 MB, free: 6.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3978, allocations: 115.2 kB / 329.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3978, allocations: 25.7 kB / 329.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3979, allocations: 143.9 kB / 330 MB, free: 5.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.398, allocations: 43.36 kB / 330 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.398, allocations: 0 / 330 MB, free: 5.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3982, allocations: 318.8 kB / 330.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.3982, allocations: 27.98 kB / 330.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3984, allocations: 70.86 kB / 330.4 MB, free: 5.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.3985, allocations: 43.92 kB / 330.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3985, allocations: 0 / 330.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003135/0.3988, allocations: 125.6 kB / 330.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3989, allocations: 8.031 kB / 330.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3989, allocations: 4 kB / 330.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3989, allocations: 7.938 kB / 330.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3992, allocations: 32.83 kB / 330.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.3992, allocations: 4 kB / 330.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3994, allocations: 7.953 kB / 330.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3994, allocations: 4 kB / 330.7 MB, free: 5.141 MB / 282.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.909e-05/0.3995, allocations: 116.9 kB / 330.8 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001963/0.3997, allocations: 85.53 kB / 330.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.3997, allocations: 11.91 kB / 330.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.3998, allocations: 12.56 kB / 330.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3998, allocations: 0 / 330.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3998, allocations: 11.89 kB / 330.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3999, allocations: 3.984 kB / 330.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.4005, allocations: 384.6 kB / 331.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4005, allocations: 4 kB / 331.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.4008, allocations: 27.92 kB / 331.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.4008, allocations: 3.953 kB / 331.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4008, allocations: 4 kB / 331.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4009, allocations: 0 / 331.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4009, allocations: 0 / 331.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.4012, allocations: 260.5 kB / 331.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.4013, allocations: 89.03 kB / 331.6 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4014, allocations: 4 kB / 331.6 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4015, allocations: 4 kB / 331.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.4016, allocations: 11.98 kB / 331.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4016, allocations: 4.062 kB / 331.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.4017, allocations: 101 kB / 331.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4017, allocations: 0 / 331.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004469/0.4022, allocations: 24 kB / 331.8 MB, free: 3.887 MB / 282.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.0007249/0.4029, allocations: 0.9096 MB / 332.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.4032, allocations: 79.8 kB / 332.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4032, allocations: 4 kB / 332.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.4033, allocations: 27.94 kB / 332.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.4036, allocations: 16.16 kB / 332.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4047, allocations: 336.3 kB / 333.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.4051, allocations: 0.7274 MB / 333.9 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.579e-05/0.4052, allocations: 12.86 kB / 333.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.4053, allocations: 39.89 kB / 333.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4053, allocations: 8 kB / 333.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.4432, allocations: 1.763 MB / 335.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/0.4436, allocations: 136.2 kB / 335.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.883, allocations: 2.75 kB / 335.8 MB, free: 15.68 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat