Running command: "" <> buildModelFMU(PlanarMechanics.Examples.PendulumExcited,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_PendulumExcited",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.143/2.143, allocations: 234.8 MB / 247 MB, free: 2.066 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.874e-05, allocations: 7.984 kB / 302.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1338, allocations: 52.37 MB / 354.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5966, allocations: 95.61 MB / 450.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5969, allocations: 79.95 kB / 450.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7437/1.341, allocations: 110.5 MB / 0.5478 GB, free: 96.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.341, allocations: 0 / 0.5478 GB, free: 96.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000212/1.341, allocations: 91.31 kB / 0.5478 GB, free: 96.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2108 * Number of variables: 2108 Notification: Performance of Generate backend data structure: time 0.02368/1.365, allocations: 4.94 MB / 0.5527 GB, free: 94.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.365, allocations: 11.81 kB / 0.5527 GB, free: 94.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005125/1.37, allocations: 1.029 MB / 0.5537 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02972/1.4, allocations: 3.735 MB / 0.5573 GB, free: 94.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009975/1.41, allocations: 2.931 MB / 0.5602 GB, free: 93.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/1.41, allocations: 392.6 kB / 0.5606 GB, free: 93.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/1.414, allocations: 0.5019 MB / 0.5611 GB, free: 93.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03988/1.454, allocations: 14.27 MB / 0.575 GB, free: 88.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/1.454, allocations: 56.75 kB / 0.575 GB, free: 88.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003394/1.457, allocations: 255.2 kB / 0.5753 GB, free: 88.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004075/1.462, allocations: 1.639 MB / 0.5769 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/1.498, allocations: 12.63 MB / 0.5892 GB, free: 83.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09314/1.592, allocations: 57.62 MB / 0.6455 GB, free: 27.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/1.604, allocations: 4.04 MB / 0.6494 GB, free: 22.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/1.607, allocations: 1.399 MB / 0.6508 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/1.622, allocations: 6.414 MB / 0.6571 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.622, allocations: 55.88 kB / 0.6571 GB, free: 14.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 7.283e-06/1.622, allocations: 0 / 0.6571 GB, free: 14.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.0263/1.648, allocations: 8.366 MB / 0.6653 GB, free: 6.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/1.648, allocations: 153.8 kB / 0.6654 GB, free: 5.848 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.659, allocations: 4.486 MB / 0.6698 GB, free: 1.352 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004682/1.66, allocations: 49.7 kB / 0.6699 GB, free: 1.297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004466/1.664, allocations: 4.029 MB / 0.6738 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.666, allocations: 0.8906 MB / 0.6747 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/1.667, allocations: 159.3 kB / 0.6748 GB, free: 12.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007718/1.668, allocations: 0.6368 MB / 0.6754 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007306/1.675, allocations: 2.37 MB / 0.6778 GB, free: 9.207 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3519/2.027, allocations: 7.17 MB / 0.6848 GB, free: 94.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/2.039, allocations: 4.252 MB / 0.6889 GB, free: 94.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/2.039, allocations: 50.44 kB / 0.689 GB, free: 94.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.03452/2.073, allocations: 8.928 MB / 0.6977 GB, free: 93.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/2.074, allocations: 82.5 kB / 0.6977 GB, free: 93.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004902/2.074, allocations: 173.2 kB / 0.6979 GB, free: 93.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/2.076, allocations: 383.2 kB / 0.6983 GB, free: 93.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/2.092, allocations: 1.799 MB / 0.7 GB, free: 93.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/2.099, allocations: 2.81 MB / 0.7028 GB, free: 92.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/2.111, allocations: 418.7 kB / 0.7032 GB, free: 92.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/2.114, allocations: 493.2 kB / 0.7037 GB, free: 92.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 29 (worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],cutForce.world.gravityArrowColor[3],cutForce.world.gravityArrowColor[2],cutForce.world.gravityArrowColor[1],cutForce.world.axisColor_x[3],cutForce.world.axisColor_x[2],cutForce.world.axisColor_x[1],cutForce.world.groundColor[3],cutForce.world.groundColor[2],cutForce.world.groundColor[1],cutForce.world.gravitySphereColor[3],cutForce.world.gravitySphereColor[2],cutForce.world.gravitySphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (969): * Single equations (assignments): 961 * Array equations: 7 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002569/2.116, allocations: 0.6929 MB / 0.7043 GB, free: 92.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01134/2.127, allocations: 415.6 kB / 0.7047 GB, free: 92.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007486/2.135, allocations: 2.44 MB / 0.7071 GB, free: 91.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002241/2.135, allocations: 44.31 kB / 0.7071 GB, free: 91.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/2.135, allocations: 0 / 0.7071 GB, free: 91.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-05/2.135, allocations: 12.17 kB / 0.7072 GB, free: 91.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/2.16, allocations: 8.419 MB / 0.7154 GB, free: 91.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/2.16, allocations: 11.72 kB / 0.7154 GB, free: 91.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/2.163, allocations: 328.2 kB / 0.7157 GB, free: 91.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006257/2.164, allocations: 139.1 kB / 0.7158 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002559/2.164, allocations: 44.5 kB / 0.7159 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003241/2.167, allocations: 2.274 MB / 0.7181 GB, free: 89.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.167, allocations: 3.375 kB / 0.7181 GB, free: 89.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/2.177, allocations: 5.657 MB / 0.7236 GB, free: 86.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/2.179, allocations: 0.4931 MB / 0.7241 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/2.181, allocations: 34.91 kB / 0.7241 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003523/2.184, allocations: 108.9 kB / 0.7242 GB, free: 86.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/2.185, allocations: 130.9 kB / 0.7244 GB, free: 86.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/2.185, allocations: 71.33 kB / 0.7244 GB, free: 86.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008043/2.193, allocations: 3.121 MB / 0.7275 GB, free: 85.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.193, allocations: 0 / 0.7275 GB, free: 85.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009362/2.203, allocations: 1.17 MB / 0.7286 GB, free: 85.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (171): * Single equations (assignments): 163 * Array equations: 7 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/2.214, allocations: 7.375 MB / 0.7358 GB, free: 80.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/2.226, allocations: 5.38 MB / 0.7411 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.227, allocations: 0.75 kB / 0.7411 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00304/2.23, allocations: 1.459 MB / 0.7425 GB, free: 78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/2.234, allocations: 0.5303 MB / 0.743 GB, free: 77.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03925/2.273, allocations: 11.25 MB / 0.754 GB, free: 73.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.283, allocations: 4.245 MB / 0.7582 GB, free: 71.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01215/2.296, allocations: 2.47 MB / 0.7606 GB, free: 71.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006165/2.302, allocations: 2.436 MB / 0.763 GB, free: 68.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.944e-06/2.302, allocations: 4 kB / 0.763 GB, free: 68.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/2.508, allocations: 91.01 MB / 0.8518 GB, free: 2.484 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/2.508, allocations: 168.8 kB / 0.852 GB, free: 2.254 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.051/8.56, allocations: 4.062 kB / 0.852 GB, free: 2.25 MB / 474.7 MB