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.791/1.791, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.41e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 38.78 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.3914, allocations: 68.09 MB / 331.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.3917, allocations: 67.97 kB / 332 MB, free: 5.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.41, allocations: 4.061 MB / 336.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4101, allocations: 3.938 kB / 336.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.4101, allocations: 8 kB / 336.1 MB, free: 1.418 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.00109/0.4112, allocations: 498.3 kB / 336.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.4113, allocations: 16.03 kB / 336.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.4114, allocations: 62.53 kB / 336.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.4115, allocations: 23.72 kB / 336.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4119, allocations: 235.2 kB / 336.9 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.4119, allocations: 20.52 kB / 336.9 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.412, allocations: 31.91 kB / 336.9 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.4126, allocations: 199.8 kB / 337.1 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4126, allocations: 4 kB / 337.1 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4127, allocations: 8 kB / 337.2 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4127, allocations: 8 kB / 337.2 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.4131, allocations: 149.1 kB / 337.3 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.415, allocations: 0.75 MB / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.4157, allocations: 193.9 kB / 338.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.416, allocations: 100.8 kB / 338.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.416, allocations: 3.938 kB / 338.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4161, allocations: 46.95 kB / 338.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.206e-06/0.4161, allocations: 0 / 338.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001923/0.418, allocations: 0.8255 MB / 339.2 MB, free: 14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4181, allocations: 55.41 kB / 339.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.4183, allocations: 142.3 kB / 339.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4184, allocations: 29.7 kB / 339.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.4185, allocations: 210.7 kB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4187, allocations: 106.5 kB / 339.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.4187, allocations: 4 kB / 339.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4189, allocations: 322.8 kB / 340.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.4191, allocations: 60 kB / 340.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.4193, allocations: 91.42 kB / 340.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.4196, allocations: 91.84 kB / 340.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4196, allocations: 0 / 340.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005679/0.4202, allocations: 217.5 kB / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4202, allocations: 7.953 kB / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4202, allocations: 0 / 340.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4203, allocations: 4 kB / 340.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.4209, allocations: 87.92 kB / 340.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.4209, allocations: 4 kB / 340.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4212, allocations: 16 kB / 340.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.4212, allocations: 4 kB / 340.6 MB, free: 12.52 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.0001196/0.4213, allocations: 116.9 kB / 340.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.4214, allocations: 23.8 kB / 340.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.732e-05/0.4215, allocations: 26.52 kB / 340.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4215, allocations: 8 kB / 340.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.4215, allocations: 0 / 340.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4216, allocations: 0 / 340.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.4229, allocations: 0.625 MB / 341.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.423, allocations: 0 / 341.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006835/0.4237, allocations: 79.97 kB / 341.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.4237, allocations: 4 kB / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4237, allocations: 7.984 kB / 341.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.4238, allocations: 4 kB / 341.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4238, allocations: 0 / 341.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.4246, allocations: 424.8 kB / 341.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.4247, allocations: 96.91 kB / 342 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.4248, allocations: 4.062 kB / 342 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4251, allocations: 12 kB / 342.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.4252, allocations: 19.97 kB / 342.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.4252, allocations: 8 kB / 342.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.4253, allocations: 128.4 kB / 342.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4254, allocations: 0 / 342.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005078/0.4259, allocations: 56 kB / 342.3 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.001307/0.4272, allocations: 1.101 MB / 343.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.4278, allocations: 175.9 kB / 343.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.4278, allocations: 4 kB / 343.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.428, allocations: 83.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.000531/0.4286, allocations: 48.11 kB / 343.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.4309, allocations: 0.7934 MB / 344.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4314, allocations: 0.7561 MB / 345.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4316, allocations: 75.41 kB / 345.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4316, allocations: 0 / 345.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.061, allocations: 3.77 MB / 349.1 MB, free: 3.855 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