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 2.039/2.039, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.935e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4479, allocations: 72.72 MB / 366.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4483, allocations: 67.97 kB / 367 MB, free: 9.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.4653, allocations: 4.003 MB / 371 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4654, allocations: 192 / 371 MB, free: 5.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.4654, allocations: 4 kB / 371 MB, free: 5.031 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.0009669/0.4664, allocations: 0.4905 MB / 371.5 MB, free: 4.496 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4664, allocations: 8.031 kB / 371.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.4665, allocations: 31.62 kB / 371.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4669, allocations: 239.1 kB / 371.8 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4669, allocations: 8 kB / 371.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.467, allocations: 23.98 kB / 371.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003991/0.4674, allocations: 137 kB / 371.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.4678, allocations: 167.8 kB / 372.1 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.4679, allocations: 4 kB / 372.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.4679, allocations: 3.984 kB / 372.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4679, allocations: 4 kB / 372.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.4695, allocations: 0.6987 MB / 372.8 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.4701, allocations: 198.7 kB / 373 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.4704, allocations: 94.8 kB / 373.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4704, allocations: 4 kB / 373.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4704, allocations: 34.5 kB / 373.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.276e-06/0.4704, allocations: 4 kB / 373.1 MB, free: 2.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001623/0.4721, allocations: 0.7689 MB / 373.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4721, allocations: 55.41 kB / 374 MB, free: 1.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4723, allocations: 125.1 kB / 374.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.4723, allocations: 25.7 kB / 374.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4725, allocations: 144.3 kB / 374.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.4726, allocations: 98.5 kB / 374.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.4726, allocations: 0 / 374.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4727, allocations: 331.5 kB / 374.7 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4729, allocations: 60 kB / 374.7 MB, free: 1.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.4731, allocations: 87.42 kB / 374.8 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.4733, allocations: 67.97 kB / 374.9 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4733, allocations: 3.938 kB / 374.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005058/0.4739, allocations: 213.3 kB / 375.1 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4739, allocations: 12.09 kB / 375.1 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4739, allocations: 0 / 375.1 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4739, allocations: 4 kB / 375.1 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.4745, allocations: 75.91 kB / 375.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4745, allocations: 3.984 kB / 375.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.4748, allocations: 8 kB / 375.2 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.4748, allocations: 8 kB / 375.2 MB, free: 0.5312 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.0001051/0.4749, allocations: 112.7 kB / 375.3 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004241/0.4753, allocations: 181.4 kB / 375.5 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.4754, allocations: 27.66 kB / 375.5 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.567e-05/0.4755, allocations: 17.97 kB / 375.5 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4755, allocations: 4 kB / 375.5 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4755, allocations: 3.984 kB / 375.6 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4756, allocations: 0 / 375.6 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.4767, allocations: 0.5669 MB / 376.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4767, allocations: 0 / 376.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.4774, allocations: 71.95 kB / 376.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.4774, allocations: 4 kB / 376.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4774, allocations: 3.938 kB / 376.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.619e-06/0.4775, allocations: 4 kB / 376.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4775, allocations: 4.062 kB / 376.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.4782, allocations: 401.7 kB / 376.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.4783, allocations: 88.92 kB / 376.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.4784, allocations: 4 kB / 376.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.4786, allocations: 15.94 kB / 376.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.4787, allocations: 20.03 kB / 376.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.4788, allocations: 8 kB / 376.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.4789, allocations: 107.2 kB / 376.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4789, allocations: 0 / 376.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.4794, allocations: 52 kB / 376.9 MB, free: 14.73 MB / 330.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.001099/0.4805, allocations: 1.075 MB / 378 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.4809, allocations: 155.9 kB / 378.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.481, allocations: 4.188 kB / 378.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.4812, allocations: 91.86 kB / 378.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.4817, allocations: 32.16 kB / 378.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4838, allocations: 0.7351 MB / 379 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4842, allocations: 0.7636 MB / 379.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.4843, allocations: 18.08 kB / 379.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.4845, allocations: 79.41 kB / 379.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4845, allocations: 0 / 379.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.5303, allocations: 3.529 MB / 383.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.5306, allocations: 141.4 kB / 383.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.123, allocations: 7.875 kB / 383.5 MB, free: 7.965 MB / 330.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