Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.478e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3044, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.4715, allocations: 72.39 MB / 366.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4718, allocations: 67.97 kB / 366.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.4882, allocations: 3.741 MB / 370.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4883, allocations: 0 / 370.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.4883, allocations: 4 kB / 370.4 MB, free: 5.629 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008335/0.4892, allocations: 474.2 kB / 370.9 MB, free: 5.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4892, allocations: 12.03 kB / 370.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.4893, allocations: 27.7 kB / 370.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.4897, allocations: 235.3 kB / 371.2 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4897, allocations: 8 kB / 371.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.4898, allocations: 15.91 kB / 371.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003606/0.4902, allocations: 117.1 kB / 371.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.4906, allocations: 154.4 kB / 371.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.4906, allocations: 3.938 kB / 371.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4907, allocations: 0 / 371.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4907, allocations: 4 kB / 371.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.492, allocations: 0.5719 MB / 372 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.4924, allocations: 155.4 kB / 372.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.4926, allocations: 92.83 kB / 372.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.4927, allocations: 8.031 kB / 372.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4927, allocations: 30.56 kB / 372.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.856e-06/0.4927, allocations: 0 / 372.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002268/0.495, allocations: 0.9054 MB / 373.2 MB, free: 2.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4951, allocations: 55.41 kB / 373.3 MB, free: 2.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.4953, allocations: 142.5 kB / 373.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4953, allocations: 25.7 kB / 373.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4954, allocations: 136.4 kB / 373.6 MB, free: 2.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4955, allocations: 110.3 kB / 373.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.4956, allocations: 4 kB / 373.7 MB, free: 2.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4957, allocations: 338.8 kB / 374 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4959, allocations: 56.67 kB / 374.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.4961, allocations: 90.78 kB / 374.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.4963, allocations: 69.38 kB / 374.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4963, allocations: 0 / 374.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006495/0.497, allocations: 251.5 kB / 374.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.497, allocations: 11.98 kB / 374.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4971, allocations: 0 / 374.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.4973, allocations: 36.84 kB / 374.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.4978, allocations: 59.91 kB / 374.6 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.4997, allocations: 1.514 MB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.4999, allocations: 4 kB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.5, allocations: 12.06 kB / 376.1 MB, free: 15.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.5001, allocations: 112.7 kB / 376.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005986/0.5007, allocations: 222.2 kB / 376.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.5008, allocations: 27.67 kB / 376.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.65e-05/0.5009, allocations: 31.39 kB / 376.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.5009, allocations: 7.938 kB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5009, allocations: 3.938 kB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.501, allocations: 4 kB / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.5024, allocations: 0.6926 MB / 377.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5025, allocations: 0 / 377.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.503, allocations: 63.91 kB / 377.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.5032, allocations: 28.84 kB / 377.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.5032, allocations: 0 / 377.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.5047, allocations: 1.344 MB / 378.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5047, allocations: 0 / 378.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.5056, allocations: 464.6 kB / 379.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.5057, allocations: 96.88 kB / 379.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.5058, allocations: 7.922 kB / 379.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.506, allocations: 8 kB / 379.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.5061, allocations: 27.92 kB / 379.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.5062, allocations: 8 kB / 379.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.5063, allocations: 112.4 kB / 379.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5063, allocations: 0 / 379.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005827/0.5069, allocations: 56 kB / 379.4 MB, free: 11.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * 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: 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.00134/0.5082, allocations: 1.223 MB / 380.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.5091, allocations: 293.7 kB / 380.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5091, allocations: 0 / 380.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.5095, allocations: 221.6 kB / 381.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.5101, allocations: 34.27 kB / 381.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.5119, allocations: 0.6222 MB / 381.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5123, allocations: 0.7642 MB / 382.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.5125, allocations: 22.06 kB / 382.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5127, allocations: 75.41 kB / 382.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5127, allocations: 0 / 382.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/0.5621, allocations: 4.064 MB / 386.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/0.5625, allocations: 139.2 kB / 386.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.077, allocations: 4 kB / 386.8 MB, free: 4.348 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat