Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.254e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 50.4 MB / 342.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5716, allocations: 78.55 MB / 421.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5719, allocations: 71.08 kB / 421.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5887, allocations: 3.827 MB / 425.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5888, allocations: 0 / 425.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.5888, allocations: 8 kB / 425.1 MB, free: 12.38 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008168/0.5896, allocations: 468.5 kB / 425.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5897, allocations: 8.031 kB / 425.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.5898, allocations: 59.48 kB / 425.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.5899, allocations: 27.7 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.5902, allocations: 224.2 kB / 425.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5902, allocations: 14.38 kB / 425.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.5903, allocations: 26.66 kB / 425.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.5908, allocations: 196.2 kB / 426.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5908, allocations: 3.984 kB / 426.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.5909, allocations: 18.81 kB / 426.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.5909, allocations: 4 kB / 426.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.5912, allocations: 111.3 kB / 426.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.5926, allocations: 0.7024 MB / 426.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.593, allocations: 136.5 kB / 427.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5932, allocations: 64.61 kB / 427.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.5932, allocations: 4 kB / 427.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.5932, allocations: 30.56 kB / 427.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/0.5933, allocations: 4 kB / 427.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001957/0.5952, allocations: 0.8029 MB / 428 MB, free: 9.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.5953, allocations: 63.56 kB / 428 MB, free: 9.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.5955, allocations: 156.7 kB / 428.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5956, allocations: 33.2 kB / 428.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5957, allocations: 149.8 kB / 428.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.5958, allocations: 80.05 kB / 428.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.5958, allocations: 3.812 kB / 428.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.596, allocations: 333.2 kB / 428.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5961, allocations: 44.88 kB / 428.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.5963, allocations: 94.53 kB / 428.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5965, allocations: 66.5 kB / 429 MB, free: 8.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5965, allocations: 0 / 429 MB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006116/0.5971, allocations: 237.9 kB / 429.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5972, allocations: 8 kB / 429.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5972, allocations: 0 / 429.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.5974, allocations: 31.66 kB / 429.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.5978, allocations: 51.91 kB / 429.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.5995, allocations: 1.373 MB / 430.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.5997, allocations: 7.344 kB / 430.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.5998, allocations: 11.31 kB / 430.7 MB, free: 7.008 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.5999, allocations: 128.4 kB / 430.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.6, allocations: 19.8 kB / 430.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.6, allocations: 22.47 kB / 430.9 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6, allocations: 7.938 kB / 430.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.6001, allocations: 0 / 430.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6001, allocations: 0 / 430.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.6014, allocations: 0.6416 MB / 431.5 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.6014, allocations: 7.953 kB / 431.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.6018, allocations: 43.92 kB / 431.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.602, allocations: 36.78 kB / 431.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.6021, allocations: 10.92 kB / 431.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.6036, allocations: 1.367 MB / 433 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6037, allocations: 4.062 kB / 433 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.6045, allocations: 406 kB / 433.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.6046, allocations: 92.92 kB / 433.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.6046, allocations: 7.562 kB / 433.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.6048, allocations: 11.98 kB / 433.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.6049, allocations: 15.73 kB / 433.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.6049, allocations: 14.81 kB / 433.5 MB, free: 4.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.6051, allocations: 124.8 kB / 433.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6051, allocations: 0 / 433.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004844/0.6056, allocations: 59.62 kB / 433.7 MB, free: 4.051 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.6068, allocations: 1.094 MB / 434.8 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007072/0.6075, allocations: 273.5 kB / 435.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6075, allocations: 0 / 435.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.6079, allocations: 202.1 kB / 435.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.6084, allocations: 35.98 kB / 435.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.6102, allocations: 0.5856 MB / 435.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6106, allocations: 0.7599 MB / 436.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.6107, allocations: 18.06 kB / 436.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6109, allocations: 62.23 kB / 436.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of SimCode: time 7.965e-06/0.6109, allocations: 0 / 436.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.6515, allocations: 4.19 MB / 440.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003265/0.6519, allocations: 173.4 kB / 441.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.204, allocations: 0 / 441.1 MB, free: 12.83 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat