Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.826e-05/4.84e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4481, allocations: 67.78 MB / 331.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/0.4485, allocations: 67.97 kB / 331.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02232/0.4709, allocations: 3.609 MB / 335.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4709, allocations: 0 / 335.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.471, allocations: 12 kB / 335.3 MB, free: 2.121 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001114/0.4721, allocations: 474.2 kB / 335.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.052e-05/0.4722, allocations: 12.03 kB / 335.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.4724, allocations: 50.55 kB / 335.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.4725, allocations: 27.62 kB / 335.9 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.473, allocations: 223.4 kB / 336.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.4731, allocations: 16.44 kB / 336.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4732, allocations: 27.95 kB / 336.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.474, allocations: 197 kB / 336.3 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.474, allocations: 0 / 336.3 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.4741, allocations: 12 kB / 336.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.4741, allocations: 4 kB / 336.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.4747, allocations: 116.8 kB / 336.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.4768, allocations: 0.7054 MB / 337.2 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.4774, allocations: 142.6 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.4777, allocations: 65.55 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.4777, allocations: 0 / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.4778, allocations: 42.55 kB / 337.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.805e-06/0.4778, allocations: 0 / 337.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.002943/0.4808, allocations: 0.8089 MB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4809, allocations: 51.41 kB / 338.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.4812, allocations: 158.6 kB / 338.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.4813, allocations: 29.7 kB / 338.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4815, allocations: 152.1 kB / 338.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.4816, allocations: 86.75 kB / 338.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.4817, allocations: 7.938 kB / 338.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4819, allocations: 334.8 kB / 339 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4822, allocations: 51.98 kB / 339.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.4825, allocations: 88.5 kB / 339.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.4828, allocations: 63.91 kB / 339.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4829, allocations: 15.89 kB / 339.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001021/0.4839, allocations: 230.1 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.484, allocations: 4 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.484, allocations: 4 kB / 339.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.4843, allocations: 32.83 kB / 339.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.4849, allocations: 51.92 kB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4874, allocations: 1.371 MB / 340.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.4878, allocations: 20 kB / 341 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4879, allocations: 11.94 kB / 341 MB, free: 12.01 MB / 298.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.000154/0.488, allocations: 116.9 kB / 341.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.4882, allocations: 19.81 kB / 341.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.4883, allocations: 29.64 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4883, allocations: 0 / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.4883, allocations: 4 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4884, allocations: 0 / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.4905, allocations: 0.6374 MB / 341.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4905, allocations: 0 / 341.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.4911, allocations: 47.97 kB / 341.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/0.4915, allocations: 32.91 kB / 341.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.4915, allocations: 8 kB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.494, allocations: 1.386 MB / 343.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4941, allocations: 0 / 343.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4954, allocations: 403 kB / 343.6 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.4956, allocations: 112.8 kB / 343.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.4957, allocations: 8 kB / 343.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.4961, allocations: 8 kB / 343.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.4962, allocations: 16.2 kB / 343.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.4962, allocations: 8 kB / 343.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002392/0.4965, allocations: 125.2 kB / 343.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4965, allocations: 0 / 343.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009666/0.4975, allocations: 64 kB / 344 MB, free: 8.73 MB / 298.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.001849/0.4994, allocations: 1.086 MB / 345.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.5004, allocations: 265.6 kB / 345.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5005, allocations: 4 kB / 345.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.5011, allocations: 202 kB / 345.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.502, allocations: 39.86 kB / 345.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.5048, allocations: 0.5842 MB / 346.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.5055, allocations: 0.7555 MB / 346.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.5057, allocations: 18.08 kB / 346.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.506, allocations: 67.41 kB / 347 MB, free: 5.598 MB / 298.7 MB Notification: Performance of SimCode: time 1.522e-06/0.506, allocations: 0 / 347 MB, free: 5.598 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.5405, allocations: 4.174 MB / 351.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.5409, allocations: 172.5 kB / 351.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.097, allocations: 3.938 kB / 351.3 MB, free: 1.266 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat