Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.391e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09616, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5112, allocations: 73.38 MB / 373.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5115, allocations: 73.83 kB / 373.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01768/0.5292, allocations: 4.039 MB / 377.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5293, allocations: 0 / 377.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5293, allocations: 5.312 kB / 377.4 MB, free: 12.32 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.0009156/0.5302, allocations: 0.4886 MB / 377.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5303, allocations: 9.375 kB / 377.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.453e-05/0.5304, allocations: 62.38 kB / 378 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.5305, allocations: 32.77 kB / 378 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.5308, allocations: 236 kB / 378.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.5309, allocations: 18.84 kB / 378.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.5309, allocations: 31.38 kB / 378.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.5315, allocations: 202.7 kB / 378.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.5316, allocations: 7.516 kB / 378.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.5316, allocations: 9.75 kB / 378.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5316, allocations: 5.844 kB / 378.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.5321, allocations: 150.6 kB / 378.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.5338, allocations: 0.7578 MB / 379.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.5344, allocations: 203.5 kB / 379.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.5347, allocations: 99.03 kB / 379.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.5347, allocations: 4.156 kB / 379.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5347, allocations: 37.89 kB / 379.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.406e-06/0.5348, allocations: 0 / 379.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001742/0.5365, allocations: 0.8354 MB / 380.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.5366, allocations: 53.62 kB / 380.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.5368, allocations: 141.7 kB / 380.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.5368, allocations: 30.61 kB / 380.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.5369, allocations: 203.6 kB / 381 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.537, allocations: 103.7 kB / 381.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.537, allocations: 5.562 kB / 381.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.5371, allocations: 324.5 kB / 381.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.5373, allocations: 63.25 kB / 381.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.5375, allocations: 96.42 kB / 381.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5377, allocations: 71.73 kB / 381.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5378, allocations: 1.203 kB / 381.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005357/0.5383, allocations: 239.4 kB / 381.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5383, allocations: 7.594 kB / 381.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5384, allocations: 1.281 kB / 381.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.5384, allocations: 2.188 kB / 381.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.539, allocations: 75.27 kB / 382 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.539, allocations: 1.344 kB / 382 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.5393, allocations: 20.17 kB / 382 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5393, allocations: 10.97 kB / 382 MB, free: 9.789 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.0001184/0.5395, allocations: 121.1 kB / 382.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.5395, allocations: 17.91 kB / 382.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.931e-05/0.5396, allocations: 31.25 kB / 382.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5397, allocations: 3.125 kB / 382.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.5397, allocations: 1.688 kB / 382.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5397, allocations: 0 / 382.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.5409, allocations: 0.6301 MB / 382.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5409, allocations: 0 / 382.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.5416, allocations: 73.22 kB / 382.9 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.5416, allocations: 5.812 kB / 382.9 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.5417, allocations: 11.08 kB / 382.9 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.5417, allocations: 2 kB / 382.9 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5417, allocations: 5.312 kB / 382.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.5425, allocations: 429.9 kB / 383.3 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.5426, allocations: 91.28 kB / 383.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.5426, allocations: 6.625 kB / 383.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.5429, allocations: 21.03 kB / 383.4 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.543, allocations: 22.73 kB / 383.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.543, allocations: 5.688 kB / 383.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5431, allocations: 115.5 kB / 383.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5432, allocations: 0 / 383.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005004/0.5437, allocations: 61.19 kB / 383.6 MB, free: 8.922 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.0009925/0.5447, allocations: 1.095 MB / 384.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.5452, allocations: 177 kB / 384.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5452, allocations: 4.062 kB / 384.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.5454, allocations: 88.3 kB / 385 MB, free: 8.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.546, allocations: 30.06 kB / 385 MB, free: 8.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.5482, allocations: 0.8017 MB / 385.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.5485, allocations: 0.7599 MB / 386.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5487, allocations: 74.22 kB / 386.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5487, allocations: 0 / 386.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.439/2.988, allocations: 3.789 MB / 390.5 MB, free: 6.48 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat