Running command: "" <> buildModelFMU(PlanarMechanics.Examples.DoublePendulum,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.215/2.215, allocations: 234.8 MB / 247 MB, free: 1.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.615e-05, allocations: 9.234 kB / 302.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 52.37 MB / 354.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5282/0.6411, allocations: 85.95 MB / 440.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6415, allocations: 71.97 kB / 440.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2666/0.9082, allocations: 63.31 MB / 0.4922 GB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9082, allocations: 0 / 0.4922 GB, free: 11.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.9084, allocations: 56 kB / 0.4922 GB, free: 11.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.01953/0.9279, allocations: 3.262 MB / 0.4954 GB, free: 7.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.928, allocations: 8.031 kB / 0.4954 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003092/0.9311, allocations: 0.5861 MB / 0.496 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.9475, allocations: 1.931 MB / 0.4979 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.9537, allocations: 1.707 MB / 0.4996 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.9541, allocations: 221.8 kB / 0.4998 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.9562, allocations: 299.8 kB / 0.5001 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02652/0.9827, allocations: 7.744 MB / 0.5076 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/0.983, allocations: 23.78 kB / 0.5076 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/0.9849, allocations: 135.8 kB / 0.5078 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.9876, allocations: 0.9194 MB / 0.5087 GB, free: 9.742 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/1.012, allocations: 7.141 MB / 0.5156 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3731/1.385, allocations: 25.6 MB / 0.5407 GB, free: 93.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/1.396, allocations: 2.564 MB / 0.5432 GB, free: 92.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/1.399, allocations: 0.8781 MB / 0.544 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/1.41, allocations: 5.107 MB / 0.549 GB, free: 89.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.41, allocations: 49.89 kB / 0.549 GB, free: 89.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 5.941e-06/1.41, allocations: 0 / 0.549 GB, free: 89.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=176): time 0.02069/1.431, allocations: 4.728 MB / 0.5537 GB, free: 89.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.431, allocations: 67.25 kB / 0.5537 GB, free: 89.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004907/1.436, allocations: 2.311 MB / 0.556 GB, free: 88.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003207/1.436, allocations: 49.17 kB / 0.556 GB, free: 88.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/1.438, allocations: 2.093 MB / 0.5581 GB, free: 87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008523/1.439, allocations: 0.6428 MB / 0.5587 GB, free: 86.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/1.439, allocations: 81.84 kB / 0.5588 GB, free: 86.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/1.44, allocations: 489.2 kB / 0.5593 GB, free: 86.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/1.443, allocations: 1.307 MB / 0.5605 GB, free: 85.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.447, allocations: 3.512 MB / 0.564 GB, free: 82.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/1.452, allocations: 2.204 MB / 0.5661 GB, free: 81.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.589e-05/1.452, allocations: 25.62 kB / 0.5661 GB, free: 81.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.01352/1.466, allocations: 4.868 MB / 0.5709 GB, free: 80 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/1.466, allocations: 37.78 kB / 0.5709 GB, free: 80 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.466, allocations: 84.69 kB / 0.571 GB, free: 80 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/1.468, allocations: 369.2 kB / 0.5714 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005699/1.473, allocations: 0.9125 MB / 0.5722 GB, free: 79.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006945/1.48, allocations: 3.814 MB / 0.576 GB, free: 77.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/1.485, allocations: 208.2 kB / 0.5762 GB, free: 77.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008232/1.486, allocations: 241.5 kB / 0.5764 GB, free: 77.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (498): * Single equations (assignments): 493 * 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 {(2,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008547/1.487, allocations: 402.5 kB / 0.5768 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005444/1.487, allocations: 229.1 kB / 0.577 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/1.493, allocations: 2.277 MB / 0.5792 GB, free: 76.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001782/1.493, allocations: 29.61 kB / 0.5793 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.493, allocations: 3.469 kB / 0.5793 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.493, allocations: 11.08 kB / 0.5793 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.511, allocations: 6.366 MB / 0.5855 GB, free: 73.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/1.511, allocations: 9.906 kB / 0.5855 GB, free: 73.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.513, allocations: 239.3 kB / 0.5857 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/1.514, allocations: 258 kB / 0.586 GB, free: 73.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000304/1.515, allocations: 36.8 kB / 0.586 GB, free: 73.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005395/1.52, allocations: 3.136 MB / 0.5891 GB, free: 71.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.52, allocations: 7.734 kB / 0.5891 GB, free: 71.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008066/1.528, allocations: 3.765 MB / 0.5928 GB, free: 69.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.529, allocations: 319.1 kB / 0.5931 GB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000894/1.53, allocations: 31.41 kB / 0.5931 GB, free: 69.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.532, allocations: 83.55 kB / 0.5932 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/1.533, allocations: 101.1 kB / 0.5933 GB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.533, allocations: 53.48 kB / 0.5933 GB, free: 69.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003752/1.537, allocations: 1.632 MB / 0.5949 GB, free: 68.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.537, allocations: 0 / 0.5949 GB, free: 68.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005072/1.542, allocations: 0.7327 MB / 0.5956 GB, free: 68.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 126 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008342/1.55, allocations: 5.365 MB / 0.6009 GB, free: 64.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007423/1.558, allocations: 3.171 MB / 0.604 GB, free: 61.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.558, allocations: 4.062 kB / 0.604 GB, free: 61.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002441/1.56, allocations: 1.099 MB / 0.605 GB, free: 60.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.563, allocations: 350.3 kB / 0.6054 GB, free: 59.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.584, allocations: 6.511 MB / 0.6117 GB, free: 54.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004814/1.588, allocations: 2.684 MB / 0.6143 GB, free: 52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005678/1.594, allocations: 1.273 MB / 0.6156 GB, free: 51.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003118/1.597, allocations: 1.348 MB / 0.6169 GB, free: 49.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/1.597, allocations: 0 / 0.6169 GB, free: 49.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/1.839, allocations: 54.38 MB / 0.67 GB, free: 14.27 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/1.84, allocations: 163.9 kB / 0.6702 GB, free: 14.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.246/6.086, allocations: 0 / 0.6702 GB, free: 14.04 MB / 458.7 MB