Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.118e-05, allocations: 4 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3005, allocations: 38.78 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4261, allocations: 68.08 MB / 331.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4264, allocations: 71.95 kB / 332 MB, free: 5.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.4446, allocations: 4.05 MB / 336.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4447, allocations: 0 / 336.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.4447, allocations: 12 kB / 336.1 MB, free: 1.488 MB / 282.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.0009908/0.4457, allocations: 0.4913 MB / 336.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4458, allocations: 12.03 kB / 336.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.317e-05/0.4459, allocations: 58.55 kB / 336.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.4459, allocations: 23.72 kB / 336.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.4463, allocations: 231.2 kB / 336.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.4463, allocations: 20.52 kB / 336.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.4464, allocations: 43.78 kB / 336.9 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.447, allocations: 200.9 kB / 337.1 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.447, allocations: 4 kB / 337.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.4471, allocations: 12 kB / 337.2 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4471, allocations: 4 kB / 337.2 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.4475, allocations: 150.2 kB / 337.3 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.4492, allocations: 0.75 MB / 338.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.4499, allocations: 202.8 kB / 338.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.4501, allocations: 95.67 kB / 338.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.4502, allocations: 8.438 kB / 338.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4502, allocations: 42.45 kB / 338.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.417e-06/0.4502, allocations: 0 / 338.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001758/0.452, allocations: 0.837 MB / 339.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4521, allocations: 51.41 kB / 339.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4523, allocations: 146.3 kB / 339.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.4523, allocations: 33.7 kB / 339.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4525, allocations: 140.3 kB / 339.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4526, allocations: 102.5 kB / 339.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.4526, allocations: 4 kB / 339.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4528, allocations: 334.8 kB / 340 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4529, allocations: 60 kB / 340.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4532, allocations: 99.36 kB / 340.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.4534, allocations: 75.98 kB / 340.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4534, allocations: 3.938 kB / 340.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005547/0.454, allocations: 229.4 kB / 340.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.454, allocations: 7.953 kB / 340.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.454, allocations: 0 / 340.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4541, allocations: 4.094 kB / 340.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.4547, allocations: 79.91 kB / 340.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.4547, allocations: 4 kB / 340.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.4549, allocations: 15.98 kB / 340.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.455, allocations: 8 kB / 340.6 MB, free: 12.62 MB / 298.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.0001039/0.4551, allocations: 116.9 kB / 340.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.4552, allocations: 23.72 kB / 340.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.4553, allocations: 34.5 kB / 340.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4553, allocations: 4 kB / 340.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4553, allocations: 0 / 340.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4553, allocations: 3.938 kB / 340.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.4566, allocations: 0.6291 MB / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.4566, allocations: 8.062 kB / 341.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.4573, allocations: 71.84 kB / 341.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.4573, allocations: 4 kB / 341.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.4573, allocations: 4 kB / 341.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.4574, allocations: 7.984 kB / 341.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4574, allocations: 0 / 341.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.4582, allocations: 428.9 kB / 341.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.4583, allocations: 92.92 kB / 342 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.4584, allocations: 8.047 kB / 342 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.4587, allocations: 12 kB / 342 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.4587, allocations: 15.97 kB / 342 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.4588, allocations: 16 kB / 342.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4589, allocations: 124.4 kB / 342.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4589, allocations: 0 / 342.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004356/0.4594, allocations: 60 kB / 342.2 MB, free: 10.86 MB / 298.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.001199/0.4606, allocations: 1.093 MB / 343.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.4611, allocations: 179.9 kB / 343.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4612, allocations: 0 / 343.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.4614, allocations: 91.88 kB / 343.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.4619, allocations: 36.94 kB / 343.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.4641, allocations: 0.7643 MB / 344.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4645, allocations: 0.76 MB / 345.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.4647, allocations: 22.06 kB / 345.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4648, allocations: 71.42 kB / 345.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4649, allocations: 0 / 345.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4906, allocations: 4.011 MB / 349.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.491, allocations: 159.7 kB / 349.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.951, allocations: 0 / 349.4 MB, free: 3.559 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat