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.893/1.893, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.05e-05, allocations: 12 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.09997, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5345, allocations: 97.7 MB / 397.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.5349, allocations: 88.36 kB / 397.8 MB, free: 18.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4961/1.031, allocations: 110.4 MB / 0.4963 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.288e-06/1.031, allocations: 0 / 0.4963 GB, free: 11.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003911/1.031, allocations: 107.9 kB / 0.4964 GB, free: 11.65 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.0203/1.052, allocations: 4.917 MB / 0.5012 GB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.052, allocations: 12.03 kB / 0.5012 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00497/1.057, allocations: 1.028 MB / 0.5022 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3477/1.405, allocations: 6.9 MB / 0.5089 GB, free: 65.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/1.431, allocations: 6.754 MB / 0.5155 GB, free: 65.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005894/1.432, allocations: 392.2 kB / 0.5159 GB, free: 65.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/1.435, allocations: 0.5092 MB / 0.5164 GB, free: 65.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/1.475, allocations: 12.49 MB / 0.5286 GB, free: 62.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003336/1.475, allocations: 63.38 kB / 0.5286 GB, free: 62.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002273/1.478, allocations: 235.6 kB / 0.5289 GB, free: 62.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/1.48, allocations: 1.048 MB / 0.5299 GB, free: 62.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/1.513, allocations: 10.2 MB / 0.5398 GB, free: 62.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07511/1.588, allocations: 50.12 MB / 0.5888 GB, free: 29.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02126/1.609, allocations: 4.75 MB / 0.5934 GB, free: 27.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/1.613, allocations: 1.884 MB / 0.5953 GB, free: 26.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/1.632, allocations: 7.046 MB / 0.6021 GB, free: 22.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.376e-05/1.632, allocations: 48 kB / 0.6022 GB, free: 22.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 6.672e-06/1.632, allocations: 2.781 kB / 0.6022 GB, free: 22.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.1007/1.732, allocations: 17.1 MB / 0.6189 GB, free: 14.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/1.733, allocations: 205.9 kB / 0.6191 GB, free: 14.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009126/1.742, allocations: 3.875 MB / 0.6229 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000509/1.742, allocations: 57.7 kB / 0.6229 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003162/1.745, allocations: 3.566 MB / 0.6264 GB, free: 7.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.747, allocations: 0.8405 MB / 0.6272 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007999/1.748, allocations: 128 kB / 0.6274 GB, free: 6.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004239/1.748, allocations: 0.5758 MB / 0.6279 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/1.753, allocations: 2.103 MB / 0.63 GB, free: 4.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008689/1.762, allocations: 5.804 MB / 0.6356 GB, free: 12.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008778/1.771, allocations: 3.509 MB / 0.6391 GB, free: 9.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.771, allocations: 36 kB / 0.6391 GB, free: 9.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02742/1.799, allocations: 8.283 MB / 0.6472 GB, free: 2.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.799, allocations: 61 kB / 0.6472 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.799, allocations: 132 kB / 0.6474 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005777/1.805, allocations: 1.034 MB / 0.6484 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009314/1.814, allocations: 1.416 MB / 0.6498 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/1.831, allocations: 6.866 MB / 0.6565 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00751/1.839, allocations: 332 kB / 0.6568 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/1.841, allocations: 392.1 kB / 0.6572 GB, free: 9.66 MB / 426.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.00192/1.843, allocations: 0.5872 MB / 0.6577 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.844, allocations: 402.8 kB / 0.6581 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.857, allocations: 3.611 MB / 0.6616 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/1.857, allocations: 24 kB / 0.6617 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.857, allocations: 4 kB / 0.6617 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.718e-05/1.857, allocations: 15.06 kB / 0.6617 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3321/2.19, allocations: 9.824 MB / 0.6713 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/2.19, allocations: 8.906 kB / 0.6713 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/2.193, allocations: 354.5 kB / 0.6716 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/2.199, allocations: 0.794 MB / 0.6724 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005353/2.199, allocations: 41.45 kB / 0.6724 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/2.213, allocations: 5.59 MB / 0.6779 GB, free: 84.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/2.213, allocations: 5.781 kB / 0.6779 GB, free: 84.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/2.231, allocations: 6.933 MB / 0.6847 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/2.234, allocations: 0.7125 MB / 0.6854 GB, free: 82.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/2.235, allocations: 37.88 kB / 0.6854 GB, free: 82.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/2.239, allocations: 96.16 kB / 0.6855 GB, free: 82.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/2.24, allocations: 148.2 kB / 0.6856 GB, free: 82.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/2.24, allocations: 66.17 kB / 0.6857 GB, free: 82.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007428/2.248, allocations: 2.717 MB / 0.6884 GB, free: 82.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.505e-06/2.248, allocations: 3.469 kB / 0.6884 GB, free: 82.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008708/2.257, allocations: 1.179 MB / 0.6895 GB, free: 82.69 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.0185/2.275, allocations: 8.894 MB / 0.6982 GB, free: 79.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/2.288, allocations: 5.098 MB / 0.7032 GB, free: 79.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/2.288, allocations: 3.938 kB / 0.7032 GB, free: 79.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004194/2.292, allocations: 1.73 MB / 0.7049 GB, free: 79.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/2.297, allocations: 0.5134 MB / 0.7054 GB, free: 79.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/2.333, allocations: 10.66 MB / 0.7158 GB, free: 76.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009246/2.342, allocations: 3.973 MB / 0.7197 GB, free: 75.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0098/2.352, allocations: 1.941 MB / 0.7216 GB, free: 75.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005555/2.358, allocations: 2.316 MB / 0.7238 GB, free: 73.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/2.358, allocations: 0 / 0.7238 GB, free: 73.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/2.561, allocations: 89.72 MB / 0.8114 GB, free: 14.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/2.561, allocations: 190.2 kB / 0.8116 GB, free: 14.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.101/8.662, allocations: 0 / 0.8116 GB, free: 14.13 MB / 426.7 MB