Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.201e-05, allocations: 5.406 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.5866, allocations: 78.89 MB / 422 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.587, allocations: 73.91 kB / 422.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.6071, allocations: 4.382 MB / 426.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.35e-06/0.6072, allocations: 3.984 kB / 426.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.6072, allocations: 4 kB / 426.5 MB, free: 11.57 MB / 346.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.0009802/0.6082, allocations: 492.1 kB / 427 MB, free: 11.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.6082, allocations: 8.031 kB / 427 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.908e-05/0.6083, allocations: 67.84 kB / 427.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.6084, allocations: 31.62 kB / 427.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.6088, allocations: 228.4 kB / 427.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.6088, allocations: 19.88 kB / 427.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.6089, allocations: 30.19 kB / 427.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.6095, allocations: 203.1 kB / 427.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.6095, allocations: 4 kB / 427.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.6096, allocations: 10.75 kB / 427.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.6096, allocations: 8 kB / 427.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.61, allocations: 143.3 kB / 427.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.6117, allocations: 0.7591 MB / 428.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.6123, allocations: 200.5 kB / 428.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.6125, allocations: 94.48 kB / 428.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.6125, allocations: 4 kB / 428.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.6126, allocations: 37.69 kB / 428.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.507e-06/0.6126, allocations: 0 / 428.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001757/0.6144, allocations: 0.8266 MB / 429.6 MB, free: 8.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.6144, allocations: 55.34 kB / 429.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.6146, allocations: 144.6 kB / 429.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.6147, allocations: 33.39 kB / 429.9 MB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.6148, allocations: 142.2 kB / 430 MB, free: 8.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.6149, allocations: 101.2 kB / 430.1 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.6149, allocations: 7.938 kB / 430.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.615, allocations: 333.9 kB / 430.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.6152, allocations: 57.94 kB / 430.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.6154, allocations: 99.19 kB / 430.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.6157, allocations: 80.47 kB / 430.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6157, allocations: 0 / 430.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005334/0.6162, allocations: 225.6 kB / 430.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6163, allocations: 8 kB / 430.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6163, allocations: 0 / 430.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.6163, allocations: 8.094 kB / 430.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.6169, allocations: 79.2 kB / 431 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.6169, allocations: 7.938 kB / 431 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.6172, allocations: 15.23 kB / 431 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.6172, allocations: 11.31 kB / 431 MB, free: 7.488 MB / 346.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.0001115/0.6174, allocations: 116.4 kB / 431.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.6174, allocations: 19.81 kB / 431.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.909e-05/0.6175, allocations: 30.86 kB / 431.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6176, allocations: 7.984 kB / 431.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6176, allocations: 0 / 431.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6176, allocations: 3.953 kB / 431.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6189, allocations: 0.6325 MB / 431.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6189, allocations: 0 / 431.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.6196, allocations: 78.7 kB / 431.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.6196, allocations: 3.953 kB / 431.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.6197, allocations: 6.938 kB / 431.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.6197, allocations: 3.938 kB / 431.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6197, allocations: 4 kB / 431.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.6205, allocations: 427.6 kB / 432.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.6206, allocations: 88.92 kB / 432.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.6207, allocations: 6.812 kB / 432.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.6209, allocations: 21.42 kB / 432.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.621, allocations: 26.78 kB / 432.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.6211, allocations: 4 kB / 432.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.6212, allocations: 120.5 kB / 432.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6213, allocations: 3.938 kB / 432.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.6217, allocations: 59.38 kB / 432.7 MB, free: 5.988 MB / 346.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.001152/0.6229, allocations: 1.094 MB / 433.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.6234, allocations: 169.9 kB / 433.9 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6234, allocations: 0 / 433.9 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.6236, allocations: 93.36 kB / 434 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.6241, allocations: 35.95 kB / 434.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.6262, allocations: 0.7546 MB / 434.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.6266, allocations: 0.76 MB / 435.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.6268, allocations: 22.06 kB / 435.6 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.627, allocations: 75.03 kB / 435.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.627, allocations: 0 / 435.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.6678, allocations: 3.993 MB / 439.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/0.6683, allocations: 159.5 kB / 439.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.239, allocations: 3.938 kB / 439.8 MB, free: 15.01 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat