Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.714e-05, allocations: 4 kB / 269.4 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 47.58 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.5925, allocations: 103.4 MB / 420.4 MB, free: 0.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.5928, allocations: 87.39 kB / 420.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7631/1.356, allocations: 111.2 MB / 0.5193 GB, free: 90.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.356, allocations: 0 / 0.5193 GB, free: 90.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004373/1.357, allocations: 106.8 kB / 0.5194 GB, free: 90.86 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.0219/1.378, allocations: 4.933 MB / 0.5242 GB, free: 88.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.379, allocations: 10.47 kB / 0.5242 GB, free: 88.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004886/1.383, allocations: 1.035 MB / 0.5252 GB, free: 88.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05145/1.435, allocations: 6.912 MB / 0.5319 GB, free: 88.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02512/1.46, allocations: 6.776 MB / 0.5386 GB, free: 87.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/1.461, allocations: 391.8 kB / 0.5389 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/1.464, allocations: 0.5145 MB / 0.5394 GB, free: 87.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/1.503, allocations: 12.51 MB / 0.5517 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003309/1.503, allocations: 56.72 kB / 0.5517 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/1.505, allocations: 247.4 kB / 0.5519 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/1.507, allocations: 1.046 MB / 0.553 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/1.54, allocations: 10.21 MB / 0.5629 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07704/1.617, allocations: 50.24 MB / 0.612 GB, free: 48.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/1.639, allocations: 4.752 MB / 0.6166 GB, free: 45.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/1.642, allocations: 1.877 MB / 0.6185 GB, free: 43.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/1.66, allocations: 7.04 MB / 0.6253 GB, free: 37.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/1.66, allocations: 55.56 kB / 0.6254 GB, free: 37.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 6.573e-06/1.66, allocations: 0 / 0.6254 GB, free: 37.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.09879/1.759, allocations: 17.13 MB / 0.6421 GB, free: 23.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/1.759, allocations: 205.9 kB / 0.6423 GB, free: 23.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00899/1.768, allocations: 3.914 MB / 0.6461 GB, free: 20.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005027/1.768, allocations: 61.53 kB / 0.6462 GB, free: 19.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003081/1.771, allocations: 3.581 MB / 0.6497 GB, free: 16.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.773, allocations: 0.8327 MB / 0.6505 GB, free: 16.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007117/1.773, allocations: 128 kB / 0.6506 GB, free: 15.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004411/1.774, allocations: 0.5789 MB / 0.6512 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005148/1.779, allocations: 2.117 MB / 0.6533 GB, free: 13.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007631/1.787, allocations: 5.834 MB / 0.659 GB, free: 6.094 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008221/1.795, allocations: 3.514 MB / 0.6624 GB, free: 2.824 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/1.795, allocations: 36 kB / 0.6624 GB, free: 2.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02683/1.822, allocations: 8.308 MB / 0.6705 GB, free: 10.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.822, allocations: 66.03 kB / 0.6706 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000223/1.822, allocations: 132.8 kB / 0.6707 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005872/1.828, allocations: 1.038 MB / 0.6717 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009463/1.838, allocations: 1.427 MB / 0.6731 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/1.855, allocations: 6.871 MB / 0.6799 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007538/1.863, allocations: 339.2 kB / 0.6802 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/1.865, allocations: 388 kB / 0.6805 GB, free: 104 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (771): * Single equations (assignments): 767 * 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.3317/2.196, allocations: 0.5844 MB / 0.6811 GB, free: 93.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/2.197, allocations: 404.2 kB / 0.6815 GB, free: 93.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/2.21, allocations: 3.613 MB / 0.685 GB, free: 93.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/2.211, allocations: 31.88 kB / 0.6851 GB, free: 93.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/2.211, allocations: 4.125 kB / 0.6851 GB, free: 93.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/2.211, allocations: 10.94 kB / 0.6851 GB, free: 93.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03621/2.247, allocations: 9.812 MB / 0.6947 GB, free: 92.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.884e-05/2.247, allocations: 5.5 kB / 0.6947 GB, free: 92.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00463/2.252, allocations: 356.5 kB / 0.695 GB, free: 92.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007082/2.259, allocations: 0.7923 MB / 0.6958 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/2.259, allocations: 44.69 kB / 0.6958 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/2.276, allocations: 5.596 MB / 0.7013 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/2.277, allocations: 6.969 kB / 0.7013 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02272/2.299, allocations: 6.955 MB / 0.7081 GB, free: 90 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003847/2.303, allocations: 0.7185 MB / 0.7088 GB, free: 89.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001487/2.305, allocations: 39.84 kB / 0.7088 GB, free: 89.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/2.31, allocations: 98.62 kB / 0.7089 GB, free: 89.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008162/2.31, allocations: 145.3 kB / 0.7091 GB, free: 89.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/2.311, allocations: 64.34 kB / 0.7091 GB, free: 89.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008073/2.319, allocations: 2.744 MB / 0.7118 GB, free: 89.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.474e-06/2.319, allocations: 0 / 0.7118 GB, free: 89.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009101/2.328, allocations: 1.183 MB / 0.713 GB, free: 89.69 MB / 442.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.01827/2.346, allocations: 8.909 MB / 0.7217 GB, free: 85.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/2.358, allocations: 5.121 MB / 0.7267 GB, free: 83.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.358, allocations: 0 / 0.7267 GB, free: 83.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/2.362, allocations: 1.75 MB / 0.7284 GB, free: 83.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004477/2.366, allocations: 0.5094 MB / 0.7289 GB, free: 82.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/2.401, allocations: 10.69 MB / 0.7393 GB, free: 79.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/2.411, allocations: 3.988 MB / 0.7432 GB, free: 77.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01213/2.424, allocations: 1.946 MB / 0.7451 GB, free: 77.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006651/2.43, allocations: 2.306 MB / 0.7473 GB, free: 75.63 MB / 442.7 MB Notification: Performance of SimCode: time 2.154e-06/2.43, allocations: 3.781 kB / 0.7473 GB, free: 75.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/2.637, allocations: 90.28 MB / 0.8355 GB, free: 5.797 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/2.637, allocations: 186.1 kB / 0.8357 GB, free: 5.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.007/8.644, allocations: 1.969 kB / 0.8357 GB, free: 5.57 MB / 442.7 MB