Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.55e-05/4.556e-05, allocations: 7.984 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5148/0.6352, allocations: 78.92 MB / 421.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.6355, allocations: 65.28 kB / 421.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.6546, allocations: 4.389 MB / 426 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.3e-06/0.6546, allocations: 0 / 426 MB, free: 11.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.6547, allocations: 7.938 kB / 426 MB, free: 11.2 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.0009783/0.6557, allocations: 496.8 kB / 426.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6557, allocations: 8.031 kB / 426.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.563e-05/0.6558, allocations: 67.03 kB / 426.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.6559, allocations: 27.62 kB / 426.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.6563, allocations: 228.4 kB / 426.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.6563, allocations: 19.31 kB / 426.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.6564, allocations: 25.62 kB / 426.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.6569, allocations: 206 kB / 427.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.657, allocations: 3.984 kB / 427.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.657, allocations: 14.88 kB / 427.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.657, allocations: 4 kB / 427.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.6575, allocations: 145.8 kB / 427.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.6595, allocations: 0.7607 MB / 428 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.6601, allocations: 194.2 kB / 428.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.6604, allocations: 100.8 kB / 428.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.6605, allocations: 8 kB / 428.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.6605, allocations: 34.5 kB / 428.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.306e-06/0.6605, allocations: 0 / 428.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0018/0.6623, allocations: 0.8268 MB / 429.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6624, allocations: 59.34 kB / 429.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.6626, allocations: 143 kB / 429.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.6626, allocations: 28.95 kB / 429.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6628, allocations: 144.8 kB / 429.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6629, allocations: 106.3 kB / 429.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.6629, allocations: 3.125 kB / 429.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6631, allocations: 327.4 kB / 430 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.6633, allocations: 58.69 kB / 430 MB, free: 7.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.6635, allocations: 98.73 kB / 430.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.6637, allocations: 82.66 kB / 430.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6637, allocations: 0 / 430.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005536/0.6643, allocations: 233.1 kB / 430.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6643, allocations: 4 kB / 430.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6643, allocations: 0 / 430.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6644, allocations: 8.094 kB / 430.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.665, allocations: 79.45 kB / 430.5 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.665, allocations: 7.953 kB / 430.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6652, allocations: 14.73 kB / 430.5 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.6653, allocations: 11.56 kB / 430.5 MB, free: 7.117 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.000107/0.6654, allocations: 112.2 kB / 430.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.6655, allocations: 23.81 kB / 430.7 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.6656, allocations: 25.94 kB / 430.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6656, allocations: 0 / 430.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6656, allocations: 0 / 430.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6656, allocations: 7.938 kB / 430.7 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.6669, allocations: 0.627 MB / 431.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6669, allocations: 4 kB / 431.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.6676, allocations: 75.14 kB / 431.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.6676, allocations: 7.953 kB / 431.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.6676, allocations: 3.5 kB / 431.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.6677, allocations: 4 kB / 431.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6677, allocations: 0 / 431.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.6685, allocations: 429 kB / 431.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.6686, allocations: 96.3 kB / 431.9 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.6686, allocations: 7.375 kB / 431.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.6689, allocations: 19.36 kB / 432 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.669, allocations: 23.23 kB / 432 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.669, allocations: 8 kB / 432 MB, free: 5.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.6691, allocations: 120 kB / 432.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6692, allocations: 0 / 432.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.6696, allocations: 63.05 kB / 432.2 MB, free: 5.625 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.001228/0.6709, allocations: 1.102 MB / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.6714, allocations: 169.4 kB / 433.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6714, allocations: 0 / 433.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.6716, allocations: 89.25 kB / 433.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.6721, allocations: 47.09 kB / 433.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.6744, allocations: 0.7502 MB / 434.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.6749, allocations: 0.7639 MB / 435.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.675, allocations: 18.08 kB / 435.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.6752, allocations: 72.72 kB / 435.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6752, allocations: 0 / 435.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.7066, allocations: 4 MB / 439.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.707, allocations: 151.4 kB / 439.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.166, allocations: 0 / 439.3 MB, free: 14.65 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat