Notification: Performance of loadModel(Modelica): time 0.9874/0.9874, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.984e-05, allocations: 0 / 145.9 MB, free: 4.047 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 25.16 MB / 171.1 MB, free: 1.871 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08777/0.2271, allocations: 50.74 MB / 221.8 MB, free: 2.805 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.2274, allocations: 67.97 kB / 221.9 MB, free: 2.738 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.455/1.683, allocations: 261.4 MB / 483.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0007757/1.683, allocations: 181.3 kB / 483.4 MB, free: 13.04 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: 2972 * Number of variables: 2972 Notification: Performance of Generate backend data structure: time 0.08582/1.769, allocations: 12.86 MB / 496.3 MB, free: 9.422 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.769, allocations: 7.781 kB / 496.3 MB, free: 9.422 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4068/2.176, allocations: 42.38 MB / 0.5261 GB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1812/2.358, allocations: 15.48 MB / 0.5412 GB, free: 26.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/2.358, allocations: 291.4 kB / 0.5415 GB, free: 26.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007702/2.366, allocations: 0.4976 MB / 0.5419 GB, free: 26.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05078/2.417, allocations: 20.95 MB / 0.5624 GB, free: 23.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06972/2.487, allocations: 24.51 MB / 0.5863 GB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007674/2.487, allocations: 80.02 kB / 0.5864 GB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006462/2.494, allocations: 33.44 kB / 0.5864 GB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1014/2.595, allocations: 11.77 MB / 0.5979 GB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.421/4.017, allocations: 169.5 MB / 0.7635 GB, free: 26.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/4.032, allocations: 8.552 MB / 0.7718 GB, free: 24.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/4.044, allocations: 6.067 MB / 0.7777 GB, free: 24.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/4.047, allocations: 1.365 MB / 0.7791 GB, free: 23.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/4.047, allocations: 90.91 kB / 0.7792 GB, free: 23.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=449): time 1.558e-05/4.047, allocations: 0 / 0.7792 GB, free: 23.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=559): time 0.2704/4.317, allocations: 67.91 MB / 0.8455 GB, free: 10.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/4.318, allocations: 0.5339 MB / 0.846 GB, free: 9.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01996/4.338, allocations: 6.685 MB / 0.8525 GB, free: 3.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001975/4.34, allocations: 29.7 kB / 0.8525 GB, free: 3.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1395/4.479, allocations: 6.269 MB / 0.8587 GB, free: 80.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003757/4.483, allocations: 1.982 MB / 0.8606 GB, free: 79.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002934/4.486, allocations: 5.531 kB / 0.8606 GB, free: 79.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00107/4.487, allocations: 0.8481 MB / 0.8614 GB, free: 79.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01546/4.503, allocations: 6.921 MB / 0.8682 GB, free: 79.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02077/4.523, allocations: 13.54 MB / 0.8814 GB, free: 70.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/4.543, allocations: 8.786 MB / 0.89 GB, free: 70.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002931/4.543, allocations: 69.91 kB / 0.8901 GB, free: 70.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.1411/4.684, allocations: 36.05 MB / 0.9253 GB, free: 63.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000265/4.685, allocations: 105 kB / 0.9254 GB, free: 63.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09408/4.779, allocations: 22.98 MB / 0.9478 GB, free: 49.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08772/4.866, allocations: 16.59 MB / 0.964 GB, free: 33.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02238/4.889, allocations: 3.096 MB / 0.967 GB, free: 29.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2202/5.109, allocations: 31.62 MB / 0.9979 GB, free: 64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03323/5.142, allocations: 2.215 MB / 1 GB, free: 64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004556/5.147, allocations: 0.93 MB / 1.001 GB, free: 63.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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 (1487): * Single equations (assignments): 1456 * Array equations: 25 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.007087/5.154, allocations: 0.6987 MB / 1.002 GB, free: 63.77 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04372/5.198, allocations: 13.99 MB / 1.015 GB, free: 59.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004178/5.202, allocations: 0.735 MB / 1.016 GB, free: 59.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04232/5.244, allocations: 12.53 MB / 1.028 GB, free: 55.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.062/5.306, allocations: 13.91 MB / 1.042 GB, free: 51.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001195/5.307, allocations: 19.94 kB / 1.042 GB, free: 51.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002126/5.307, allocations: 27.84 kB / 1.042 GB, free: 51.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.321/5.628, allocations: 41.54 MB / 1.082 GB, free: 64.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000106/5.628, allocations: 15.75 kB / 1.082 GB, free: 64.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00967/5.638, allocations: 0.9545 MB / 1.083 GB, free: 64.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02289/5.661, allocations: 3.861 MB / 1.087 GB, free: 64.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001924/5.663, allocations: 149.4 kB / 1.087 GB, free: 64.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/5.705, allocations: 22.39 MB / 1.109 GB, free: 56.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002317/5.707, allocations: 2.861 MB / 1.112 GB, free: 54.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05856/5.766, allocations: 25.26 MB / 1.137 GB, free: 44.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008029/5.774, allocations: 2.028 MB / 1.139 GB, free: 43.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004585/5.779, allocations: 57.94 kB / 1.139 GB, free: 43.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0238/5.802, allocations: 1.69 MB / 1.14 GB, free: 43.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00187/5.804, allocations: 311.3 kB / 1.141 GB, free: 43.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00177/5.806, allocations: 329.9 kB / 1.141 GB, free: 43.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01307/5.819, allocations: 4.584 MB / 1.145 GB, free: 42.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.335e-06/5.819, allocations: 0 / 1.145 GB, free: 42.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.02517/5.844, allocations: 2.444 MB / 1.148 GB, free: 42.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 16 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],rotor1D.rotorWith3DEffects.w,$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 410 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 35,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06294/5.907, allocations: 28.29 MB / 1.175 GB, free: 25.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.06019/5.968, allocations: 18.6 MB / 1.194 GB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/5.968, allocations: 4 kB / 1.194 GB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1843/6.152, allocations: 8.948 MB / 1.202 GB, free: 68.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/6.162, allocations: 0.8817 MB / 1.203 GB, free: 68.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1225/6.285, allocations: 24.3 MB / 1.227 GB, free: 64.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01758/6.303, allocations: 6.7 MB / 1.233 GB, free: 63.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.02616/6.329, allocations: 4.627 MB / 1.238 GB, free: 63.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0163/6.345, allocations: 4.958 MB / 1.243 GB, free: 62.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.913e-06/6.345, allocations: 4 kB / 1.243 GB, free: 62.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8238/7.169, allocations: 227.8 MB / 1.465 GB, free: 53.79 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004921/7.174, allocations: 171.1 kB / 1.465 GB, free: 53.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 12.26/19.43, allocations: 0 / 1.465 GB, free: 53.59 MB / 314.7 MB