Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.29e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5508, allocations: 77.84 MB / 394.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5511, allocations: 66.47 kB / 394.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.5693, allocations: 4.28 MB / 399.2 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5693, allocations: 4 kB / 399.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.5694, allocations: 4 kB / 399.2 MB, free: 6.168 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.001019/0.5704, allocations: 493.1 kB / 399.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5705, allocations: 8.031 kB / 399.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.5706, allocations: 62.55 kB / 399.8 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.5707, allocations: 35.62 kB / 399.8 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.5711, allocations: 230.4 kB / 400 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.5711, allocations: 21.75 kB / 400 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.5712, allocations: 28.38 kB / 400.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.5718, allocations: 207.2 kB / 400.3 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5718, allocations: 0 / 400.3 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.5719, allocations: 10.69 kB / 400.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5719, allocations: 4 kB / 400.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.5723, allocations: 148.7 kB / 400.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.574, allocations: 0.7588 MB / 401.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.5746, allocations: 192.3 kB / 401.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.5749, allocations: 99 kB / 401.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5749, allocations: 4 kB / 401.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.575, allocations: 37.5 kB / 401.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.046e-06/0.575, allocations: 4 kB / 401.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001747/0.5767, allocations: 0.8266 MB / 402.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.5768, allocations: 55.41 kB / 402.4 MB, free: 3.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.577, allocations: 140 kB / 402.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.577, allocations: 29.58 kB / 402.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5772, allocations: 151.2 kB / 402.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5773, allocations: 100.5 kB / 402.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.5773, allocations: 3.703 kB / 402.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5775, allocations: 333.8 kB / 403.1 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.5777, allocations: 59.06 kB / 403.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.5779, allocations: 100.9 kB / 403.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.5781, allocations: 70.98 kB / 403.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5781, allocations: 0 / 403.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005435/0.5787, allocations: 246.6 kB / 403.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5787, allocations: 11.88 kB / 403.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5787, allocations: 4 kB / 403.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.5788, allocations: 0 / 403.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.5793, allocations: 75.28 kB / 403.7 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5794, allocations: 8.094 kB / 403.7 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.5796, allocations: 15.23 kB / 403.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.5797, allocations: 11.44 kB / 403.7 MB, free: 2.07 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.0001118/0.5798, allocations: 115.5 kB / 403.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.5799, allocations: 23.39 kB / 403.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.5799, allocations: 27.23 kB / 403.9 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.58, allocations: 0 / 403.9 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.58, allocations: 4 kB / 403.9 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.58, allocations: 4 kB / 403.9 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.5812, allocations: 0.6277 MB / 404.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5813, allocations: 0 / 404.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.582, allocations: 71.97 kB / 404.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.582, allocations: 7.984 kB / 404.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.582, allocations: 3.438 kB / 404.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.582, allocations: 7.984 kB / 404.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5821, allocations: 0 / 404.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.5828, allocations: 440.1 kB / 405 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.5829, allocations: 92.92 kB / 405.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.583, allocations: 7.234 kB / 405.1 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.5832, allocations: 11.88 kB / 405.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.5833, allocations: 31.42 kB / 405.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.5834, allocations: 4 kB / 405.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.5835, allocations: 117.5 kB / 405.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5835, allocations: 4 kB / 405.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.584, allocations: 58.56 kB / 405.4 MB, free: 0.5742 MB / 314.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.001123/0.5851, allocations: 1.092 MB / 406.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.5856, allocations: 179.2 kB / 406.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5857, allocations: 0 / 406.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.5859, allocations: 92.97 kB / 406.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.5864, allocations: 30.25 kB / 406.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.5885, allocations: 0.7536 MB / 407.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.5889, allocations: 0.76 MB / 408.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.5891, allocations: 26.05 kB / 408.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5893, allocations: 72.11 kB / 408.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5893, allocations: 0 / 408.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.6215, allocations: 3.995 MB / 412.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003818/0.622, allocations: 154.9 kB / 412.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.125, allocations: 0 / 412.5 MB, free: 9.578 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat