Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.713/2.713, allocations: 195 MB / 202.9 MB, free: 6.633 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.849e-05, allocations: 2.406 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5739/0.684, allocations: 101 MB / 395.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.6845, allocations: 85.55 kB / 395.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606/2.29, allocations: 229.3 MB / 0.61 GB, free: 26.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.976e-06/2.29, allocations: 0 / 0.61 GB, free: 26.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008201/2.291, allocations: 239.8 kB / 0.6102 GB, free: 26.35 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.06571/2.357, allocations: 12.29 MB / 0.6222 GB, free: 13.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/2.357, allocations: 8.031 kB / 0.6222 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01049/2.367, allocations: 1.517 MB / 0.6237 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0431/2.411, allocations: 3.986 MB / 0.6276 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05838/2.469, allocations: 12.18 MB / 0.6395 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/2.47, allocations: 0.4962 MB / 0.64 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008283/2.479, allocations: 0.6949 MB / 0.6407 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.856/3.335, allocations: 21.49 MB / 0.6617 GB, free: 46.46 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08669/3.421, allocations: 26.42 MB / 0.6875 GB, free: 41.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007988/3.422, allocations: 99.98 kB / 0.6876 GB, free: 41.73 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006892/3.429, allocations: 51.59 kB / 0.6876 GB, free: 41.73 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007601/3.437, allocations: 2.584 MB / 0.6901 GB, free: 41.71 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2868/3.724, allocations: 116.8 MB / 0.8042 GB, free: 0.875 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02941/3.753, allocations: 10.5 MB / 0.8145 GB, free: 7.082 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4487/4.202, allocations: 8.644 MB / 0.8229 GB, free: 93.63 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09193/4.294, allocations: 30.89 MB / 0.8531 GB, free: 85.66 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/4.294, allocations: 89.44 kB / 0.8532 GB, free: 85.61 MB / 458.8 MB Notification: Performance of pre-optimization done (n=483): time 1.273e-05/4.294, allocations: 0 / 0.8532 GB, free: 85.61 MB / 458.8 MB Notification: Performance of matching and sorting (n=708): time 0.6766/4.971, allocations: 114.7 MB / 0.9651 GB, free: 33.74 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/4.971, allocations: 201.6 kB / 0.9653 GB, free: 33.51 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01863/4.99, allocations: 6.08 MB / 0.9713 GB, free: 28.2 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003298/4.993, allocations: 25.7 kB / 0.9713 GB, free: 28.16 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007841/5.001, allocations: 7.206 MB / 0.9783 GB, free: 21.67 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006241/5.007, allocations: 2.457 MB / 0.9807 GB, free: 19.57 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004388/5.012, allocations: 3 kB / 0.9807 GB, free: 19.57 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.4297/5.441, allocations: 0.9119 MB / 0.9816 GB, free: 90.32 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03248/5.474, allocations: 9.702 MB / 0.9911 GB, free: 90.29 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03606/5.51, allocations: 16.53 MB / 1.007 GB, free: 81.64 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04358/5.554, allocations: 12.91 MB / 1.02 GB, free: 81.54 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004337/5.554, allocations: 70.31 kB / 1.02 GB, free: 81.54 MB / 458.8 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.1203/5.675, allocations: 25.81 MB / 1.045 GB, free: 75.48 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004632/5.675, allocations: 111.9 kB / 1.045 GB, free: 75.48 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007098/5.676, allocations: 238 kB / 1.045 GB, free: 75.48 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009152/5.677, allocations: 364.7 kB / 1.046 GB, free: 75.48 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05323/5.73, allocations: 4.296 MB / 1.05 GB, free: 75.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006422/5.731, allocations: 480.3 kB / 1.05 GB, free: 74.99 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02683/5.758, allocations: 0.9588 MB / 1.051 GB, free: 74.99 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005166/5.763, allocations: 0.7616 MB / 1.052 GB, free: 74.88 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1857): * Single equations (assignments): 1851 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008677/5.772, allocations: 0.7677 MB / 1.053 GB, free: 74.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004325/5.776, allocations: 0.7502 MB / 1.054 GB, free: 74.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05646/5.832, allocations: 18.52 MB / 1.072 GB, free: 66.11 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001254/5.833, allocations: 68.66 kB / 1.072 GB, free: 66.11 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/5.833, allocations: 0 / 1.072 GB, free: 66.11 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002264/5.833, allocations: 37.52 kB / 1.072 GB, free: 66.11 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1188/5.952, allocations: 38.46 MB / 1.109 GB, free: 37.06 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/5.952, allocations: 0 / 1.109 GB, free: 37.06 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03212/5.984, allocations: 2.126 MB / 1.111 GB, free: 35.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/5.984, allocations: 30.88 kB / 1.111 GB, free: 35.56 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002728/5.987, allocations: 15.52 kB / 1.111 GB, free: 35.55 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.973e-05/5.987, allocations: 24 kB / 1.112 GB, free: 35.53 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/5.987, allocations: 4 kB / 1.112 GB, free: 35.53 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5892/6.576, allocations: 32.76 MB / 1.144 GB, free: 75.78 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01314/6.589, allocations: 2.63 MB / 1.146 GB, free: 75.69 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005166/6.595, allocations: 5.375 kB / 1.146 GB, free: 75.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01931/6.614, allocations: 0.6497 MB / 1.147 GB, free: 75.69 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004359/6.618, allocations: 370.7 kB / 1.147 GB, free: 75.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004182/6.623, allocations: 170.9 kB / 1.147 GB, free: 75.68 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.02176/6.645, allocations: 4.044 MB / 1.151 GB, free: 75.46 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.623e-06/6.645, allocations: 0.875 kB / 1.151 GB, free: 75.46 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.03709/6.682, allocations: 2.753 MB / 1.154 GB, free: 75.46 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (692): * Single equations (assignments): 689 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1033/6.785, allocations: 32.89 MB / 1.186 GB, free: 73.87 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.06005/6.845, allocations: 22.06 MB / 1.208 GB, free: 65.93 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/6.845, allocations: 3.594 kB / 1.208 GB, free: 65.93 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02589/6.871, allocations: 9.518 MB / 1.217 GB, free: 61.68 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/6.881, allocations: 0.633 MB / 1.217 GB, free: 61.41 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/7.015, allocations: 31.58 MB / 1.248 GB, free: 47.38 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02544/7.04, allocations: 8.231 MB / 1.256 GB, free: 41.39 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.03673/7.077, allocations: 5.148 MB / 1.261 GB, free: 38.15 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02562/7.103, allocations: 5.567 MB / 1.267 GB, free: 32.97 MB / 458.8 MB Notification: Performance of SimCode: time 2.064e-06/7.103, allocations: 0 / 1.267 GB, free: 32.97 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.543/8.647, allocations: 212.2 MB / 1.474 GB, free: 48.2 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003772/8.647, allocations: 163.2 kB / 1.474 GB, free: 48.01 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 13.39/22.04, allocations: 1.5 kB / 1.474 GB, free: 48.01 MB / 490.8 MB