Notification: Performance of loadModel(Modelica): time 0.9987/0.9987, allocations: 111.2 MB / 118.4 MB, free: 15.6 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.237e-05, allocations: 3.125 kB / 145.9 MB, free: 4.066 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 25.16 MB / 171.1 MB, free: 1.758 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08888/0.2407, allocations: 50.29 MB / 221.4 MB, free: 3.211 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.241, allocations: 75.89 kB / 221.4 MB, free: 3.137 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.061/1.302, allocations: 193.1 MB / 414.5 MB, free: 26 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0005535/1.302, allocations: 135.1 kB / 414.7 MB, free: 26 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: 2379 * Number of variables: 2379 Notification: Performance of Generate backend data structure: time 0.04767/1.35, allocations: 8.713 MB / 423.4 MB, free: 19.96 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.35, allocations: 12.03 kB / 423.4 MB, free: 19.95 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3762/1.726, allocations: 27.55 MB / 450.9 MB, free: 24.15 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03351/1.76, allocations: 8.689 MB / 459.6 MB, free: 23.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006352/1.761, allocations: 232 kB / 459.9 MB, free: 23.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006553/1.767, allocations: 405.4 kB / 460.3 MB, free: 23.77 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04378/1.811, allocations: 16.83 MB / 477.1 MB, free: 22.88 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06138/1.873, allocations: 19.33 MB / 496.4 MB, free: 15.17 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007201/1.873, allocations: 51.95 kB / 496.5 MB, free: 15.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006126/1.879, allocations: 23.97 kB / 496.5 MB, free: 15.16 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08327/1.963, allocations: 9.448 MB / 0.4941 GB, free: 10.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.142/3.105, allocations: 132.5 MB / 0.6235 GB, free: 45.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/3.115, allocations: 5.694 MB / 0.6291 GB, free: 44.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007568/3.123, allocations: 3.939 MB / 0.6329 GB, free: 44.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/3.124, allocations: 363.9 kB / 0.6333 GB, free: 44.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/3.124, allocations: 77.16 kB / 0.6333 GB, free: 44.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=340): time 1.035e-05/3.124, allocations: 0 / 0.6333 GB, free: 44.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=375): time 0.1091/3.233, allocations: 36.51 MB / 0.669 GB, free: 31.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/3.233, allocations: 451 kB / 0.6694 GB, free: 31.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/3.243, allocations: 4.382 MB / 0.6737 GB, free: 29.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001342/3.245, allocations: 27.8 kB / 0.6737 GB, free: 29.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003809/3.249, allocations: 4.555 MB / 0.6782 GB, free: 26.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002484/3.251, allocations: 1.315 MB / 0.6795 GB, free: 25.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/3.253, allocations: 0 / 0.6795 GB, free: 25.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0007641/3.254, allocations: 0.6889 MB / 0.6801 GB, free: 24.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009555/3.263, allocations: 4.166 MB / 0.6842 GB, free: 23.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/3.277, allocations: 9.116 MB / 0.6931 GB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/3.29, allocations: 5.29 MB / 0.6983 GB, free: 13.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002253/3.291, allocations: 54.08 kB / 0.6983 GB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03581/3.327, allocations: 12.51 MB / 0.7105 GB, free: 2.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/3.327, allocations: 83.33 kB / 0.7106 GB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005343/3.327, allocations: 293.4 kB / 0.7109 GB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/3.332, allocations: 1.002 MB / 0.7119 GB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01644/3.348, allocations: 2.268 MB / 0.7141 GB, free: 0 / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1349/3.483, allocations: 7.372 MB / 0.7213 GB, free: 52.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02602/3.509, allocations: 1.967 MB / 0.7232 GB, free: 52.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003124/3.513, allocations: 0.744 MB / 0.7239 GB, free: 52.17 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: gearConstraint.actuatedRevolute_b.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real gearConstraint.actuatedRevolute_b.phi:VARIABLE(start = 0.0 unit = "rad" stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 800 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1084): * Single equations (assignments): 1065 * Array equations: 17 * 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: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004534/3.517, allocations: 0.5459 MB / 0.7245 GB, free: 51.96 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01832/3.535, allocations: 6.891 MB / 0.7312 GB, free: 51.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002614/3.538, allocations: 478.1 kB / 0.7317 GB, free: 51.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/3.552, allocations: 4.951 MB / 0.7365 GB, free: 51.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04168/3.594, allocations: 7.407 MB / 0.7437 GB, free: 51.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.828e-05/3.594, allocations: 12.12 kB / 0.7437 GB, free: 51.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001345/3.594, allocations: 19.61 kB / 0.7437 GB, free: 51.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1404/3.734, allocations: 24.81 MB / 0.768 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.319e-05/3.734, allocations: 9.188 kB / 0.768 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005715/3.74, allocations: 0.5721 MB / 0.7685 GB, free: 47.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/3.744, allocations: 0.6717 MB / 0.7692 GB, free: 47.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/3.745, allocations: 123.1 kB / 0.7693 GB, free: 47.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/3.756, allocations: 6.141 MB / 0.7753 GB, free: 43.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/3.756, allocations: 16.77 kB / 0.7753 GB, free: 43.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0308/3.787, allocations: 13.37 MB / 0.7884 GB, free: 36.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005096/3.792, allocations: 1.324 MB / 0.7897 GB, free: 35.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002834/3.795, allocations: 15.47 kB / 0.7897 GB, free: 35.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0211/3.816, allocations: 1.697 MB / 0.7914 GB, free: 34.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/3.818, allocations: 195 kB / 0.7915 GB, free: 34.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001416/3.819, allocations: 316.3 kB / 0.7918 GB, free: 34.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.007762/3.827, allocations: 2.959 MB / 0.7947 GB, free: 31.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.102e-06/3.827, allocations: 0 / 0.7947 GB, free: 31.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01395/3.841, allocations: 1.429 MB / 0.7961 GB, free: 30.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 285 * Array equations: 15 * 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: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03151/3.873, allocations: 16.08 MB / 0.8118 GB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1877/4.06, allocations: 12.39 MB / 0.8239 GB, free: 58.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/4.06, allocations: 0 / 0.8239 GB, free: 58.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04831/4.109, allocations: 6.517 MB / 0.8303 GB, free: 57.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007316/4.116, allocations: 490.9 kB / 0.8308 GB, free: 57.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06468/4.181, allocations: 15.2 MB / 0.8456 GB, free: 55.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/4.194, allocations: 5.034 MB / 0.8505 GB, free: 54.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.02026/4.214, allocations: 3.435 MB / 0.8539 GB, free: 54.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01248/4.227, allocations: 3.529 MB / 0.8573 GB, free: 53.98 MB / 282.7 MB Notification: Performance of SimCode: time 2.776e-06/4.227, allocations: 0 / 0.8573 GB, free: 53.98 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4669/4.694, allocations: 138.4 MB / 0.9924 GB, free: 25.42 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004881/4.699, allocations: 163.4 kB / 0.9926 GB, free: 25.23 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.739/13.44, allocations: 4.031 kB / 0.9926 GB, free: 25.22 MB / 282.7 MB