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.847/1.847, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.385e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2673, allocations: 38.76 MB / 263.9 MB, free: 9.73 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.3948, allocations: 68.09 MB / 332 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.3952, allocations: 75.95 kB / 332 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02284/0.418, allocations: 4.054 MB / 336.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4181, allocations: 192 / 336.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.4182, allocations: 4 kB / 336.1 MB, free: 1.395 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.001255/0.4194, allocations: 0.4982 MB / 336.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.4195, allocations: 12.03 kB / 336.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.4197, allocations: 62.55 kB / 336.7 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.4198, allocations: 23.72 kB / 336.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.4202, allocations: 238.9 kB / 336.9 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.4203, allocations: 24.5 kB / 336.9 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.4204, allocations: 31.91 kB / 337 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.4212, allocations: 195.8 kB / 337.2 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.4213, allocations: 4 kB / 337.2 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.4214, allocations: 15.98 kB / 337.2 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4214, allocations: 8 kB / 337.2 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.422, allocations: 141.1 kB / 337.3 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.4244, allocations: 0.75 MB / 338.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.4252, allocations: 195.5 kB / 338.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.4256, allocations: 104.8 kB / 338.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.4257, allocations: 4 kB / 338.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4257, allocations: 46.89 kB / 338.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.908e-06/0.4257, allocations: 0 / 338.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.002357/0.4281, allocations: 0.8177 MB / 339.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.4282, allocations: 59.39 kB / 339.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.4284, allocations: 146.3 kB / 339.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.4285, allocations: 29.7 kB / 339.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4286, allocations: 140.3 kB / 339.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.4288, allocations: 102.5 kB / 339.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4288, allocations: 12 kB / 339.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.429, allocations: 330.8 kB / 340 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.4293, allocations: 56 kB / 340.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.4296, allocations: 99.42 kB / 340.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.4299, allocations: 79.91 kB / 340.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4299, allocations: 3.938 kB / 340.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007556/0.4307, allocations: 229.3 kB / 340.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4308, allocations: 11.95 kB / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4308, allocations: 0 / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4308, allocations: 8.094 kB / 340.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/0.4316, allocations: 75.89 kB / 340.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4316, allocations: 0 / 340.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.432, allocations: 16 kB / 340.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.4321, allocations: 8 kB / 340.6 MB, free: 12.54 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.0001462/0.4322, allocations: 120.9 kB / 340.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.4323, allocations: 19.81 kB / 340.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.4325, allocations: 30.52 kB / 340.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4325, allocations: 4 kB / 340.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4325, allocations: 0 / 340.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4325, allocations: 3.984 kB / 340.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4343, allocations: 0.625 MB / 341.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4343, allocations: 4.062 kB / 341.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/0.4352, allocations: 79.89 kB / 341.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.4353, allocations: 0 / 341.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.4353, allocations: 8 kB / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.4353, allocations: 0 / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.4354, allocations: 4 kB / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4365, allocations: 428.8 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4366, allocations: 92.91 kB / 342 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4367, allocations: 8.188 kB / 342 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.4371, allocations: 19.98 kB / 342 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.4372, allocations: 15.98 kB / 342.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.4372, allocations: 12 kB / 342.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.4374, allocations: 120.4 kB / 342.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.4374, allocations: 4 kB / 342.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007304/0.4382, allocations: 56 kB / 342.2 MB, free: 10.78 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.001634/0.4398, allocations: 1.097 MB / 343.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006849/0.4406, allocations: 175.9 kB / 343.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4406, allocations: 0 / 343.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.4409, allocations: 91.88 kB / 343.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.4416, allocations: 53.31 kB / 343.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.4445, allocations: 0.7519 MB / 344.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.445, allocations: 0.76 MB / 345.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.4452, allocations: 22.06 kB / 345.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.4454, allocations: 71.42 kB / 345.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4454, allocations: 0 / 345.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.4837, allocations: 3.994 MB / 349.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.4841, allocations: 154.4 kB / 349.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/2.928, allocations: 4 kB / 349.4 MB, free: 3.492 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