Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.079e-05, allocations: 0 / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5556/0.6589, allocations: 73.39 MB / 373.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.6593, allocations: 69.52 kB / 373.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.6776, allocations: 4.046 MB / 377.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6777, allocations: 0 / 377.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.6777, allocations: 5.031 kB / 377.5 MB, free: 12.34 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000954/0.6787, allocations: 497 kB / 378 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6787, allocations: 9.562 kB / 378 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.363e-05/0.6788, allocations: 70.69 kB / 378.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.6789, allocations: 33.2 kB / 378.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.6792, allocations: 228.6 kB / 378.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.6793, allocations: 18.75 kB / 378.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.6794, allocations: 24.69 kB / 378.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.6799, allocations: 201.8 kB / 378.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.68, allocations: 1.031 kB / 378.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.68, allocations: 21.27 kB / 378.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.68, allocations: 6.562 kB / 378.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.6805, allocations: 143.6 kB / 378.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.6822, allocations: 0.7619 MB / 379.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.6828, allocations: 199.8 kB / 379.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.6831, allocations: 97.44 kB / 379.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.6831, allocations: 8.078 kB / 379.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.6831, allocations: 32.97 kB / 379.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.6831, allocations: 0 / 379.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001765/0.6849, allocations: 0.829 MB / 380.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.685, allocations: 54.38 kB / 380.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.6852, allocations: 143.2 kB / 380.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.6852, allocations: 32.42 kB / 380.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.6853, allocations: 143.1 kB / 381 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.6854, allocations: 100.4 kB / 381.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.6855, allocations: 8.656 kB / 381.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.6856, allocations: 333.3 kB / 381.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.6858, allocations: 58.66 kB / 381.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.686, allocations: 98.34 kB / 381.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.6862, allocations: 68.48 kB / 381.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6863, allocations: 0 / 381.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005931/0.6869, allocations: 237.6 kB / 381.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6869, allocations: 7.625 kB / 381.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6869, allocations: 1.406 kB / 381.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.687, allocations: 2.938 kB / 381.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.6876, allocations: 82.66 kB / 382 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.6876, allocations: 3.484 kB / 382 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.6879, allocations: 13.66 kB / 382 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.6879, allocations: 6.625 kB / 382 MB, free: 9.879 MB / 314.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.0001038/0.688, allocations: 124.4 kB / 382.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.6881, allocations: 21.77 kB / 382.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.592e-05/0.6882, allocations: 32.05 kB / 382.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6882, allocations: 3.531 kB / 382.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6882, allocations: 1.359 kB / 382.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.6883, allocations: 2.656 kB / 382.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.6896, allocations: 0.628 MB / 382.8 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6896, allocations: 5.188 kB / 382.8 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.6903, allocations: 77.3 kB / 382.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.6904, allocations: 1.125 kB / 382.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.6904, allocations: 7.547 kB / 382.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.6904, allocations: 2.5 kB / 382.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6904, allocations: 1.406 kB / 382.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.6912, allocations: 428.1 kB / 383.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.6913, allocations: 95.58 kB / 383.4 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.6914, allocations: 18.19 kB / 383.4 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.6917, allocations: 19.69 kB / 383.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.6918, allocations: 14.5 kB / 383.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.6918, allocations: 14.11 kB / 383.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.6919, allocations: 114.9 kB / 383.6 MB, free: 9 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6919, allocations: 0 / 383.6 MB, free: 9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.6925, allocations: 58.75 kB / 383.6 MB, free: 9 MB / 314.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.001093/0.6936, allocations: 1.095 MB / 384.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.6941, allocations: 173.4 kB / 384.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6941, allocations: 0 / 384.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.6944, allocations: 90.53 kB / 385 MB, free: 8.125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.695, allocations: 37.92 kB / 385 MB, free: 8.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.6971, allocations: 0.7645 MB / 385.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6974, allocations: 0.7585 MB / 386.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.6976, allocations: 22.52 kB / 386.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.6977, allocations: 72.17 kB / 386.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6977, allocations: 1.375 kB / 386.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.724, allocations: 3.992 MB / 390.6 MB, free: 6.492 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/0.7244, allocations: 154.8 kB / 390.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.377, allocations: 7.938 kB / 390.8 MB, free: 6.258 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat