Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.698e-05, allocations: 3.984 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2637, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.3863, allocations: 67.41 MB / 325.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3866, allocations: 71.97 kB / 325.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01787/0.4045, allocations: 4.009 MB / 329.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4045, allocations: 0 / 329.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.4046, allocations: 8 kB / 329.8 MB, free: 6.254 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009732/0.4056, allocations: 0.4905 MB / 330.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4056, allocations: 12.03 kB / 330.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.4057, allocations: 27.72 kB / 330.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.4061, allocations: 231.4 kB / 330.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.4061, allocations: 11.95 kB / 330.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.4062, allocations: 16 kB / 330.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004178/0.4066, allocations: 133.1 kB / 330.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.4071, allocations: 171.8 kB / 330.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4072, allocations: 7.906 kB / 330.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.4072, allocations: 0 / 330.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4072, allocations: 8 kB / 330.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.4089, allocations: 0.691 MB / 331.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.4094, allocations: 185.5 kB / 331.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.4097, allocations: 100.8 kB / 331.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4097, allocations: 0 / 331.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4098, allocations: 38.56 kB / 332 MB, free: 3.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.4098, allocations: 0 / 332 MB, free: 3.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001645/0.4114, allocations: 0.7737 MB / 332.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.4115, allocations: 59.41 kB / 332.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.4117, allocations: 130 kB / 332.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.4117, allocations: 25.7 kB / 332.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.4118, allocations: 132.4 kB / 333.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4119, allocations: 102.4 kB / 333.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.412, allocations: 0 / 333.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4121, allocations: 330.8 kB / 333.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4123, allocations: 56 kB / 333.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.4125, allocations: 103.2 kB / 333.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4127, allocations: 64.5 kB / 333.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4127, allocations: 0 / 333.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005101/0.4132, allocations: 209.3 kB / 333.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4133, allocations: 7.594 kB / 333.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4133, allocations: 12.08 kB / 333.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4133, allocations: 3.953 kB / 333.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.4139, allocations: 75.91 kB / 334 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.4139, allocations: 7.938 kB / 334 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.4142, allocations: 11.98 kB / 334 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4142, allocations: 4 kB / 334 MB, free: 1.766 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001099/0.4143, allocations: 112.9 kB / 334.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004297/0.4148, allocations: 181.9 kB / 334.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.4148, allocations: 19.77 kB / 334.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-05/0.4149, allocations: 21.97 kB / 334.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4149, allocations: 3.938 kB / 334.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.415, allocations: 4 kB / 334.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.415, allocations: 3.984 kB / 334.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4162, allocations: 0.5566 MB / 334.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4162, allocations: 0 / 334.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.4168, allocations: 75.89 kB / 335 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.4169, allocations: 0 / 335 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.4169, allocations: 4 kB / 335 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4169, allocations: 0 / 335 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.4169, allocations: 7.984 kB / 335 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.4177, allocations: 412.9 kB / 335.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.4178, allocations: 92.92 kB / 335.5 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.4178, allocations: 0 / 335.5 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.4181, allocations: 15.98 kB / 335.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.4182, allocations: 16.05 kB / 335.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.4182, allocations: 7.984 kB / 335.5 MB, free: 136 kB / 282.7 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.4183, allocations: 107.3 kB / 335.7 MB, free: 28 kB / 282.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4183, allocations: 0 / 335.7 MB, free: 28 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004863/0.4188, allocations: 56.09 kB / 335.7 MB, free: 15.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001097/0.4199, allocations: 1.067 MB / 336.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.4204, allocations: 160.6 kB / 336.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4204, allocations: 0 / 336.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.4206, allocations: 88.06 kB / 337 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.4211, allocations: 35.92 kB / 337.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.4232, allocations: 0.7318 MB / 337.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.4236, allocations: 0.7559 MB / 338.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.4237, allocations: 22.06 kB / 338.6 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.4239, allocations: 71.42 kB / 338.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4239, allocations: 0 / 338.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/0.4664, allocations: 3.551 MB / 342.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/0.4668, allocations: 141.7 kB / 342.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.016, allocations: 0 / 342.3 MB, free: 9.207 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat