Running command: "" <> buildModelFMU(PlanarMechanics.Examples.Pendulum,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.054/2.054, allocations: 234.8 MB / 247 MB, free: 2.062 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.834e-05, allocations: 1.25 kB / 302.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 52.38 MB / 354.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6346, allocations: 85.87 MB / 440.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/0.6351, allocations: 67.97 kB / 440.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.259/0.8941, allocations: 54.51 MB / 495.1 MB, free: 4.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.8941, allocations: 0 / 495.1 MB, free: 4.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.8943, allocations: 44 kB / 495.2 MB, free: 4.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.01254/0.9068, allocations: 2.62 MB / 497.8 MB, free: 1.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.9069, allocations: 12.59 kB / 497.8 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002443/0.9094, allocations: 0.5117 MB / 498.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.9251, allocations: 1.876 MB / 0.4885 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.9307, allocations: 1.521 MB / 0.4899 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.9311, allocations: 200.9 kB / 0.4901 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.9329, allocations: 251.8 kB / 0.4904 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.954, allocations: 6.709 MB / 0.4969 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.9541, allocations: 15.88 kB / 0.4969 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007476/0.9549, allocations: 115.9 kB / 0.4971 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002029/0.9569, allocations: 0.786 MB / 0.4978 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.9773, allocations: 6.317 MB / 0.504 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4518/1.429, allocations: 21.16 MB / 0.5247 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007188/1.436, allocations: 1.965 MB / 0.5266 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/1.438, allocations: 0.648 MB / 0.5272 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00886/1.447, allocations: 3.29 MB / 0.5304 GB, free: 98.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.447, allocations: 40.41 kB / 0.5305 GB, free: 98.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 6.101e-06/1.447, allocations: 3.609 kB / 0.5305 GB, free: 98.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.01797/1.465, allocations: 4.9 MB / 0.5352 GB, free: 97.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/1.465, allocations: 63.88 kB / 0.5353 GB, free: 97.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/1.471, allocations: 2.012 MB / 0.5373 GB, free: 97.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/1.471, allocations: 43.77 kB / 0.5373 GB, free: 97.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/1.473, allocations: 1.827 MB / 0.5391 GB, free: 96.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000719/1.474, allocations: 456.4 kB / 0.5395 GB, free: 96.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/1.474, allocations: 65.2 kB / 0.5396 GB, free: 96.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002903/1.474, allocations: 448.4 kB / 0.54 GB, free: 95.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/1.477, allocations: 1.043 MB / 0.541 GB, free: 95.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/1.482, allocations: 2.875 MB / 0.5439 GB, free: 93.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.487, allocations: 1.779 MB / 0.5456 GB, free: 93.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.487, allocations: 18.91 kB / 0.5456 GB, free: 93.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01138/1.498, allocations: 3.845 MB / 0.5494 GB, free: 93.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/1.498, allocations: 33.78 kB / 0.5494 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/1.498, allocations: 65.19 kB / 0.5495 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008749/1.499, allocations: 215.7 kB / 0.5497 GB, free: 93.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004727/1.504, allocations: 0.7279 MB / 0.5504 GB, free: 93.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/1.508, allocations: 2.459 MB / 0.5528 GB, free: 91.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.513, allocations: 158.4 kB / 0.5529 GB, free: 91.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000969/1.514, allocations: 207.4 kB / 0.5531 GB, free: 91.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (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 (395): * Single equations (assignments): 390 * Array equations: 4 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001074/1.516, allocations: 338.6 kB / 0.5534 GB, free: 91.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007383/1.516, allocations: 182.7 kB / 0.5536 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005425/1.522, allocations: 1.555 MB / 0.5551 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002155/1.522, allocations: 21.98 kB / 0.5552 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.522, allocations: 4.844 kB / 0.5552 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.522, allocations: 3.516 kB / 0.5552 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/1.54, allocations: 4.814 MB / 0.5599 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.54, allocations: 3.531 kB / 0.5599 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.541, allocations: 158.2 kB / 0.56 GB, free: 89.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/1.542, allocations: 121.5 kB / 0.5601 GB, free: 89.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.542, allocations: 24.23 kB / 0.5602 GB, free: 89.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/1.546, allocations: 1.987 MB / 0.5621 GB, free: 87.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/1.546, allocations: 13 kB / 0.5621 GB, free: 87.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006797/1.553, allocations: 2.636 MB / 0.5647 GB, free: 86.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.554, allocations: 279.7 kB / 0.565 GB, free: 86.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/1.555, allocations: 23.28 kB / 0.565 GB, free: 86.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.556, allocations: 57.64 kB / 0.565 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/1.557, allocations: 64.88 kB / 0.5651 GB, free: 86.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.557, allocations: 37.33 kB / 0.5651 GB, free: 86.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004247/1.561, allocations: 1.43 MB / 0.5665 GB, free: 85.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.561, allocations: 0 / 0.5665 GB, free: 85.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005626/1.567, allocations: 0.5776 MB / 0.5671 GB, free: 85.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (87): * Single equations (assignments): 82 * Array equations: 4 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007331/1.574, allocations: 3.991 MB / 0.571 GB, free: 82.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007292/1.582, allocations: 2.435 MB / 0.5734 GB, free: 82.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.582, allocations: 0 / 0.5734 GB, free: 82.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/1.584, allocations: 0.7675 MB / 0.5741 GB, free: 81.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/1.587, allocations: 314.5 kB / 0.5744 GB, free: 81.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.608, allocations: 5.379 MB / 0.5797 GB, free: 79.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007843/1.616, allocations: 2.413 MB / 0.582 GB, free: 78.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008155/1.624, allocations: 1.045 MB / 0.583 GB, free: 78.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/1.627, allocations: 1.1 MB / 0.5841 GB, free: 77.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/1.627, allocations: 0 / 0.5841 GB, free: 77.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/1.756, allocations: 44.75 MB / 0.6278 GB, free: 40.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.756, allocations: 156.3 kB / 0.628 GB, free: 40.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.468, allocations: 0 / 0.628 GB, free: 40.76 MB / 442.7 MB