Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.048/1.048, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.222e-05, allocations: 0 / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2208, allocations: 25.16 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06184/0.2827, allocations: 34.6 MB / 211.2 MB, free: 14.76 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.283, allocations: 63.97 kB / 211.3 MB, free: 14.7 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.2985, allocations: 3.558 MB / 214.9 MB, free: 11.13 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2986, allocations: 0 / 214.9 MB, free: 11.13 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.2986, allocations: 4.188 kB / 214.9 MB, free: 11.12 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008987/0.2995, allocations: 486.2 kB / 215.3 MB, free: 10.61 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2996, allocations: 8.031 kB / 215.3 MB, free: 10.6 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.709e-05/0.2997, allocations: 54.55 kB / 215.4 MB, free: 10.54 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.2998, allocations: 23.72 kB / 215.4 MB, free: 10.51 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.3001, allocations: 216.2 kB / 215.6 MB, free: 10.26 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3001, allocations: 20.44 kB / 215.7 MB, free: 10.24 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.3002, allocations: 27.91 kB / 215.7 MB, free: 10.21 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.3007, allocations: 174.4 kB / 215.8 MB, free: 10.04 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.3007, allocations: 0 / 215.8 MB, free: 10.04 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3008, allocations: 15.95 kB / 215.9 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3008, allocations: 4 kB / 215.9 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.3012, allocations: 120.9 kB / 216 MB, free: 9.898 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.3025, allocations: 0.6114 MB / 216.6 MB, free: 9.238 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.303, allocations: 162.9 kB / 216.8 MB, free: 9.07 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.3033, allocations: 89.23 kB / 216.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.3033, allocations: 4.188 kB / 216.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3033, allocations: 30.75 kB / 216.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 2.384e-06/0.3034, allocations: 0 / 216.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001657/0.305, allocations: 0.7629 MB / 217.6 MB, free: 8.086 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3051, allocations: 59.41 kB / 217.7 MB, free: 8.016 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3053, allocations: 133.4 kB / 217.8 MB, free: 7.879 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.3053, allocations: 29.7 kB / 217.9 MB, free: 7.844 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3055, allocations: 198.8 kB / 218.1 MB, free: 7.645 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.3056, allocations: 94.73 kB / 218.1 MB, free: 7.551 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.3056, allocations: 4 kB / 218.1 MB, free: 7.547 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3058, allocations: 322.8 kB / 218.5 MB, free: 7.223 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3059, allocations: 52 kB / 218.5 MB, free: 7.172 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3061, allocations: 99.34 kB / 218.6 MB, free: 7.062 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.3063, allocations: 64.78 kB / 218.7 MB, free: 7 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3064, allocations: 0 / 218.7 MB, free: 7 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004878/0.3069, allocations: 209.3 kB / 218.9 MB, free: 6.789 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3069, allocations: 8.094 kB / 218.9 MB, free: 6.781 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3069, allocations: 3.938 kB / 218.9 MB, free: 6.777 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3069, allocations: 4 kB / 218.9 MB, free: 6.773 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.3075, allocations: 67.91 kB / 219 MB, free: 6.707 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3075, allocations: 4 kB / 219 MB, free: 6.703 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3077, allocations: 11.98 kB / 219 MB, free: 6.691 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3078, allocations: 12 kB / 219 MB, free: 6.676 MB / 186.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 (31): * Single equations (assignments): 31 * 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.0001091/0.3079, allocations: 124.9 kB / 219.1 MB, free: 6.547 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.3079, allocations: 15.81 kB / 219.1 MB, free: 6.531 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.308, allocations: 28.72 kB / 219.2 MB, free: 6.508 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.308, allocations: 0 / 219.2 MB, free: 6.508 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3081, allocations: 0 / 219.2 MB, free: 6.508 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3081, allocations: 0 / 219.2 MB, free: 6.508 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3092, allocations: 0.6117 MB / 219.8 MB, free: 5.828 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3093, allocations: 0 / 219.8 MB, free: 5.828 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.3099, allocations: 71.89 kB / 219.8 MB, free: 5.758 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.3099, allocations: 4 kB / 219.8 MB, free: 5.754 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.31, allocations: 4 kB / 219.8 MB, free: 5.75 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.31, allocations: 4 kB / 219.8 MB, free: 5.746 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.31, allocations: 0 / 219.8 MB, free: 5.746 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.3107, allocations: 384.3 kB / 220.2 MB, free: 5.336 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.3108, allocations: 96.91 kB / 220.3 MB, free: 5.223 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.3108, allocations: 8.016 kB / 220.3 MB, free: 5.215 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3111, allocations: 12.12 kB / 220.3 MB, free: 5.203 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.3111, allocations: 27.97 kB / 220.4 MB, free: 5.176 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3112, allocations: 4 kB / 220.4 MB, free: 5.172 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3113, allocations: 123.4 kB / 220.5 MB, free: 5.051 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3113, allocations: 0 / 220.5 MB, free: 5.051 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.3118, allocations: 48 kB / 220.5 MB, free: 5.004 MB / 186.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 (24): * Single equations (assignments): 24 * 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.001084/0.3129, allocations: 1.065 MB / 221.6 MB, free: 3.895 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.3133, allocations: 150.7 kB / 221.7 MB, free: 3.75 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3133, allocations: 0 / 221.7 MB, free: 3.75 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.3135, allocations: 76.19 kB / 221.8 MB, free: 3.676 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.314, allocations: 45.75 kB / 221.9 MB, free: 3.633 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3161, allocations: 0.734 MB / 222.6 MB, free: 2.848 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3165, allocations: 0.7522 MB / 223.4 MB, free: 2.07 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3167, allocations: 63.42 kB / 223.4 MB, free: 2.008 MB / 186.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3167, allocations: 0 / 223.4 MB, free: 2.008 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.386/2.702, allocations: 3.392 MB / 226.8 MB, free: 14.62 MB / 202.7 MB