Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.522e-05, allocations: 0 / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2735, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.3961, allocations: 67.09 MB / 325.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.3964, allocations: 71.97 kB / 325.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01621/0.4127, allocations: 3.584 MB / 329.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4127, allocations: 0 / 329.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.4128, allocations: 12 kB / 329.1 MB, free: 7.152 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.0008814/0.4137, allocations: 470.1 kB / 329.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.4137, allocations: 8.031 kB / 329.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.4139, allocations: 31.62 kB / 329.6 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.4142, allocations: 227.4 kB / 329.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4143, allocations: 4 kB / 329.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.4143, allocations: 19.95 kB / 329.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/0.4147, allocations: 100.9 kB / 329.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.4151, allocations: 173 kB / 330.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4152, allocations: 3.984 kB / 330.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.4152, allocations: 0 / 330.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4152, allocations: 7.984 kB / 330.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.4168, allocations: 0.6543 MB / 330.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.4171, allocations: 133.3 kB / 330.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.4173, allocations: 56.86 kB / 330.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4173, allocations: 7.938 kB / 330.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4174, allocations: 30.56 kB / 331 MB, free: 5.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 3.016e-06/0.4174, allocations: 0 / 331 MB, free: 5.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001887/0.4193, allocations: 0.7564 MB / 331.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.4194, allocations: 55.41 kB / 331.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.4196, allocations: 141.5 kB / 331.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4197, allocations: 25.7 kB / 332 MB, free: 3.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4198, allocations: 210.8 kB / 332.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.4199, allocations: 82.72 kB / 332.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.4199, allocations: 0 / 332.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4201, allocations: 326.8 kB / 332.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4202, allocations: 44 kB / 332.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.4204, allocations: 89.33 kB / 332.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.4206, allocations: 55.92 kB / 332.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4207, allocations: 4 kB / 332.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006426/0.4213, allocations: 202.4 kB / 332.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.4214, allocations: 11.59 kB / 333 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4214, allocations: 3.938 kB / 333 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.4216, allocations: 36.81 kB / 333 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.4221, allocations: 47.92 kB / 333 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.4239, allocations: 1.328 MB / 334.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.4242, allocations: 12.05 kB / 334.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.4243, allocations: 12 kB / 334.4 MB, free: 1.406 MB / 282.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.0001359/0.4244, allocations: 112.8 kB / 334.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005117/0.4249, allocations: 174.2 kB / 334.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.425, allocations: 15.81 kB / 334.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.4251, allocations: 33.84 kB / 334.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4251, allocations: 4 kB / 334.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4251, allocations: 7.938 kB / 334.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4252, allocations: 0 / 334.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.4265, allocations: 0.5754 MB / 335.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4266, allocations: 4.062 kB / 335.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.427, allocations: 47.97 kB / 335.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.4272, allocations: 28.84 kB / 335.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4273, allocations: 0 / 335.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.4289, allocations: 1.339 MB / 336.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4289, allocations: 0 / 336.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.4297, allocations: 386 kB / 337.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4299, allocations: 104.9 kB / 337.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.43, allocations: 0 / 337.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4302, allocations: 4 kB / 337.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.4303, allocations: 19.97 kB / 337.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.4303, allocations: 4 kB / 337.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.4305, allocations: 123.3 kB / 337.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4305, allocations: 0 / 337.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.431, allocations: 52 kB / 337.4 MB, free: 14.15 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.001287/0.4323, allocations: 1.063 MB / 338.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007474/0.4331, allocations: 257.6 kB / 338.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4332, allocations: 0 / 338.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.4336, allocations: 193.9 kB / 338.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.4342, allocations: 36.89 kB / 338.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.4362, allocations: 0.6005 MB / 339.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4366, allocations: 0.7519 MB / 340.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.4368, allocations: 59.41 kB / 340.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4368, allocations: 8 kB / 340.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.827/3.263, allocations: 4.29 MB / 344.7 MB, free: 6.762 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat