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 1.822/1.822, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.161e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08839, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.4779, allocations: 73.05 MB / 373 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4782, allocations: 69.67 kB / 373.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.494, allocations: 3.771 MB / 376.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.494, allocations: 4 kB / 376.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.494, allocations: 4.281 kB / 376.8 MB, free: 12.39 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.0007587/0.4948, allocations: 472.7 kB / 377.3 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4949, allocations: 10.81 kB / 377.3 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.416e-05/0.495, allocations: 56.58 kB / 377.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.495, allocations: 24.8 kB / 377.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.4954, allocations: 238.6 kB / 377.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4954, allocations: 16.66 kB / 377.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.4955, allocations: 29.86 kB / 377.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.4959, allocations: 178.1 kB / 377.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.496, allocations: 6.312 kB / 377.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.496, allocations: 7.844 kB / 377.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.496, allocations: 6 kB / 377.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.4964, allocations: 125.3 kB / 378 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.4977, allocations: 0.6239 MB / 378.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.4981, allocations: 177.2 kB / 378.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.4984, allocations: 92.14 kB / 378.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.4984, allocations: 4.344 kB / 378.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4985, allocations: 39.25 kB / 378.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.534e-06/0.4985, allocations: 0 / 378.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002302/0.5008, allocations: 0.9932 MB / 379.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.5008, allocations: 54.19 kB / 380 MB, free: 10.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5011, allocations: 158.8 kB / 380.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.5011, allocations: 30.27 kB / 380.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.5012, allocations: 141.1 kB / 380.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.5013, allocations: 111.7 kB / 380.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.5013, allocations: 10.16 kB / 380.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.5014, allocations: 329.6 kB / 380.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.5016, allocations: 65.34 kB / 380.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.5018, allocations: 93.75 kB / 380.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.5021, allocations: 78.27 kB / 381 MB, free: 10.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5021, allocations: 1.203 kB / 381 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006932/0.5028, allocations: 287.8 kB / 381.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5028, allocations: 5.656 kB / 381.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5028, allocations: 2.562 kB / 381.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.5031, allocations: 40.27 kB / 381.3 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.5035, allocations: 59.09 kB / 381.4 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.5052, allocations: 1.566 MB / 382.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.5055, allocations: 18.5 kB / 382.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.5055, allocations: 10.17 kB / 382.9 MB, free: 8.578 MB / 314.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 9.959e-05/0.5056, allocations: 117.8 kB / 383.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.5057, allocations: 19.53 kB / 383.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.5058, allocations: 28.92 kB / 383.1 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5058, allocations: 3.125 kB / 383.1 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5058, allocations: 6.797 kB / 383.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.5058, allocations: 1.469 kB / 383.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5073, allocations: 0.7797 MB / 383.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5074, allocations: 1.219 kB / 383.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.5079, allocations: 53.38 kB / 384 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.5081, allocations: 35.11 kB / 384 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.5081, allocations: 5.906 kB / 384 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.5094, allocations: 1.378 MB / 385.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5094, allocations: 5.25 kB / 385.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.5104, allocations: 0.4921 MB / 385.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.5105, allocations: 97.59 kB / 386 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.5105, allocations: 6.156 kB / 386 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.5108, allocations: 16.12 kB / 386 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.5109, allocations: 25.75 kB / 386 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.5109, allocations: 6.656 kB / 386 MB, free: 6.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.5111, allocations: 132.7 kB / 386.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5111, allocations: 3.938 kB / 386.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000532/0.5116, allocations: 68.16 kB / 386.2 MB, free: 6.324 MB / 314.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.001611/0.5132, allocations: 1.249 MB / 387.5 MB, free: 21.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008517/0.5141, allocations: 321.1 kB / 387.8 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5141, allocations: 1.031 kB / 387.8 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.5146, allocations: 231.2 kB / 388 MB, free: 21.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.5152, allocations: 53.59 kB / 388.1 MB, free: 21.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.5169, allocations: 0.6563 MB / 388.7 MB, free: 20.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.5174, allocations: 0.7633 MB / 389.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.5175, allocations: 20.72 kB / 389.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5177, allocations: 78.39 kB / 389.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.011e-06/0.5177, allocations: 0 / 389.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.5443, allocations: 4.664 MB / 394.2 MB, free: 19.5 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.5447, allocations: 177.5 kB / 394.4 MB, free: 19.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.194, allocations: 0 / 394.4 MB, free: 19.27 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