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 1.961/1.961, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.261e-05, allocations: 0 / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.09945, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5208, allocations: 73.38 MB / 373.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5212, allocations: 73.5 kB / 373.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5404, allocations: 4.047 MB / 377.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5404, allocations: 0 / 377.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.5405, allocations: 4.344 kB / 377.5 MB, free: 11.88 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.001045/0.5415, allocations: 497.7 kB / 377.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.5416, allocations: 9.375 kB / 378 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.5417, allocations: 61.42 kB / 378 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.5418, allocations: 38.08 kB / 378.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.5422, allocations: 232.5 kB / 378.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.5423, allocations: 24.41 kB / 378.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.5423, allocations: 25.06 kB / 378.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.543, allocations: 204.1 kB / 378.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.543, allocations: 3 kB / 378.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.5431, allocations: 12.16 kB / 378.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5431, allocations: 6.531 kB / 378.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5435, allocations: 149.8 kB / 378.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.5454, allocations: 0.7564 MB / 379.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.5462, allocations: 203.1 kB / 379.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.5465, allocations: 101.7 kB / 379.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.5465, allocations: 2.844 kB / 379.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.5466, allocations: 40.02 kB / 379.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.517e-06/0.5466, allocations: 2.859 kB / 379.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001849/0.5484, allocations: 0.8359 MB / 380.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.5485, allocations: 55.34 kB / 380.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.5487, allocations: 138.5 kB / 380.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.5488, allocations: 30.73 kB / 380.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.5489, allocations: 139.6 kB / 381 MB, free: 9.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.549, allocations: 104.8 kB / 381.1 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.549, allocations: 7.594 kB / 381.1 MB, free: 9.832 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.5491, allocations: 335.8 kB / 381.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5493, allocations: 58.06 kB / 381.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.5495, allocations: 96.02 kB / 381.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.5497, allocations: 73.47 kB / 381.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5497, allocations: 0 / 381.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000614/0.5504, allocations: 242.2 kB / 381.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.5504, allocations: 5.469 kB / 381.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5505, allocations: 1.156 kB / 381.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.5505, allocations: 1.969 kB / 381.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.5511, allocations: 78.78 kB / 382 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.5511, allocations: 1.969 kB / 382 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.5514, allocations: 20.42 kB / 382 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.5515, allocations: 8.844 kB / 382 MB, free: 9.41 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.0001161/0.5516, allocations: 120 kB / 382.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.5517, allocations: 18.06 kB / 382.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.5518, allocations: 28.55 kB / 382.2 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5518, allocations: 2.75 kB / 382.2 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.5518, allocations: 3.938 kB / 382.2 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5519, allocations: 5.344 kB / 382.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.5532, allocations: 0.6365 MB / 382.8 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.5532, allocations: 1.344 kB / 382.8 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.554, allocations: 69.08 kB / 382.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.554, allocations: 1.25 kB / 382.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5541, allocations: 8.703 kB / 382.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5541, allocations: 9.125 kB / 382.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5541, allocations: 1.094 kB / 382.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.5549, allocations: 429.2 kB / 383.3 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.555, allocations: 91.94 kB / 383.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.5551, allocations: 10.41 kB / 383.4 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.5554, allocations: 19.08 kB / 383.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.5555, allocations: 17.67 kB / 383.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.5555, allocations: 8.938 kB / 383.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.5557, allocations: 117.3 kB / 383.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5557, allocations: 0 / 383.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.5562, allocations: 60.95 kB / 383.6 MB, free: 8.543 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.001036/0.5572, allocations: 1.098 MB / 384.7 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.5578, allocations: 183.8 kB / 384.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5579, allocations: 0 / 384.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.5581, allocations: 88.78 kB / 385 MB, free: 7.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.5587, allocations: 28.55 kB / 385 MB, free: 7.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.5609, allocations: 0.7767 MB / 385.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.5613, allocations: 0.7536 MB / 386.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.5615, allocations: 23.45 kB / 386.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.5616, allocations: 71.45 kB / 386.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5617, allocations: 0 / 386.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.5938, allocations: 4.009 MB / 390.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.5941, allocations: 160.1 kB / 390.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.279, allocations: 0 / 390.8 MB, free: 5.805 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