Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.319e-05, allocations: 8 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2933, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.4856, allocations: 68.07 MB / 331.9 MB, free: 5.582 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.486, allocations: 75.95 kB / 332 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04725/0.5333, allocations: 4.053 MB / 336 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5334, allocations: 0 / 336 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.5334, allocations: 4 kB / 336 MB, free: 1.438 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.001304/0.5347, allocations: 0.4984 MB / 336.5 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5348, allocations: 8.031 kB / 336.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.39e-05/0.5349, allocations: 66.48 kB / 336.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.535, allocations: 27.7 kB / 336.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.5354, allocations: 232 kB / 336.9 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5354, allocations: 24.52 kB / 336.9 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.5355, allocations: 35.84 kB / 336.9 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.5361, allocations: 201 kB / 337.1 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.5362, allocations: 3.984 kB / 337.1 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.5362, allocations: 12 kB / 337.1 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5362, allocations: 4 kB / 337.1 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.5367, allocations: 142.2 kB / 337.3 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.5387, allocations: 0.7578 MB / 338 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.5394, allocations: 194.8 kB / 338.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.5396, allocations: 103.1 kB / 338.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.5397, allocations: 8.375 kB / 338.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.5397, allocations: 34.52 kB / 338.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.557e-06/0.5398, allocations: 0 / 338.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001909/0.5417, allocations: 0.8292 MB / 339.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.5418, allocations: 55.41 kB / 339.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.542, allocations: 142.3 kB / 339.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.542, allocations: 29.7 kB / 339.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5422, allocations: 206.7 kB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5423, allocations: 102.5 kB / 339.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.5423, allocations: 12 kB / 339.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5425, allocations: 322.8 kB / 340 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.5427, allocations: 60 kB / 340.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.543, allocations: 99.36 kB / 340.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.5433, allocations: 79.91 kB / 340.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5433, allocations: 0 / 340.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006048/0.5439, allocations: 225.5 kB / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.5439, allocations: 7.953 kB / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5439, allocations: 0 / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.544, allocations: 4 kB / 340.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.5446, allocations: 75.91 kB / 340.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.5446, allocations: 3.984 kB / 340.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.5449, allocations: 20.09 kB / 340.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.5449, allocations: 4 kB / 340.6 MB, free: 12.53 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.0001239/0.5451, allocations: 116.9 kB / 340.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.5451, allocations: 15.81 kB / 340.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.771e-05/0.5453, allocations: 34.5 kB / 340.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5453, allocations: 4 kB / 340.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5453, allocations: 11.88 kB / 340.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5453, allocations: 0 / 340.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.5467, allocations: 0.6369 MB / 341.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5467, allocations: 0 / 341.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.5474, allocations: 71.91 kB / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.5474, allocations: 7.984 kB / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5475, allocations: 7.984 kB / 341.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.5475, allocations: 8.062 kB / 341.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5475, allocations: 0 / 341.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.5484, allocations: 420.8 kB / 341.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.5485, allocations: 101 kB / 342 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.5485, allocations: 8 kB / 342 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.5488, allocations: 12 kB / 342 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.5489, allocations: 15.97 kB / 342.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.5489, allocations: 12 kB / 342.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.5491, allocations: 120.4 kB / 342.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5491, allocations: 0 / 342.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000435/0.5495, allocations: 60 kB / 342.2 MB, free: 10.77 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.001266/0.5508, allocations: 1.097 MB / 343.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.5514, allocations: 183.9 kB / 343.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5514, allocations: 0 / 343.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.5517, allocations: 91.88 kB / 343.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.5522, allocations: 45.34 kB / 343.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.5545, allocations: 0.7936 MB / 344.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.555, allocations: 0.7522 MB / 345.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.5552, allocations: 79.41 kB / 345.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5552, allocations: 4 kB / 345.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/3.113, allocations: 3.776 MB / 349.1 MB, free: 3.832 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat