Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.153/3.153, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.292e-05, allocations: 4.969 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5869/0.7156, allocations: 92.13 MB / 386.4 MB, free: 4.617 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004309/0.7161, allocations: 85.27 kB / 386.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5086/1.225, allocations: 72.65 MB / 459.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.225, allocations: 0 / 459.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002843/1.225, allocations: 68 kB / 459.2 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01767/1.243, allocations: 3.429 MB / 462.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/1.243, allocations: 8.031 kB / 462.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003407/1.246, allocations: 0.5273 MB / 463.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02512/1.272, allocations: 2.257 MB / 465.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02176/1.293, allocations: 3.905 MB / 469.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/1.294, allocations: 151.3 kB / 469.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002409/1.296, allocations: 208 kB / 469.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02041/1.317, allocations: 5.507 MB / 475.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02954/1.346, allocations: 8.45 MB / 483.6 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/1.347, allocations: 55.47 kB / 483.7 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.348, allocations: 28 kB / 483.7 MB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/1.351, allocations: 0.978 MB / 484.7 MB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4459/1.797, allocations: 43.42 MB / 0.5157 GB, free: 63.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007266/1.805, allocations: 2.692 MB / 0.5184 GB, free: 63.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/1.809, allocations: 1.618 MB / 0.5199 GB, free: 63.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.81, allocations: 0.5478 MB / 0.5205 GB, free: 62.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.811, allocations: 50.25 kB / 0.5205 GB, free: 62.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 7.665e-06/1.811, allocations: 0 / 0.5205 GB, free: 62.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.08632/1.897, allocations: 16.15 MB / 0.5363 GB, free: 60.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/1.897, allocations: 151.7 kB / 0.5364 GB, free: 60.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007113/1.904, allocations: 2.589 MB / 0.539 GB, free: 59.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005378/1.905, allocations: 32.03 kB / 0.539 GB, free: 59.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/1.908, allocations: 2.748 MB / 0.5417 GB, free: 58.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.909, allocations: 0.6188 MB / 0.5423 GB, free: 58.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007783/1.91, allocations: 7.25 kB / 0.5423 GB, free: 58.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004755/1.91, allocations: 0.5387 MB / 0.5428 GB, free: 57.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005325/1.916, allocations: 1.803 MB / 0.5446 GB, free: 57.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008693/1.924, allocations: 5.275 MB / 0.5497 GB, free: 52.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009073/1.933, allocations: 3.043 MB / 0.5527 GB, free: 51.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001621/1.934, allocations: 36.78 kB / 0.5527 GB, free: 51.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03173/1.965, allocations: 7.354 MB / 0.5599 GB, free: 49.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/1.966, allocations: 58.31 kB / 0.56 GB, free: 49.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002522/1.966, allocations: 123.1 kB / 0.5601 GB, free: 49.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.976, allocations: 1.292 MB / 0.5614 GB, free: 49.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/1.988, allocations: 1.314 MB / 0.5626 GB, free: 49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/2.007, allocations: 5.82 MB / 0.5683 GB, free: 46.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009123/2.017, allocations: 249.1 kB / 0.5686 GB, free: 46.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/2.018, allocations: 346.2 kB / 0.5689 GB, free: 46.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (696): * Single equations (assignments): 692 * Array equations: 3 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001878/2.02, allocations: 418.8 kB / 0.5693 GB, free: 45.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/2.021, allocations: 285.8 kB / 0.5696 GB, free: 45.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/2.038, allocations: 3.137 MB / 0.5726 GB, free: 44.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.789e-05/2.038, allocations: 15.47 kB / 0.5726 GB, free: 44.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/2.038, allocations: 7.562 kB / 0.5726 GB, free: 44.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-05/2.038, allocations: 7.312 kB / 0.5727 GB, free: 44.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/2.07, allocations: 6.906 MB / 0.5794 GB, free: 39.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/2.07, allocations: 3.938 kB / 0.5794 GB, free: 39.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/2.074, allocations: 254.3 kB / 0.5796 GB, free: 39.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009913/2.084, allocations: 1.101 MB / 0.5807 GB, free: 38.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004646/2.084, allocations: 8.875 kB / 0.5807 GB, free: 38.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/2.102, allocations: 5.46 MB / 0.5861 GB, free: 33.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/2.102, allocations: 3.953 kB / 0.5861 GB, free: 33.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02093/2.123, allocations: 5.536 MB / 0.5915 GB, free: 29.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/2.126, allocations: 0.5393 MB / 0.592 GB, free: 28.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008221/2.127, allocations: 7.953 kB / 0.592 GB, free: 28.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/2.13, allocations: 85.27 kB / 0.5921 GB, free: 28.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/2.131, allocations: 86.55 kB / 0.5922 GB, free: 28.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/2.131, allocations: 44 kB / 0.5922 GB, free: 28.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005075/2.136, allocations: 1.702 MB / 0.5939 GB, free: 27.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.886e-06/2.136, allocations: 0 / 0.5939 GB, free: 27.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008378/2.145, allocations: 0.7706 MB / 0.5946 GB, free: 26.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 3 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02141/2.166, allocations: 6.356 MB / 0.6008 GB, free: 20.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01291/2.179, allocations: 4.414 MB / 0.6051 GB, free: 16.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.179, allocations: 3.938 kB / 0.6051 GB, free: 16.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004565/2.184, allocations: 1.468 MB / 0.6066 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/2.187, allocations: 241.7 kB / 0.6068 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/2.223, allocations: 7.657 MB / 0.6143 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007712/2.231, allocations: 2.895 MB / 0.6171 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01055/2.241, allocations: 1.77 MB / 0.6188 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00471/2.246, allocations: 1.55 MB / 0.6204 GB, free: 3.895 MB / 394.7 MB Notification: Performance of SimCode: time 2.164e-06/2.246, allocations: 0 / 0.6204 GB, free: 3.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6484/2.894, allocations: 62.68 MB / 0.6816 GB, free: 92.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002972/2.895, allocations: 176.8 kB / 0.6817 GB, free: 92.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.21/9.104, allocations: 0 / 0.6817 GB, free: 92.72 MB / 410.7 MB