Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.43e-05, allocations: 0 / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2957, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.4634, allocations: 91.96 MB / 355.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.4638, allocations: 83.94 kB / 355.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6773/1.141, allocations: 110.4 MB / 466.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.141, allocations: 0 / 466.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003718/1.142, allocations: 104 kB / 466.4 MB, free: 7.547 MB / 314.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.01977/1.161, allocations: 4.921 MB / 471.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.161, allocations: 8.031 kB / 471.3 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004788/1.166, allocations: 1.032 MB / 472.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05298/1.219, allocations: 6.908 MB / 479.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02799/1.247, allocations: 6.749 MB / 486 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007755/1.248, allocations: 390.3 kB / 486.4 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003073/1.251, allocations: 0.5153 MB / 486.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07513/1.326, allocations: 12.55 MB / 499.5 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004617/1.327, allocations: 67.47 kB / 499.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006369/1.333, allocations: 235.9 kB / 499.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00801/1.341, allocations: 1.044 MB / 0.4891 GB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3123/1.654, allocations: 10.39 MB / 0.4992 GB, free: 58.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07792/1.732, allocations: 50.1 MB / 0.5481 GB, free: 29.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.753, allocations: 4.77 MB / 0.5528 GB, free: 28.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003667/1.757, allocations: 1.885 MB / 0.5546 GB, free: 27.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/1.773, allocations: 7.055 MB / 0.5615 GB, free: 23.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/1.773, allocations: 56.34 kB / 0.5616 GB, free: 23.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 5.47e-06/1.773, allocations: 3.281 kB / 0.5616 GB, free: 23.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=224): time 0.1008/1.874, allocations: 17.09 MB / 0.5783 GB, free: 18.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/1.874, allocations: 204.7 kB / 0.5785 GB, free: 18.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009476/1.883, allocations: 3.875 MB / 0.5823 GB, free: 16.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000505/1.884, allocations: 59.34 kB / 0.5823 GB, free: 16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003143/1.887, allocations: 3.565 MB / 0.5858 GB, free: 12.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.888, allocations: 0.8431 MB / 0.5866 GB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/1.889, allocations: 127.1 kB / 0.5867 GB, free: 11.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005018/1.89, allocations: 0.5712 MB / 0.5873 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005432/1.895, allocations: 2.112 MB / 0.5894 GB, free: 9.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/1.903, allocations: 5.839 MB / 0.5951 GB, free: 2.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008827/1.912, allocations: 3.535 MB / 0.5985 GB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/1.912, allocations: 43.94 kB / 0.5986 GB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02944/1.942, allocations: 8.659 MB / 0.607 GB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.942, allocations: 60 kB / 0.6071 GB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002576/1.942, allocations: 132 kB / 0.6072 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/1.948, allocations: 1.037 MB / 0.6082 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/1.958, allocations: 1.413 MB / 0.6096 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/1.977, allocations: 6.99 MB / 0.6164 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/1.985, allocations: 337.1 kB / 0.6167 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.986, allocations: 380.3 kB / 0.6171 GB, free: 15.19 MB / 378.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.001637/1.988, allocations: 0.6008 MB / 0.6177 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.989, allocations: 410.7 kB / 0.6181 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/2.002, allocations: 3.606 MB / 0.6216 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/2.003, allocations: 24 kB / 0.6216 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/2.003, allocations: 8 kB / 0.6216 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/2.003, allocations: 9.984 kB / 0.6216 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03293/2.036, allocations: 9.827 MB / 0.6312 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/2.036, allocations: 11.98 kB / 0.6313 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/2.039, allocations: 348.2 kB / 0.6316 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005367/2.045, allocations: 0.8003 MB / 0.6324 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004916/2.045, allocations: 40 kB / 0.6324 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2827/2.328, allocations: 5.574 MB / 0.6379 GB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/2.328, allocations: 15.23 kB / 0.6379 GB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03865/2.367, allocations: 6.935 MB / 0.6446 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/2.37, allocations: 0.7089 MB / 0.6453 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/2.371, allocations: 53.3 kB / 0.6454 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0171/2.389, allocations: 98.8 kB / 0.6455 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009455/2.39, allocations: 144.3 kB / 0.6456 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/2.39, allocations: 69.48 kB / 0.6457 GB, free: 80.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01423/2.404, allocations: 2.717 MB / 0.6483 GB, free: 80.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.404, allocations: 0 / 0.6483 GB, free: 80.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008209/2.412, allocations: 1.172 MB / 0.6495 GB, free: 80.54 MB / 378.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.01814/2.431, allocations: 8.895 MB / 0.6582 GB, free: 77.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/2.443, allocations: 5.309 MB / 0.6633 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.443, allocations: 0 / 0.6633 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004075/2.447, allocations: 1.756 MB / 0.6651 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/2.451, allocations: 0.5179 MB / 0.6656 GB, free: 77.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/2.487, allocations: 10.68 MB / 0.676 GB, free: 74.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008557/2.495, allocations: 3.973 MB / 0.6799 GB, free: 73.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009106/2.504, allocations: 1.943 MB / 0.6818 GB, free: 73.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005376/2.51, allocations: 2.313 MB / 0.684 GB, free: 71.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/2.51, allocations: 0 / 0.684 GB, free: 71.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5608/3.071, allocations: 90.37 MB / 0.7723 GB, free: 56.26 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/3.071, allocations: 188.6 kB / 0.7725 GB, free: 56.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.023/9.094, allocations: 3.625 kB / 0.7725 GB, free: 56.04 MB / 378.7 MB