Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.562e-05, allocations: 3.984 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5513, allocations: 78.99 MB / 421.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.5517, allocations: 78.39 kB / 421.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04901/0.6008, allocations: 4.378 MB / 426.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6008, allocations: 0 / 426.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.6009, allocations: 8 kB / 426.1 MB, free: 11.04 MB / 346.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.005187/0.6061, allocations: 496.1 kB / 426.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.6062, allocations: 12.03 kB / 426.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.6063, allocations: 57.36 kB / 426.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.6064, allocations: 27.62 kB / 426.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.6069, allocations: 233.2 kB / 426.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.6069, allocations: 15.56 kB / 426.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.607, allocations: 26.69 kB / 426.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.6078, allocations: 204 kB / 427.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.6079, allocations: 4 kB / 427.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.6079, allocations: 10 kB / 427.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.6079, allocations: 12 kB / 427.1 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.6085, allocations: 149.8 kB / 427.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.6147, allocations: 0.7515 MB / 428 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.6156, allocations: 200.9 kB / 428.2 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.6159, allocations: 95.42 kB / 428.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.616, allocations: 0 / 428.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.616, allocations: 41.69 kB / 428.4 MB, free: 8.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.366e-06/0.6161, allocations: 0 / 428.4 MB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002431/0.6185, allocations: 0.8301 MB / 429.2 MB, free: 8.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6186, allocations: 59.34 kB / 429.3 MB, free: 8.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.6188, allocations: 145 kB / 429.4 MB, free: 8.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.6189, allocations: 32.95 kB / 429.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.6191, allocations: 204.8 kB / 429.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6192, allocations: 104.2 kB / 429.7 MB, free: 7.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.6193, allocations: 3.875 kB / 429.7 MB, free: 7.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6194, allocations: 322.7 kB / 430.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.6196, allocations: 63.06 kB / 430.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.6199, allocations: 88.56 kB / 430.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.6201, allocations: 87.34 kB / 430.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6201, allocations: 0 / 430.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005484/0.6207, allocations: 221.8 kB / 430.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6207, allocations: 4 kB / 430.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6207, allocations: 0 / 430.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.6208, allocations: 8 kB / 430.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.6214, allocations: 83.05 kB / 430.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6214, allocations: 7.953 kB / 430.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.6217, allocations: 15.3 kB / 430.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.6217, allocations: 7.688 kB / 430.6 MB, free: 6.914 MB / 346.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.0001182/0.6219, allocations: 115.8 kB / 430.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.6219, allocations: 19.81 kB / 430.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.622, allocations: 32.8 kB / 430.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.622, allocations: 4 kB / 430.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6221, allocations: 0 / 430.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6221, allocations: 3.953 kB / 430.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.6233, allocations: 0.6257 MB / 431.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6234, allocations: 0 / 431.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/0.6241, allocations: 76.02 kB / 431.5 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.6241, allocations: 11.89 kB / 431.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.6241, allocations: 6.938 kB / 431.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.6241, allocations: 4 kB / 431.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6242, allocations: 0 / 431.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/0.6249, allocations: 428.2 kB / 431.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.6251, allocations: 96.86 kB / 432 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.6251, allocations: 3.75 kB / 432 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.6254, allocations: 15.17 kB / 432.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6255, allocations: 23.16 kB / 432.1 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.6255, allocations: 11.94 kB / 432.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.6257, allocations: 122.6 kB / 432.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6257, allocations: 0 / 432.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.6262, allocations: 57.44 kB / 432.3 MB, free: 5.422 MB / 346.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.001176/0.6274, allocations: 1.095 MB / 433.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.6279, allocations: 166.2 kB / 433.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6279, allocations: 0 / 433.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.6281, allocations: 98.67 kB / 433.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.6286, allocations: 33.73 kB / 433.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.6309, allocations: 0.7902 MB / 434.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.6313, allocations: 0.7639 MB / 435.2 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.6315, allocations: 70.73 kB / 435.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6315, allocations: 0 / 435.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.424/3.056, allocations: 3.775 MB / 439 MB, free: 14.83 MB / 362.7 MB