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.905/1.905, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.152e-05, allocations: 3.984 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 38.76 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4035, allocations: 67.44 MB / 331.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4038, allocations: 71.97 kB / 331.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01488/0.4187, allocations: 2.502 MB / 333.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.23e-06/0.4188, allocations: 4 kB / 333.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.4188, allocations: 0 / 333.9 MB, free: 3.59 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.0009566/0.4198, allocations: 418.1 kB / 334.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/0.4199, allocations: 8.031 kB / 334.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.42, allocations: 58.55 kB / 334.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.4201, allocations: 15.81 kB / 334.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4205, allocations: 194.8 kB / 334.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.4205, allocations: 12 kB / 334.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.4206, allocations: 19.95 kB / 334.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.4212, allocations: 129.4 kB / 334.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.4212, allocations: 0 / 334.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.4213, allocations: 11.98 kB / 334.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.4213, allocations: 7.984 kB / 334.7 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.4217, allocations: 79.73 kB / 334.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4236, allocations: 0.5376 MB / 335.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4239, allocations: 66.5 kB / 335.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.424, allocations: 28.8 kB / 335.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4241, allocations: 4 kB / 335.5 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.4241, allocations: 34.56 kB / 335.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 3.467e-06/0.4241, allocations: 0 / 335.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001712/0.4259, allocations: 0.5438 MB / 336 MB, free: 1.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.426, allocations: 51.41 kB / 336.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.4262, allocations: 123.6 kB / 336.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.4262, allocations: 29.7 kB / 336.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.4264, allocations: 139.9 kB / 336.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.4265, allocations: 39.36 kB / 336.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.4265, allocations: 12 kB / 336.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4267, allocations: 318.8 kB / 336.7 MB, free: 440 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4269, allocations: 24 kB / 336.8 MB, free: 416 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.4271, allocations: 80.36 kB / 336.8 MB, free: 312 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.4273, allocations: 44.72 kB / 336.9 MB, free: 268 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4273, allocations: 0 / 336.9 MB, free: 268 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005279/0.4279, allocations: 141.3 kB / 337 MB, free: 120 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4279, allocations: 4 kB / 337 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4279, allocations: 8.188 kB / 337 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.428, allocations: 4 kB / 337 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.4284, allocations: 39.88 kB / 337.1 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.4285, allocations: 7.984 kB / 337.1 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.4287, allocations: 8 kB / 337.1 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4287, allocations: 4 kB / 337.1 MB, free: 44 kB / 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 0.0001548/0.4289, allocations: 112.9 kB / 337.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.429, allocations: 7.906 kB / 337.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.4291, allocations: 20.62 kB / 337.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4291, allocations: 0 / 337.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.4291, allocations: 7.938 kB / 337.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4292, allocations: 0 / 337.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4303, allocations: 436 kB / 337.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4304, allocations: 4 kB / 337.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.4308, allocations: 27.98 kB / 337.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.806e-05/0.4309, allocations: 3.953 kB / 337.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.4309, allocations: 7.938 kB / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.4309, allocations: 4 kB / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.431, allocations: 0 / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.4315, allocations: 268.5 kB / 338 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.4317, allocations: 93.03 kB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.4318, allocations: 0 / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.432, allocations: 8 kB / 338.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.4321, allocations: 7.984 kB / 338.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.4321, allocations: 4 kB / 338.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4322, allocations: 99.27 kB / 338.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4323, allocations: 4.062 kB / 338.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006502/0.4329, allocations: 28 kB / 338.2 MB, free: 14.8 MB / 298.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.001124/0.4341, allocations: 0.9323 MB / 339.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.4345, allocations: 83.8 kB / 339.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4345, allocations: 0 / 339.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4347, allocations: 27.94 kB / 339.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.4351, allocations: 15.95 kB / 339.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4367, allocations: 349.1 kB / 339.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.4372, allocations: 0.7238 MB / 340.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.4374, allocations: 12.88 kB / 340.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.4375, allocations: 39.42 kB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4375, allocations: 0 / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.4644, allocations: 2.058 MB / 342.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/0.4649, allocations: 162.1 kB / 342.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.839, allocations: 0 / 342.6 MB, free: 10.29 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