Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.456e-05, allocations: 7.984 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09367, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5385, allocations: 97.7 MB / 397.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5388, allocations: 86.08 kB / 397.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4472/0.986, allocations: 110.4 MB / 0.4962 GB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.9861, allocations: 3.938 kB / 0.4962 GB, free: 10.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003925/0.9865, allocations: 108 kB / 0.4963 GB, free: 9.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.02074/1.007, allocations: 4.917 MB / 0.5011 GB, free: 4.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/1.007, allocations: 11.97 kB / 0.5011 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005069/1.012, allocations: 1.028 MB / 0.5021 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05243/1.065, allocations: 6.912 MB / 0.5089 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02687/1.092, allocations: 6.749 MB / 0.5155 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/1.092, allocations: 394.3 kB / 0.5158 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/1.095, allocations: 0.5153 MB / 0.5164 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3292/1.425, allocations: 12.55 MB / 0.5286 GB, free: 76.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004665/1.425, allocations: 57.05 kB / 0.5287 GB, free: 76.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002253/1.427, allocations: 247.8 kB / 0.5289 GB, free: 76.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/1.43, allocations: 1.045 MB / 0.5299 GB, free: 76.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/1.466, allocations: 10.37 MB / 0.54 GB, free: 76.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07989/1.546, allocations: 50.12 MB / 0.589 GB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/1.567, allocations: 4.762 MB / 0.5936 GB, free: 44.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004056/1.571, allocations: 1.878 MB / 0.5955 GB, free: 44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01789/1.589, allocations: 7.045 MB / 0.6024 GB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.589, allocations: 61.53 kB / 0.6024 GB, free: 40.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 5.6e-06/1.589, allocations: 0 / 0.6024 GB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.1026/1.692, allocations: 17.1 MB / 0.6191 GB, free: 35.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/1.692, allocations: 200.5 kB / 0.6193 GB, free: 35.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00918/1.701, allocations: 3.87 MB / 0.6231 GB, free: 33.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005261/1.702, allocations: 61.61 kB / 0.6231 GB, free: 33.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003247/1.705, allocations: 3.563 MB / 0.6266 GB, free: 31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.707, allocations: 0.8399 MB / 0.6274 GB, free: 30.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007713/1.707, allocations: 135.6 kB / 0.6276 GB, free: 30.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004177/1.708, allocations: 0.5743 MB / 0.6281 GB, free: 29.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00573/1.714, allocations: 2.109 MB / 0.6302 GB, free: 29.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00769/1.721, allocations: 5.84 MB / 0.6359 GB, free: 23.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007649/1.729, allocations: 3.503 MB / 0.6393 GB, free: 21.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/1.729, allocations: 36 kB / 0.6394 GB, free: 21.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02456/1.754, allocations: 8.659 MB / 0.6478 GB, free: 13.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/1.754, allocations: 64.19 kB / 0.6479 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/1.754, allocations: 136 kB / 0.648 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/1.759, allocations: 1.022 MB / 0.649 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008498/1.768, allocations: 1.417 MB / 0.6504 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/1.782, allocations: 6.873 MB / 0.6571 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/1.789, allocations: 333.9 kB / 0.6574 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.79, allocations: 380.7 kB / 0.6578 GB, free: 4.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 764 * 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 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001217/1.791, allocations: 0.5845 MB / 0.6583 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/1.792, allocations: 406.3 kB / 0.6587 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.803, allocations: 3.61 MB / 0.6623 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/1.803, allocations: 25.02 kB / 0.6623 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.803, allocations: 7.938 kB / 0.6623 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/1.803, allocations: 18.67 kB / 0.6623 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.836, allocations: 9.824 MB / 0.6719 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-05/1.836, allocations: 7.953 kB / 0.6719 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/1.84, allocations: 357.5 kB / 0.6723 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005256/1.845, allocations: 0.7935 MB / 0.673 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004727/1.846, allocations: 44 kB / 0.6731 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.859, allocations: 5.579 MB / 0.6785 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/1.859, allocations: 8.875 kB / 0.6785 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.322/2.181, allocations: 6.938 MB / 0.6853 GB, free: 85.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002957/2.185, allocations: 0.7087 MB / 0.686 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/2.186, allocations: 47.84 kB / 0.686 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/2.19, allocations: 100.1 kB / 0.6861 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007539/2.191, allocations: 142.5 kB / 0.6863 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/2.191, allocations: 64.88 kB / 0.6863 GB, free: 85.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008585/2.199, allocations: 2.719 MB / 0.689 GB, free: 85.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.685e-06/2.199, allocations: 0 / 0.689 GB, free: 85.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008768/2.208, allocations: 1.18 MB / 0.6901 GB, free: 85.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 172 * 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 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01908/2.227, allocations: 8.897 MB / 0.6988 GB, free: 82.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01229/2.24, allocations: 5.307 MB / 0.704 GB, free: 82.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.24, allocations: 0 / 0.704 GB, free: 82.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004058/2.244, allocations: 1.764 MB / 0.7057 GB, free: 81.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/2.249, allocations: 0.509 MB / 0.7062 GB, free: 81.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/2.282, allocations: 10.68 MB / 0.7167 GB, free: 79.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007315/2.289, allocations: 3.975 MB / 0.7205 GB, free: 79.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008724/2.298, allocations: 1.936 MB / 0.7224 GB, free: 79.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005098/2.303, allocations: 2.319 MB / 0.7247 GB, free: 79.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.044e-06/2.303, allocations: 0 / 0.7247 GB, free: 79.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2035/2.506, allocations: 90.36 MB / 0.8129 GB, free: 26.26 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/2.507, allocations: 191.3 kB / 0.8131 GB, free: 26.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.89/8.396, allocations: 8 kB / 0.8131 GB, free: 26.02 MB / 426.7 MB