Notification: Performance of loadModel(Modelica): time 1.045/1.045, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.282e-05, allocations: 7.125 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 25.16 MB / 171.1 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09164/0.2162, allocations: 54.21 MB / 225.3 MB, free: 15.24 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.2165, allocations: 79.95 kB / 225.4 MB, free: 15.16 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.585/1.801, allocations: 267.6 MB / 493 MB, free: 13.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000726/1.802, allocations: 176.9 kB / 493.2 MB, free: 13.72 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3095 * Number of variables: 3095 Notification: Performance of Generate backend data structure: time 0.07785/1.88, allocations: 11.85 MB / 0.4932 GB, free: 10.22 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.88, allocations: 10.06 kB / 0.4932 GB, free: 10.22 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4816/2.362, allocations: 36.64 MB / 0.529 GB, free: 28.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04606/2.408, allocations: 12.3 MB / 0.541 GB, free: 27.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007275/2.409, allocations: 288.9 kB / 0.5413 GB, free: 27.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00858/2.417, allocations: 0.5062 MB / 0.5418 GB, free: 27.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05914/2.476, allocations: 22.99 MB / 0.5642 GB, free: 25.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07731/2.554, allocations: 25.79 MB / 0.5894 GB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008362/2.555, allocations: 68.27 kB / 0.5895 GB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00786/2.563, allocations: 33.75 kB / 0.5895 GB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1172/2.68, allocations: 13.18 MB / 0.6024 GB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.601/4.281, allocations: 180.3 MB / 0.7785 GB, free: 31.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/4.298, allocations: 8.863 MB / 0.7871 GB, free: 30.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/4.31, allocations: 5.958 MB / 0.793 GB, free: 30.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00376/4.314, allocations: 2.298 MB / 0.7952 GB, free: 28.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/4.314, allocations: 96.72 kB / 0.7953 GB, free: 28.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=511): time 1.631e-05/4.314, allocations: 4 kB / 0.7953 GB, free: 28.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=608): time 0.2587/4.573, allocations: 58.88 MB / 0.8528 GB, free: 168 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1351/4.708, allocations: 0.4961 MB / 0.8533 GB, free: 68.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01427/4.722, allocations: 5.724 MB / 0.8589 GB, free: 67.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001945/4.724, allocations: 33.14 kB / 0.8589 GB, free: 67.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00493/4.729, allocations: 5.899 MB / 0.8647 GB, free: 64.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003892/4.733, allocations: 2.096 MB / 0.8667 GB, free: 63.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0031/4.736, allocations: 0 / 0.8667 GB, free: 63.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.001375/4.737, allocations: 0.8502 MB / 0.8675 GB, free: 63.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01481/4.752, allocations: 6.172 MB / 0.8736 GB, free: 63.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01954/4.772, allocations: 12.83 MB / 0.8861 GB, free: 54.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/4.789, allocations: 7.866 MB / 0.8938 GB, free: 53.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002805/4.789, allocations: 68.5 kB / 0.8939 GB, free: 53.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=1684) (initialization): time 0.06143/4.851, allocations: 20.21 MB / 0.9136 GB, free: 47.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/4.851, allocations: 106 kB / 0.9137 GB, free: 47.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006707/4.852, allocations: 381 kB / 0.9141 GB, free: 47.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02239/4.874, allocations: 4.163 MB / 0.9181 GB, free: 46.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02142/4.896, allocations: 2.994 MB / 0.921 GB, free: 46.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03583/4.932, allocations: 15.27 MB / 0.936 GB, free: 35.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0344/4.966, allocations: 2.266 MB / 0.9382 GB, free: 34.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004466/4.971, allocations: 0.9965 MB / 0.9391 GB, free: 33.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1065 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1521): * Single equations (assignments): 1494 * Array equations: 25 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,64.0%) 47} * Non-linear torn systems: 1 {2 43} Notification: Performance of prepare postOptimizeDAE: time 0.006467/4.977, allocations: 0.6955 MB / 0.9398 GB, free: 32.83 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04352/5.021, allocations: 12.94 MB / 0.9525 GB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003875/5.025, allocations: 0.6595 MB / 0.9531 GB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1822/5.207, allocations: 12.31 MB / 0.9651 GB, free: 56.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0667/5.274, allocations: 13.45 MB / 0.9783 GB, free: 56.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.566e-05/5.274, allocations: 11.56 kB / 0.9783 GB, free: 56.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002101/5.274, allocations: 35.8 kB / 0.9783 GB, free: 56.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1836/5.458, allocations: 35.61 MB / 1.013 GB, free: 51.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/5.458, allocations: 13.91 kB / 1.013 GB, free: 51.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008626/5.466, allocations: 0.871 MB / 1.014 GB, free: 51.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02126/5.488, allocations: 3.361 MB / 1.017 GB, free: 51.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001962/5.49, allocations: 139.7 kB / 1.017 GB, free: 51.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0319/5.522, allocations: 12.58 MB / 1.03 GB, free: 45.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.188e-05/5.522, allocations: 24.06 kB / 1.03 GB, free: 45.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05633/5.578, allocations: 22.9 MB / 1.052 GB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007249/5.585, allocations: 1.807 MB / 1.054 GB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003883/5.589, allocations: 27.98 kB / 1.054 GB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02588/5.615, allocations: 1.839 MB / 1.056 GB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/5.617, allocations: 312.8 kB / 1.056 GB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001633/5.619, allocations: 395.8 kB / 1.056 GB, free: 20.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00988/5.629, allocations: 3.837 MB / 1.06 GB, free: 16.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.12e-07/5.629, allocations: 0 / 1.06 GB, free: 16.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.16/5.789, allocations: 2.097 MB / 1.062 GB, free: 57.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (485): * Single equations (assignments): 467 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 43} * Non-linear torn systems: 1 {1 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.06082/5.85, allocations: 26.65 MB / 1.088 GB, free: 49.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.07047/5.92, allocations: 17.2 MB / 1.105 GB, free: 48.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/5.92, allocations: 3.656 kB / 1.105 GB, free: 48.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04889/5.969, allocations: 8.35 MB / 1.113 GB, free: 46.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007992/5.977, allocations: 0.6696 MB / 1.114 GB, free: 46.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07144/6.049, allocations: 20.79 MB / 1.134 GB, free: 35.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01535/6.064, allocations: 6.296 MB / 1.14 GB, free: 31.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.02645/6.09, allocations: 4.481 MB / 1.145 GB, free: 28.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0149/6.105, allocations: 4.762 MB / 1.149 GB, free: 23.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.863e-06/6.105, allocations: 2.516 kB / 1.149 GB, free: 23.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7486/6.854, allocations: 199.7 MB / 1.344 GB, free: 40.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004756/6.859, allocations: 167.8 kB / 1.344 GB, free: 40.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.19/18.05, allocations: 0 / 1.344 GB, free: 40.05 MB / 314.7 MB