Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.54e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 50.41 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.498/0.6087, allocations: 105.3 MB / 448 MB, free: 5.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.609, allocations: 88.95 kB / 448 MB, free: 5.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7914/1.4, allocations: 112.7 MB / 0.5476 GB, free: 99.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.401, allocations: 0 / 0.5476 GB, free: 99.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004765/1.401, allocations: 106.3 kB / 0.5477 GB, free: 99.72 MB / 442.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.02516/1.426, allocations: 4.918 MB / 0.5525 GB, free: 97.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.426, allocations: 10.75 kB / 0.5525 GB, free: 97.69 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005913/1.432, allocations: 1.043 MB / 0.5535 GB, free: 97.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05137/1.484, allocations: 6.902 MB / 0.5603 GB, free: 97.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02353/1.507, allocations: 6.459 MB / 0.5666 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/1.508, allocations: 389.6 kB / 0.567 GB, free: 96.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002828/1.511, allocations: 0.5129 MB / 0.5675 GB, free: 96.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04027/1.551, allocations: 12.52 MB / 0.5797 GB, free: 92.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003982/1.551, allocations: 58.98 kB / 0.5797 GB, free: 92.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002433/1.554, allocations: 248.9 kB / 0.58 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002259/1.556, allocations: 1.047 MB / 0.581 GB, free: 92.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03354/1.59, allocations: 10.21 MB / 0.591 GB, free: 89.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07592/1.666, allocations: 50.17 MB / 0.64 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02128/1.687, allocations: 4.75 MB / 0.6446 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003894/1.691, allocations: 1.878 MB / 0.6464 GB, free: 39.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/1.708, allocations: 7.027 MB / 0.6533 GB, free: 32.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/1.709, allocations: 55.5 kB / 0.6534 GB, free: 32.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 6.402e-06/1.709, allocations: 0 / 0.6534 GB, free: 32.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.1032/1.812, allocations: 17.01 MB / 0.67 GB, free: 14.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/1.812, allocations: 205.9 kB / 0.6702 GB, free: 14.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009359/1.821, allocations: 3.88 MB / 0.674 GB, free: 10.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005418/1.822, allocations: 57.7 kB / 0.674 GB, free: 10.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/1.825, allocations: 3.582 MB / 0.6775 GB, free: 7.195 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.827, allocations: 0.8352 MB / 0.6783 GB, free: 6.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007908/1.827, allocations: 128 kB / 0.6785 GB, free: 6.242 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004627/1.828, allocations: 0.5747 MB / 0.679 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.833, allocations: 2.117 MB / 0.6811 GB, free: 3.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3218/2.155, allocations: 5.813 MB / 0.6868 GB, free: 86.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009381/2.165, allocations: 3.519 MB / 0.6902 GB, free: 86.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002591/2.165, allocations: 37.78 kB / 0.6902 GB, free: 86.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02925/2.194, allocations: 8.319 MB / 0.6984 GB, free: 85.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/2.194, allocations: 65.14 kB / 0.6984 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003038/2.195, allocations: 131.9 kB / 0.6985 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00614/2.201, allocations: 1.027 MB / 0.6995 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009349/2.21, allocations: 1.425 MB / 0.7009 GB, free: 85.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/2.226, allocations: 6.887 MB / 0.7077 GB, free: 84.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007563/2.233, allocations: 332.6 kB / 0.708 GB, free: 84.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/2.235, allocations: 387.6 kB / 0.7083 GB, free: 84.31 MB / 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.001607/2.236, allocations: 0.5936 MB / 0.7089 GB, free: 84.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009606/2.237, allocations: 402.4 kB / 0.7093 GB, free: 84.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/2.249, allocations: 3.612 MB / 0.7128 GB, free: 83.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.477e-05/2.249, allocations: 26.5 kB / 0.7129 GB, free: 83.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/2.249, allocations: 7.406 kB / 0.7129 GB, free: 83.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/2.249, allocations: 12.84 kB / 0.7129 GB, free: 83.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/2.278, allocations: 9.808 MB / 0.7225 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.333e-05/2.278, allocations: 7.859 kB / 0.7225 GB, free: 81.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003316/2.281, allocations: 352.8 kB / 0.7228 GB, free: 81.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/2.286, allocations: 0.7905 MB / 0.7236 GB, free: 80.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004715/2.287, allocations: 42.47 kB / 0.7236 GB, free: 80.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/2.299, allocations: 5.605 MB / 0.7291 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/2.299, allocations: 14.19 kB / 0.7291 GB, free: 77.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/2.315, allocations: 6.945 MB / 0.7359 GB, free: 74.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/2.317, allocations: 450 kB / 0.7363 GB, free: 73.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/2.318, allocations: 48.05 kB / 0.7364 GB, free: 73.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/2.322, allocations: 97.02 kB / 0.7365 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006714/2.322, allocations: 142.9 kB / 0.7366 GB, free: 73.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/2.322, allocations: 74.48 kB / 0.7367 GB, free: 73.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006882/2.329, allocations: 2.719 MB / 0.7393 GB, free: 72.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.329, allocations: 0 / 0.7393 GB, free: 72.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008469/2.338, allocations: 1.179 MB / 0.7405 GB, free: 72.73 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.01739/2.355, allocations: 8.911 MB / 0.7492 GB, free: 67.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01215/2.368, allocations: 5.116 MB / 0.7542 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.368, allocations: 3.688 kB / 0.7542 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00415/2.372, allocations: 1.744 MB / 0.7559 GB, free: 64.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/2.376, allocations: 0.5091 MB / 0.7564 GB, free: 64.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/2.412, allocations: 10.67 MB / 0.7668 GB, free: 59.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008841/2.421, allocations: 3.983 MB / 0.7707 GB, free: 56.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009447/2.431, allocations: 1.939 MB / 0.7726 GB, free: 55.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005411/2.436, allocations: 2.308 MB / 0.7748 GB, free: 53.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.854e-06/2.436, allocations: 0 / 0.7748 GB, free: 53.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5469/2.983, allocations: 90.07 MB / 0.8628 GB, free: 84.03 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/2.983, allocations: 183.5 kB / 0.863 GB, free: 83.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.822/8.805, allocations: 0 / 0.863 GB, free: 83.8 MB / 458.7 MB