Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.014/1.014, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.324e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 25.16 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06541/0.2421, allocations: 34.72 MB / 211.4 MB, free: 14.64 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.2424, allocations: 59.97 kB / 211.4 MB, free: 14.58 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.2576, allocations: 3.427 MB / 214.8 MB, free: 11.14 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2576, allocations: 3.938 kB / 214.9 MB, free: 11.14 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.2577, allocations: 4 kB / 214.9 MB, free: 11.14 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008259/0.2585, allocations: 470.3 kB / 215.3 MB, free: 10.63 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2586, allocations: 8.031 kB / 215.3 MB, free: 10.62 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/0.2587, allocations: 54.55 kB / 215.4 MB, free: 10.56 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.2587, allocations: 23.72 kB / 215.4 MB, free: 10.54 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2591, allocations: 223.3 kB / 215.6 MB, free: 10.28 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2591, allocations: 16.44 kB / 215.6 MB, free: 10.26 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.2592, allocations: 20 kB / 215.7 MB, free: 10.24 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.2597, allocations: 197 kB / 215.8 MB, free: 10.04 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.2598, allocations: 4 kB / 215.8 MB, free: 10.04 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.2598, allocations: 11.95 kB / 215.9 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2598, allocations: 4 kB / 215.9 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.2601, allocations: 104.9 kB / 216 MB, free: 9.918 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2616, allocations: 0.6976 MB / 216.7 MB, free: 9.164 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.262, allocations: 130.5 kB / 216.8 MB, free: 9.027 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.2622, allocations: 64.84 kB / 216.9 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2622, allocations: 0 / 216.9 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.2623, allocations: 38.56 kB / 216.9 MB, free: 8.914 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.2623, allocations: 0 / 216.9 MB, free: 8.914 MB / 186.7 MB Notification: Performance of matching and sorting (n=23): time 0.002002/0.2643, allocations: 0.7924 MB / 217.7 MB, free: 8.035 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2644, allocations: 55.41 kB / 217.7 MB, free: 7.969 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.2646, allocations: 153.8 kB / 217.9 MB, free: 7.809 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2647, allocations: 29.7 kB / 217.9 MB, free: 7.773 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2648, allocations: 202.8 kB / 218.1 MB, free: 7.566 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.2649, allocations: 82.75 kB / 218.2 MB, free: 7.484 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.2649, allocations: 4 kB / 218.2 MB, free: 7.48 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2651, allocations: 326.8 kB / 218.5 MB, free: 7.152 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2653, allocations: 44 kB / 218.6 MB, free: 7.109 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2655, allocations: 93.22 kB / 218.7 MB, free: 7.004 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.2657, allocations: 51.98 kB / 218.7 MB, free: 6.953 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2657, allocations: 4 kB / 218.7 MB, free: 6.949 MB / 186.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006305/0.2663, allocations: 226.1 kB / 218.9 MB, free: 6.719 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2664, allocations: 7.938 kB / 218.9 MB, free: 6.711 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2664, allocations: 4 kB / 218.9 MB, free: 6.707 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.2666, allocations: 32.83 kB / 219 MB, free: 6.672 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.267, allocations: 51.92 kB / 219 MB, free: 6.621 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.2688, allocations: 1.375 MB / 220.4 MB, free: 5.113 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.269, allocations: 8.031 kB / 220.4 MB, free: 5.105 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.269, allocations: 16.06 kB / 220.4 MB, free: 5.09 MB / 186.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 (27): * Single equations (assignments): 26 * 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.0001327/0.2692, allocations: 120.9 kB / 220.5 MB, free: 4.965 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.2693, allocations: 15.81 kB / 220.6 MB, free: 4.949 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.2693, allocations: 29.64 kB / 220.6 MB, free: 4.918 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2694, allocations: 4 kB / 220.6 MB, free: 4.914 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2694, allocations: 0 / 220.6 MB, free: 4.914 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2694, allocations: 0 / 220.6 MB, free: 4.914 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.2707, allocations: 0.6218 MB / 221.2 MB, free: 4.223 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.2707, allocations: 3.984 kB / 221.2 MB, free: 4.219 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.2712, allocations: 47.86 kB / 221.3 MB, free: 4.172 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.2714, allocations: 40.89 kB / 221.3 MB, free: 4.129 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.2714, allocations: 4 kB / 221.3 MB, free: 4.125 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.2731, allocations: 1.378 MB / 222.7 MB, free: 2.613 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2731, allocations: 0 / 222.7 MB, free: 2.613 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.274, allocations: 397.7 kB / 223.1 MB, free: 2.188 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2741, allocations: 104.8 kB / 223.2 MB, free: 2.066 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.2742, allocations: 8 kB / 223.2 MB, free: 2.059 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2744, allocations: 7.953 kB / 223.2 MB, free: 2.051 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.2744, allocations: 19.97 kB / 223.2 MB, free: 2.031 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2745, allocations: 8 kB / 223.2 MB, free: 2.023 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.2746, allocations: 124.3 kB / 223.3 MB, free: 1.902 MB / 186.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2747, allocations: 0 / 223.3 MB, free: 1.902 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005196/0.2752, allocations: 60 kB / 223.4 MB, free: 1.844 MB / 186.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 (20): * Single equations (assignments): 19 * 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.001337/0.2765, allocations: 1.079 MB / 224.5 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.2773, allocations: 253.7 kB / 224.7 MB, free: 476 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2773, allocations: 0 / 224.7 MB, free: 476 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.2778, allocations: 197.9 kB / 224.9 MB, free: 268 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.2783, allocations: 44.53 kB / 225 MB, free: 224 kB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.2801, allocations: 0.5913 MB / 225.6 MB, free: 15.58 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.2805, allocations: 0.7599 MB / 226.3 MB, free: 14.79 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.2807, allocations: 67.41 kB / 226.4 MB, free: 14.73 MB / 202.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2807, allocations: 0 / 226.4 MB, free: 14.73 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.04, allocations: 4.173 MB / 230.6 MB, free: 10.55 MB / 202.7 MB